From 29cec1a77015fea916798890c362ea7573e10d32 Mon Sep 17 00:00:00 2001 From: DisherProject Date: Sun, 9 Sep 2018 22:14:28 +0200 Subject: [PATCH] SoF S2: Place glyphs during prestart So we can see them while our ally is talking about them --- .../scenarios/2_Closing_the_Gates.cfg | 98 +++++++++---------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/data/campaigns/Sceptre_of_Fire/scenarios/2_Closing_the_Gates.cfg b/data/campaigns/Sceptre_of_Fire/scenarios/2_Closing_the_Gates.cfg index 3a99c88955a2..3c31b5d7d695 100644 --- a/data/campaigns/Sceptre_of_Fire/scenarios/2_Closing_the_Gates.cfg +++ b/data/campaigns/Sceptre_of_Fire/scenarios/2_Closing_the_Gates.cfg @@ -142,6 +142,55 @@ #ifdef NORMAL {GENERIC_UNIT 3 "Troll Whelp" 30 25} #endif + + [set_variables] + name=glyphs + + [value] + x,y=9,11 + image_off=scenery/rune1.png + image_on=scenery/rune1-glow.png + [/value] + [value] + x,y=14,3 + image_off=scenery/rune2.png + image_on=scenery/rune2-glow.png + [/value] + [value] + x,y=30,19 + image_off=scenery/rune3.png + image_on=scenery/rune3-glow.png + [/value] + [value] + x,y=17,15 + image_off=scenery/rune4.png + image_on=scenery/rune4-glow.png + [/value] + [value] + x,y=3,5 + image_off=scenery/rune1.png + image_on=scenery/rune1-glow.png + toggles_x=2 + toggles_y=6 + [/value] + [value] + x,y=23,24 + image_off=scenery/rune2.png + image_on=scenery/rune2-glow.png + toggles_x=21 + toggles_y=24 + [/value] + [/set_variables] + + [foreach] + array=glyphs + [do] + [item] + x,y=$this_item.x,$this_item.y + image=$this_item.image_off + [/item] + [/do] + [/foreach] [/event] [event] @@ -271,55 +320,6 @@ # wmllint: local spelling stonecraft message= _ "You may be more powerful than us, but I doubt even you can blast through dwarf-made stonecraft. We refuse — now let’s close these gates!" [/message] - - [set_variables] - name=glyphs - - [value] - x,y=9,11 - image_off=scenery/rune1.png - image_on=scenery/rune1-glow.png - [/value] - [value] - x,y=14,3 - image_off=scenery/rune2.png - image_on=scenery/rune2-glow.png - [/value] - [value] - x,y=30,19 - image_off=scenery/rune3.png - image_on=scenery/rune3-glow.png - [/value] - [value] - x,y=17,15 - image_off=scenery/rune4.png - image_on=scenery/rune4-glow.png - [/value] - [value] - x,y=3,5 - image_off=scenery/rune1.png - image_on=scenery/rune1-glow.png - toggles_x=2 - toggles_y=6 - [/value] - [value] - x,y=23,24 - image_off=scenery/rune2.png - image_on=scenery/rune2-glow.png - toggles_x=21 - toggles_y=24 - [/value] - [/set_variables] - - [foreach] - array=glyphs - [do] - [item] - x,y=$this_item.x,$this_item.y - image=$this_item.image_off - [/item] - [/do] - [/foreach] [/event] # These macros toggle a glyph on the given location on or off