mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 20:18:17 +00:00
fix awkward/nonstandard ConditionalWML spotted by silene - much more exists
This commit is contained in:
parent
344afa14a3
commit
b68c554023
@ -261,26 +261,18 @@ The places she can move to are highlighted." +
|
|||||||
[allow_undo][/allow_undo]
|
[allow_undo][/allow_undo]
|
||||||
[filter]
|
[filter]
|
||||||
side=1
|
side=1
|
||||||
|
[filter_location]
|
||||||
|
[not]
|
||||||
|
find_in=target_hex
|
||||||
|
[/not]
|
||||||
|
[/filter_location]
|
||||||
[/filter]
|
[/filter]
|
||||||
|
|
||||||
[if]
|
[if]
|
||||||
[variable]
|
[variable]
|
||||||
name=target_hex.is_set
|
name=target_hex.is_set
|
||||||
equals=yes
|
boolean_equals=yes
|
||||||
[/variable]
|
[/variable]
|
||||||
[then]
|
[then]
|
||||||
[if]
|
|
||||||
[variable]
|
|
||||||
name=x1
|
|
||||||
equals=$target_hex.x
|
|
||||||
[/variable]
|
|
||||||
[variable]
|
|
||||||
name=y1
|
|
||||||
equals=$target_hex.y
|
|
||||||
[/variable]
|
|
||||||
[then]
|
|
||||||
[/then]
|
|
||||||
[else]
|
|
||||||
[redraw][/redraw]
|
[redraw][/redraw]
|
||||||
[message]
|
[message]
|
||||||
speaker=narrator
|
speaker=narrator
|
||||||
@ -291,8 +283,6 @@ You moved to the wrong place! After this message, you can press 'u' to undo, the
|
|||||||
*Left click or press spacebar to continue..."
|
*Left click or press spacebar to continue..."
|
||||||
#wmllint: display off
|
#wmllint: display off
|
||||||
[/message]
|
[/message]
|
||||||
[/else]
|
|
||||||
[/if]
|
|
||||||
[/then]
|
[/then]
|
||||||
[/if]
|
[/if]
|
||||||
[/event]
|
[/event]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user