Merge branch 'master' into develop
This commit is contained in:
commit
1a7b596abc
2 changed files with 8 additions and 3 deletions
|
|
@ -90,7 +90,7 @@ def display_meter(cur_value, max_value,
|
||||||
|
|
||||||
# Pick which fill color to use based on how full the bar is
|
# Pick which fill color to use based on how full the bar is
|
||||||
fillcolor_index = (float(len(fill_color)) * percent_full)
|
fillcolor_index = (float(len(fill_color)) * percent_full)
|
||||||
fillcolor_index = int(round(fillcolor_index)) - 1
|
fillcolor_index = max(0, int(round(fillcolor_index)) - 1)
|
||||||
fillcolor_code = "|[" + fill_color[fillcolor_index]
|
fillcolor_code = "|[" + fill_color[fillcolor_index]
|
||||||
|
|
||||||
# Make color codes for empty bar portion and text_color
|
# Make color codes for empty bar portion and text_color
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ start
|
||||||
#
|
#
|
||||||
# This room inherits from a Typeclass called WeatherRoom. It regularly
|
# This room inherits from a Typeclass called WeatherRoom. It regularly
|
||||||
# and randomly shows some weather effects. Note how we can spread the
|
# 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
|
# also make sure to create plenty of aliases for the room and
|
||||||
# exits. Note the alias tut#02: this unique identifier can be used
|
# 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
|
# later in the script to always find the way back to this room (for
|
||||||
|
|
@ -441,6 +441,11 @@ north
|
||||||
#
|
#
|
||||||
@lock barrel = get:false()
|
@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
|
# This id makes sure that we cannot pick more than one weapon from this rack
|
||||||
#
|
#
|
||||||
@set barrel/rack_id = "rack_barrel"
|
@set barrel/rack_id = "rack_barrel"
|
||||||
|
|
@ -836,7 +841,7 @@ archway
|
||||||
#
|
#
|
||||||
# Set its home to this location
|
# Set its home to this location
|
||||||
#
|
#
|
||||||
@home ghost = tut#11
|
@sethome ghost = tut#11
|
||||||
#
|
#
|
||||||
@lock ghost = get:false()
|
@lock ghost = get:false()
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue