SoF S2: Place glyphs during prestart
So we can see them while our ally is talking about them
This commit is contained in:
parent
19870f15c7
commit
7914e85066
1 changed files with 49 additions and 49 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue