Skip to content

Commit

Permalink
SoF S2: Place glyphs during prestart
Browse files Browse the repository at this point in the history
So we can see them while our ally is talking about them
  • Loading branch information
DisherProject authored and sevu committed Sep 14, 2018
1 parent 76f081a commit 29cec1a
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions data/campaigns/Sceptre_of_Fire/scenarios/2_Closing_the_Gates.cfg
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 29cec1a

Please sign in to comment.