Merge pull request #1784 from jaggiJ/barrel-er

Trying to pickup 'locked barrel', player now receives hint to 'get we…
This commit is contained in:
Griatch 2019-02-23 17:24:05 +01:00 committed by GitHub
commit 563fb5e5f4

View file

@ -177,7 +177,7 @@ start
#
# This room inherits from a Typeclass called WeatherRoom. It regularly
# and randomly shows some weather effects. Note how we can spread the
# command's arguments over more than one line for easy reading. we
# command's arguments over more than one line for easy reading. We
# also make sure to create plenty of aliases for the room and
# exits. Note the alias tut#02: this unique identifier can be used
# later in the script to always find the way back to this room (for
@ -441,6 +441,11 @@ north
#
@lock barrel = get:false()
#
# Players trying to pickup barrel will receive hint to 'get weapon' instead
#
@set barrel/get_err_msg =
The barkeep shakes his head. He says: 'Get weapon, not the barrel.'
#
# This id makes sure that we cannot pick more than one weapon from this rack
#
@set barrel/rack_id = "rack_barrel"