Fixed the WML cleanup I broke.

This commit is contained in:
Lari Nieminen 2008-12-14 17:58:51 +00:00
parent c25d0f2e5a
commit 6079be1622

View File

@ -218,7 +218,7 @@
name=moveto name=moveto
[filter] [filter]
x=1-44 x=1-44
y=1-10 y=1-12
[and] [and]
id=Gweddry id=Gweddry
[or] [or]
@ -227,10 +227,20 @@
[/and] [/and]
[/filter] [/filter]
[if] [if]
[variable] [have_unit]
name=across id=Gweddry
equals=yes y=1-12
[/variable] [not]
terrain=W*
[/not]
[/have_unit]
[have_unit]
id=Owaec
y=1-12
[not]
terrain=W*
[/not]
[/have_unit]
[then] [then]
[message] [message]
speaker=Dacyn speaker=Dacyn
@ -263,6 +273,7 @@
hitpoints=$grug.hitpoints hitpoints=$grug.hitpoints
experience=$grug.experience experience=$grug.experience
moves=$grug.moves moves=$grug.moves
random_traits=no
[modifications] [modifications]
{TRAIT_LOYAL} {TRAIT_LOYAL}
@ -303,21 +314,24 @@
{NEW_GOLD_CARRYOVER 40} {NEW_GOLD_CARRYOVER 40}
[/endlevel] [/endlevel]
[/then] [/then]
[/if]
[else]
[endlevel] [endlevel]
result=victory result=victory
bonus=yes bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel] [/endlevel]
[/else]
[/if]
[/then] [/then]
[else] [else]
[message] [message]
speaker=unit speaker=unit
message= _ "Hurry up. We must get across before these undead slaughter us!" message= _ "Hurry up. We must get across before these undead slaughter us!"
[/message] [/message]
[set_variable]
name=across [allow_undo]
value=yes [/allow_undo]
[/set_variable]
[/else] [/else]
[/if] [/if]
[/event] [/event]