From 82b39a01b94831635c1e0f6b6b5ab41f8b20da04 Mon Sep 17 00:00:00 2001 From: nemaara Date: Tue, 12 Feb 2019 12:21:20 -0500 Subject: [PATCH] DiD S11: updated gameplay --- .../scenarios/11_Descent_into_Darkness.cfg | 1029 +++-------------- 1 file changed, 131 insertions(+), 898 deletions(-) diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg index 02dab31097c5..dbe0517d317d 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg @@ -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= _ "Welcome to Zephryn’s laboratory. Please be mindful of ongoing experiments during your visit. +This territory is the domain of the mighty Xanthric. All unwelcome intruders shall die." + image=wesnoth-icon.png + [/message] + + [fire_event] + name=lair text + [/fire_event] + [/event] + + [event] + name=lair text + + [message] + speaker=Mal Keshar + message= _ "That mage’s 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,107 +2222,43 @@ [/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 +# 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 +# go to the altar, which puts the filled flask there and creates a potion [event] name=moveto first_time_only=no [filter] id=Mal Keshar - x,y=28,30 + x,y=21,18 [/filter] [filter_condition] [variable] name=scenario_stage numerical_equals=2 [/variable] + [and] + [variable] + name=puzzle_potion + numerical_equals=0 + [/variable] + [/and] [/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] + [message] + speaker=narrator + message= _ "You picked up a brazier!" + image=wesnoth-icon.png + [/message] - [terrain] - x,y=25,32 - terrain=Urb - [/terrain] - [redraw][/redraw] - [/then] - [/elseif] - [else] - [sound] - name=magic-dark-miss.ogg - [/sound] - [/else] - [/if] + [terrain] + x,y=21,18 + terrain=Urb + [/terrain] + [redraw][/redraw] + {VARIABLE puzzle_potion 1} [/event] [event] @@ -2318,7 +2266,7 @@ first_time_only=no [filter] id=Mal Keshar - x,y=25,35 + x,y=15,22 [/filter] [filter_condition] [variable] @@ -2326,79 +2274,40 @@ numerical_equals=2 [/variable] [/filter_condition] - [if] - [have_location] - x,y=25,32 - terrain=Urb - [/have_location] + [variable] + name=puzzle_potion + numerical_equals=2 + [/variable] [then] - [sound] - name=magic-faeriefire.ogg - [/sound] + [message] + speaker=narrator + message= _ "You picked up an empty flask." + image=wesnoth-icon.png + [/message] - [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] + {REMOVE_IMAGE 15 22} + {VARIABLE puzzle_potion 3} + [/then] - [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] + [variable] + name=puzzle_potion + less_than=2 + [/variable] [then] [sound] - name=magic-missile-1-miss.ogg + name=magic-dark-big-miss.ogg [/sound] - [terrain] - x,y=25,32 - terrain=Urb - [/terrain] - [redraw][/redraw] + [message] + speaker=narrator + message= _ "You should do something else first." + image=wesnoth-icon.png + [/message] [/then] [/elseif] - [else] - [sound] - name=magic-dark-miss.ogg - [/sound] - [/else] [/if] [/event] @@ -2407,7 +2316,7 @@ first_time_only=no [filter] id=Mal Keshar - x,y=22,30 + x,y=15,18 [/filter] [filter_condition] [variable] @@ -2415,79 +2324,50 @@ numerical_equals=2 [/variable] [/filter_condition] - [if] - [have_location] - x,y=25,32 - terrain=Urb - [/have_location] + [variable] + name=puzzle_potion + numerical_equals=1 + [/variable] [then] [sound] - name=water-blast.wav + name=flame-big.ogg [/sound] + [message] + speaker=narrator + message= _ "You melted the ice." + image=wesnoth-icon.png + [/message] + [terrain] - x,y=25,32 - terrain=Ww + x,y=15,18 + terrain=Wog [/terrain] [redraw][/redraw] + {VARIABLE puzzle_potion 2} [/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] + [variable] + name=puzzle_potion + numerical_equals=3 + [/variable] [then] [sound] - name=mace.wav + name=water-blast.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] + [message] + speaker=narrator + message= _ "You filled the flask." + image=wesnoth-icon.png + [/message] - [terrain] - x,y=25,32 - terrain=Urb - [/terrain] - [redraw][/redraw] + {PLACE_IMAGE items/potion-blue.png 14 18} + {VARIABLE puzzle_potion 4} [/then] [/elseif] - [else] - [sound] - name=magic-dark-miss.ogg - [/sound] - [/else] [/if] [/event] @@ -2496,7 +2376,7 @@ first_time_only=no [filter] id=Mal Keshar - x,y=27,29 + x,y=14,18 [/filter] [filter_condition] [variable] @@ -2504,680 +2384,20 @@ numerical_equals=2 [/variable] [/filter_condition] - [if] [variable] - name=puzzle_tree + name=puzzle_potion numerical_equals=4 [/variable] [then] - [sound] - name=entangle.ogg - [/sound] - [message] speaker=narrator - message= _ "You placed some soil on the rock." + message= _ "You picked up the flask of water." 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= _ "No... no. 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= _ "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." - 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 -# go to the altar, which puts the filled flask there and creates a potion - - [event] - name=moveto - first_time_only=no - [filter] - id=Mal Keshar - x,y=21,18 - [/filter] - [filter_condition] - [variable] - name=scenario_stage - numerical_equals=2 - [/variable] - [and] - [variable] - name=puzzle_potion - numerical_equals=0 - [/variable] - [/and] - [/filter_condition] - - [message] - speaker=narrator - message= _ "You picked up a brazier!" - image=wesnoth-icon.png - [/message] - - [terrain] - x,y=21,18 - terrain=Urb - [/terrain] - [redraw][/redraw] - {VARIABLE puzzle_potion 1} - [/event] - - [event] - name=moveto - first_time_only=no - [filter] - id=Mal Keshar - x,y=15,22 - [/filter] - [filter_condition] - [variable] - name=scenario_stage - numerical_equals=2 - [/variable] - [/filter_condition] - [if] - [variable] - name=puzzle_potion - numerical_equals=2 - [/variable] - [then] - [message] - speaker=narrator - message= _ "You picked up an empty flask." - image=wesnoth-icon.png - [/message] - - - {REMOVE_IMAGE 15 22} - {VARIABLE puzzle_potion 3} - [/then] - - [elseif] - [variable] - name=puzzle_potion - less_than=2 - [/variable] - [then] - [sound] - name=magic-dark-big-miss.ogg - [/sound] - - [message] - speaker=narrator - message= _ "You should do something else first." - image=wesnoth-icon.png - [/message] - [/then] - [/elseif] - [/if] - [/event] - - [event] - name=moveto - first_time_only=no - [filter] - id=Mal Keshar - x,y=15,18 - [/filter] - [filter_condition] - [variable] - name=scenario_stage - numerical_equals=2 - [/variable] - [/filter_condition] - [if] - [variable] - name=puzzle_potion - numerical_equals=1 - [/variable] - [then] - [sound] - name=flame-big.ogg - [/sound] - - [message] - speaker=narrator - message= _ "You melted the ice." - image=wesnoth-icon.png - [/message] - - [terrain] - x,y=15,18 - terrain=Wog - [/terrain] - [redraw][/redraw] - {VARIABLE puzzle_potion 2} - [/then] - - [elseif] - [variable] - name=puzzle_potion - numerical_equals=3 - [/variable] - [then] - [sound] - name=water-blast.wav - [/sound] - - [message] - speaker=narrator - message= _ "You filled the flask." - image=wesnoth-icon.png - [/message] - - {PLACE_IMAGE items/potion-blue.png 14 18} - {VARIABLE puzzle_potion 4} - [/then] - [/elseif] - [/if] - [/event] - - [event] - name=moveto - first_time_only=no - [filter] - id=Mal Keshar - x,y=14,18 - [/filter] - [filter_condition] - [variable] - name=scenario_stage - numerical_equals=2 - [/variable] - [/filter_condition] - [if] - [variable] - name=puzzle_potion - numerical_equals=4 - [/variable] - [then] - [message] - speaker=narrator - message= _ "You picked up the flask of water." - image=wesnoth-icon.png - [/message] - - {REMOVE_IMAGE 14 18} - {VARIABLE puzzle_potion 5} + {REMOVE_IMAGE 14 18} + {VARIABLE puzzle_potion 5} [/then] [/if] [/event] @@ -3284,8 +2504,18 @@ Transmuted by the alter of darkness Into pitch black shadow." 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." 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." {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}