httt story enhancements, added rumble.ogg to sounds and {TREMOR} to utils

This commit is contained in:
Scott Klempner 2006-02-03 13:45:44 +00:00
parent 99acacfa60
commit ed64d8e2d9
3 changed files with 54 additions and 4 deletions

View file

@ -329,12 +329,12 @@
[/message]
[message]
speaker=narrator
message= _ "You receive 200 pieces of gold!"
message= _ "You receive 300 pieces of gold!"
[/message]
[gold]
side=1
amount=200
amount=3 00
[/gold]
[message]

View file

@ -14,14 +14,18 @@ scenario_generation=cave
[/story]
#enddef
#
# If you think this is laying it on a bit thick, I'm open to suggestions
# for better wording or something less melodramatic.
#
[story]
[part]
story= _ "Across the chasm, the air almost crackled with magical energy. It also became steadily warmer. The floor was smooth and glassy in places, and a faint glow provided a small reprieve from the thick blackness."
story= _ "Across the chasm, the air almost crackled with magical energy. It also became steadily warmer. The floor was smooth and glassy in places, and a faint glow provided a small reprieve from the thick blackness. Volcanic fumes drifted up from cracks in the floor."
#background="maps/wesnoth.png"
show_title=no
[/part]
[part]
story= _ "Distant rumbles and earthquakes made it difficult to keep steady footing. The earth was heaving... expectant... ready..."
story= _ "Distant rumbles and earthquakes made it difficult to keep steady footing. The very earth had come alive, heaving, and ready to be relieved of its century-old burden..."
#background="maps/wesnoth.png"
show_title=no
[/part]
@ -170,6 +174,30 @@ r~~rr~~~~~~]]]]]]]]]~~~~r~~~r~
[/message]
[/event]
#
# Some volcanic ambiance
#
[event]
name=moveto
first_time_only=no
[allow_undo]
[/allow_undo]
[filter]
side=1
[/filter]
{VARIABLE_OP rumble_test random 1..34}
[if]
[variable]
name=rumble_test
numerical_equals=1
[/variable]
[then]
{TREMOR}
[/then]
[/if]
{CLEAR_VARIABLE rumble_test}
[/event]
{campaigns/Heir_To_The_Throne/utils/deaths.cfg}
[/settings]

View file

@ -211,6 +211,28 @@ name=prestart
[/item]
#enddef
#define TREMOR
[sound]
name="rumble.ogg"
[/sound]
[scroll]
x=5
y=0
[/scroll]
[scroll]
x=-10
y=0
[/scroll]
[scroll]
x=0
y=5
[/scroll]
[scroll]
x=0
y=-10
[/scroll]
#enddef
#macro to easily replace image_defensive and image_defensive_range