DiD S11: updated gameplay

This commit is contained in:
nemaara 2019-02-12 12:21:20 -05:00
parent bbbefadaa2
commit 62509def4e

View file

@ -1592,16 +1592,12 @@
x,y=0-30,0-36
[/place_shroud]
{PLACE_IMAGE scenery/signpost.png 13 27}
{PLACE_IMAGE items/altar-evil.png 6 15}
{PLACE_IMAGE items/potion-clear.png 15 22}
{PLACE_IMAGE items/stone-tablet.png 16 17}
{PLACE_IMAGE items/potion-clear.png 28 33}
{PLACE_IMAGE items/ball-blue.png 22 30}
{PLACE_IMAGE items/ball-magenta.png 28 30}
{PLACE_IMAGE items/ball-green.png 25 35}
{PLACE_IMAGE items/stone-tablet.png 24 29}
{PLACE_IMAGE items/coffin-closed.png 3 2}
{PLACE_IMAGE items/bones.png 1 3}
{PLACE_IMAGE items/key.png 2 1}
@ -1888,8 +1884,6 @@
{VARIABLE scenario_stage 2}
{VARIABLE puzzle_coffin 0}
{VARIABLE puzzle_potion 0}
{VARIABLE puzzle_tree 0}
{VARIABLE puzzle_tree_potion_cup 0}
[objectives]
side=1
@ -1909,6 +1903,43 @@
[/objectives]
[/event]
# text at lair entrance
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=13,27
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[/filter_condition]
[message]
speaker=narrator
# wmllint: local spelling Zephryn
message= _ "<s><i>Welcome to Zephryns laboratory. Please be mindful of ongoing experiments during your visit.</i></s>
<big><i><b>This territory is the domain of the mighty Xanthric. All unwelcome intruders shall die.</b></i></big>"
image=wesnoth-icon.png
[/message]
[fire_event]
name=lair text
[/fire_event]
[/event]
[event]
name=lair text
[message]
speaker=Mal Keshar
message= _ "That mages name is suspiciously... familiar."
[/message]
[/event]
# small flavor events
[event]
name=attack
@ -2066,25 +2097,6 @@
[/remove_event]
[/event]
# For convenience, you don't have to keep ending your turn
[event]
name=moveto
first_time_only=no
[filter]
side=1
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[/filter_condition]
{MODIFY_UNIT (x,y=$x1,$y1) moves 999}
{MODIFY_UNIT (x,y=$x1,$y1) vision 6}
{MODIFY_UNIT (x,y=$x1,$y1) attacks_left 1}
[/event]
# treasure boxes
[event]
name=moveto
@ -2210,798 +2222,6 @@
[/gold]
[/event]
# tree puzzle
# Orbs:
# Red: Lava
# Blue: Water
# Green: Swamp
# Red+Blue: Rock
# Red+Green: Flowers
# Red+Green+Blue: reset
# Green+Blue: Dirt (quagmire)
# Solution: set the orbs to make a rock, pick up the rock and move adjacent to the lit hex to place it there
# then, pick up the clear flask and make some dirt (quagmire, green+blue), then bottle it and put it on the lit hex
# make some flowers, then directly pick them up and put them on the lit hex
# finally, you just need to make some water and use the flask to bottle it, then water the flowers into a tree
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=28,30
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[/filter_condition]
[if]
[have_location]
x,y=25,32
terrain=Urb
[/have_location]
[then]
[sound]
name=flame-big.ogg
[/sound]
[terrain]
x,y=25,32
terrain=Qlf
[/terrain]
[redraw][/redraw]
[/then]
[elseif]
[have_location]
x,y=25,32
terrain=Ww
[/have_location]
[then]
[sound]
name=mace.wav
[/sound]
[terrain]
x,y=25,32
terrain=Rb^Dr
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[elseif]
[have_location]
x,y=25,32
terrain=Ss
[/have_location]
[then]
[sound]
name=magic-thorns-1.ogg
[/sound]
[terrain]
x,y=25,32
terrain=Gll^Efm
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[elseif]
[have_location]
x,y=25,32
terrain=Sm
[/have_location]
[then]
[sound]
name=magic-missile-1-miss.ogg
[/sound]
[terrain]
x,y=25,32
terrain=Urb
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[else]
[sound]
name=magic-dark-miss.ogg
[/sound]
[/else]
[/if]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=25,35
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[/filter_condition]
[if]
[have_location]
x,y=25,32
terrain=Urb
[/have_location]
[then]
[sound]
name=magic-faeriefire.ogg
[/sound]
[terrain]
x,y=25,32
terrain=Ss
[/terrain]
[redraw][/redraw]
[/then]
[elseif]
[have_location]
x,y=25,32
terrain=Ww
[/have_location]
[then]
[sound]
name=magic-faeriefire.ogg
[/sound]
[terrain]
x,y=25,32
terrain=Sm
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[elseif]
[have_location]
x,y=25,32
terrain=Qlf
[/have_location]
[then]
[sound]
name=magic-thorns-1.ogg
[/sound]
[terrain]
x,y=25,32
terrain=Gll^Efm
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[elseif]
[have_location]
x,y=25,32
terrain=Rb^Dr
[/have_location]
[then]
[sound]
name=magic-missile-1-miss.ogg
[/sound]
[terrain]
x,y=25,32
terrain=Urb
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[else]
[sound]
name=magic-dark-miss.ogg
[/sound]
[/else]
[/if]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=22,30
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[/filter_condition]
[if]
[have_location]
x,y=25,32
terrain=Urb
[/have_location]
[then]
[sound]
name=water-blast.wav
[/sound]
[terrain]
x,y=25,32
terrain=Ww
[/terrain]
[redraw][/redraw]
[/then]
[elseif]
[have_location]
x,y=25,32
terrain=Ss
[/have_location]
[then]
[sound]
name=water-blast.wav
[/sound]
[terrain]
x,y=25,32
terrain=Sm
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[elseif]
[have_location]
x,y=25,32
terrain=Qlf
[/have_location]
[then]
[sound]
name=mace.wav
[/sound]
[terrain]
x,y=25,32
terrain=Rb^Dr
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[elseif]
[have_location]
x,y=25,32
terrain=Gll^Efm
[/have_location]
[then]
[sound]
name=magic-missile-1-miss.ogg
[/sound]
[terrain]
x,y=25,32
terrain=Urb
[/terrain]
[redraw][/redraw]
[/then]
[/elseif]
[else]
[sound]
name=magic-dark-miss.ogg
[/sound]
[/else]
[/if]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=27,29
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[/filter_condition]
[if]
[variable]
name=puzzle_tree
numerical_equals=4
[/variable]
[then]
[sound]
name=entangle.ogg
[/sound]
[message]
speaker=narrator
message= _ "You placed some soil on the rock."
image=wesnoth-icon.png
[/message]
[terrain]
x,y=27,29
terrain=Gll^Ii
[/terrain]
[redraw][/redraw]
{PLACE_IMAGE items/potion-clear.png 27 30}
{VARIABLE puzzle_tree 5}
[/then]
[elseif]
[variable]
name=puzzle_tree
numerical_equals=6
[/variable]
[then]
[sound]
name=magic-thorns-1.ogg
[/sound]
[message]
speaker=narrator
message= _ "You planted the seeds."
image=wesnoth-icon.png
[/message]
[terrain]
x,y=27,29
terrain=Gll^Efm
[/terrain]
[redraw][/redraw]
{VARIABLE puzzle_tree 7}
[/then]
[/elseif]
[elseif]
[variable]
name=puzzle_tree
numerical_equals=9
[/variable]
[then]
[message]
speaker=narrator
message= _ "You watered the seeds."
image=wesnoth-icon.png
[/message]
[terrain]
x,y=27,29
terrain=Gs^Fet
[/terrain]
[redraw][/redraw]
[sound]
name=magic-faeriefire.ogg
[/sound]
[message]
speaker=narrator
message= _ "A tree has grown!"
image=wesnoth-icon.png
[/message]
[message]
speaker=narrator
message= _ "A tree, perennial life... Mal Keshar stands beneath it, reminiscing back to a time when he had been among the forests of Parthyn... when he had still been at home."
image=wesnoth-icon.png
[/message]
[message]
speaker=narrator
message= _ "<i>No... no.</i> The words echo softly in the otherwise still air. Or are they merely thought, not spoken?"
image=wesnoth-icon.png
[/message]
[message]
speaker=narrator
message= _ "Home... he belongs among the darkness now, without light, without life save for the lonesome tree. It is faintly nostalgic, the feeling he gets, but he supposes he should treat the tree more as a symbol of health than anything else. There is no need to think so much about the past, because he does not really regret what has transpired."
image=wesnoth-icon.png
[/message]
# reward: +7 HP
[object]
silent=yes
duration=forever
[filter]
id=Mal Keshar
[/filter]
[effect]
apply_to=hitpoints
increase_total=7
increase=7
[/effect]
[/object]
{REMOVE_IMAGE 24 29}
{VARIABLE puzzle_tree 10}
[/then]
[/elseif]
[/if]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=28,33
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[and]
[variable]
name=puzzle_tree_potion_cup
numerical_equals=0
[/variable]
[/and]
[/filter_condition]
[message]
speaker=narrator
message= _ "You picked up an empty flask."
image=wesnoth-icon.png
[/message]
{REMOVE_IMAGE 28 33}
{VARIABLE puzzle_tree_potion_cup 1}
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=27,30
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[and]
[variable]
name=puzzle_tree_potion_cup
numerical_equals=2
[/variable]
[/and]
[and]
[variable]
name=puzzle_tree
greater_than=4
[/variable]
[/and]
[and]
[variable]
name=puzzle_tree
less_than=10
[/variable]
[/and]
[/filter_condition]
[message]
speaker=narrator
message= _ "You picked up an empty flask."
image=wesnoth-icon.png
[/message]
{REMOVE_IMAGE 27 30}
{VARIABLE puzzle_tree_potion_cup 1}
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x=26,27
y=29,30
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[and]
[variable]
name=puzzle_tree
numerical_equals=1
[/variable]
[/and]
[/filter_condition]
[terrain]
x,y=27,29
terrain=Rb^Ii
[/terrain]
[redraw][/redraw]
[sound]
name=mace.wav
[/sound]
[message]
speaker=narrator
message= _ "You placed the rock."
image=wesnoth-icon.png
[/message]
[terrain]
x,y=25,32
terrain=Urb
[/terrain]
[redraw][/redraw]
{VARIABLE puzzle_tree 2}
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x=25
y=32
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[and]
[variable]
name=puzzle_tree
less_than=10
[/variable]
[/and]
[/filter_condition]
[if]
[variable]
name=puzzle_tree
numerical_equals=0
[/variable]
[then]
[if]
[have_location]
x,y=25,32
terrain=Rb^Dr
[/have_location]
[then]
[message]
speaker=narrator
message= _ "You picked up a rock."
image=wesnoth-icon.png
[/message]
[terrain]
x,y=25,32
terrain=Rb
[/terrain]
[redraw][/redraw]
{VARIABLE puzzle_tree 1}
[/then]
[else]
[sound]
name=magic-dark-big-miss.ogg
[/sound]
[message]
speaker=narrator
message= _ "You need to do something different."
image=wesnoth-icon.png
[/message]
[/else]
[/if]
[/then]
[elseif]
[variable]
name=puzzle_tree
numerical_equals=2
[/variable]
[then]
[if]
[have_location]
x,y=25,32
terrain=Sm
[/have_location]
[and]
[variable]
name=puzzle_tree_potion_cup
numerical_equals=1
[/variable]
[/and]
[then]
[message]
speaker=narrator
message= _ "You bottled some soil."
image=wesnoth-icon.png
[/message]
{PLACE_IMAGE items/potion-yellow.png 26 31}
{VARIABLE puzzle_tree 3}
{VARIABLE puzzle_tree_potion_cup 2}
[/then]
[else]
[sound]
name=magic-dark-big-miss.ogg
[/sound]
[message]
speaker=narrator
message= _ "You need to do something different."
image=wesnoth-icon.png
[/message]
[/else]
[/if]
[/then]
[/elseif]
[elseif]
[variable]
name=puzzle_tree
numerical_equals=5
[/variable]
[then]
[if]
[have_location]
x,y=25,32
terrain=Gll^Efm
[/have_location]
[then]
[message]
speaker=narrator
message= _ "You got some sprouts."
image=wesnoth-icon.png
[/message]
{VARIABLE puzzle_tree 6}
[/then]
[else]
[sound]
name=magic-dark-big-miss.ogg
[/sound]
[message]
speaker=narrator
message= _ "You need to do something different."
image=wesnoth-icon.png
[/message]
[/else]
[/if]
[/then]
[/elseif]
[elseif]
[variable]
name=puzzle_tree
numerical_equals=7
[/variable]
[then]
[if]
[have_location]
x,y=25,32
terrain=Ww
[/have_location]
[and]
[variable]
name=puzzle_tree_potion_cup
numerical_equals=1
[/variable]
[/and]
[then]
[message]
speaker=narrator
message= _ "You bottled some water."
image=wesnoth-icon.png
[/message]
{PLACE_IMAGE items/potion-blue.png 26 31}
{VARIABLE puzzle_tree 8}
[/then]
[else]
[sound]
name=magic-dark-big-miss.ogg
[/sound]
[message]
speaker=narrator
message= _ "You need to do something different."
image=wesnoth-icon.png
[/message]
[/else]
[/if]
[/then]
[/elseif]
[/if]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=26,31
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[/filter_condition]
[if]
[variable]
name=puzzle_tree
numerical_equals=3
[/variable]
[then]
[message]
speaker=narrator
message= _ "You picked up the bottle of soil."
image=wesnoth-icon.png
[/message]
{REMOVE_IMAGE 26 31}
{VARIABLE puzzle_tree 4}
[/then]
[elseif]
[variable]
name=puzzle_tree
numerical_equals=8
[/variable]
[then]
[message]
speaker=narrator
message= _ "You picked up the bottle of water."
image=wesnoth-icon.png
[/message]
{REMOVE_IMAGE 26 31}
{VARIABLE puzzle_tree 9}
[/then]
[/elseif]
[/if]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
id=Mal Keshar
x,y=24,29
[/filter]
[filter_condition]
[variable]
name=scenario_stage
numerical_equals=2
[/variable]
[and]
[variable]
name=puzzle_tree
less_than=10
[/variable]
[/and]
[/filter_condition]
[message]
speaker=narrator
message= _ "<i>Once mighty, the tree now decomposed into tiny seedlings,
Buds of life that grow with heat,
Finds a new place to grow again.
Rock, then soil, both under light, then sprouts, then water,
And the Yew spreads its supple branches in rebirth.</i>"
image=wesnoth-icon.png
[/message]
[/event]
# potion puzzle
# Solution: Pick up the brazier and melt the ice, creating water
# pick up the empty flask and move to the water, then pick up the filled flask
@ -3284,8 +2504,18 @@ Transmuted by the alter of darkness
Into pitch black shadow.</i>"
image=wesnoth-icon.png
[/message]
[fire_event]
name=potion text
[/fire_event]
[/event]
[event]
name=potion text
[message]
speaker=Mal Keshar
message= _ "Someone left their experiment unfinished here."
[/message]
[/event]
# coffin puzzle
# Solution: pick up the key, move to the coffin to open it
# then, pick up the bones, put them in the coffin
@ -3346,6 +2576,11 @@ Into pitch black shadow.</i>"
image=wesnoth-icon.png
[/message]
[message]
speaker=Mal Keshar
message= _ "There are some robe scraps stuck to this skeleton. This must have once been a mage."
[/message]
{REMOVE_IMAGE 1 3}
{VARIABLE puzzle_coffin 3}
[/then]
@ -4304,8 +3539,6 @@ And the tongue of fire begets ashen repose.</i>"
{CLEAR_VARIABLE scenario_stage}
{CLEAR_VARIABLE puzzle_coffin}
{CLEAR_VARIABLE puzzle_potion}
{CLEAR_VARIABLE puzzle_tree}
{CLEAR_VARIABLE puzzle_tree_potion_cup}
{CLEAR_VARIABLE runes_activated}
{VARIABLE timesForever 0}