mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 01:12:04 +00:00
fix awkward/nonstandard ConditionalWML spotted by silene - much more exists
This commit is contained in:
parent
344afa14a3
commit
b68c554023
@ -261,38 +261,28 @@ 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]
|
[redraw][/redraw]
|
||||||
[variable]
|
[message]
|
||||||
name=x1
|
speaker=narrator
|
||||||
equals=$target_hex.x
|
#wmllint: display on
|
||||||
[/variable]
|
message=_ "*Oops!
|
||||||
[variable]
|
|
||||||
name=y1
|
|
||||||
equals=$target_hex.y
|
|
||||||
[/variable]
|
|
||||||
[then]
|
|
||||||
[/then]
|
|
||||||
[else]
|
|
||||||
[redraw][/redraw]
|
|
||||||
[message]
|
|
||||||
speaker=narrator
|
|
||||||
#wmllint: display on
|
|
||||||
message=_ "*Oops!
|
|
||||||
You moved to the wrong place! After this message, you can press 'u' to undo, then try again." +
|
You moved to the wrong place! After this message, you can press 'u' to undo, then try again." +
|
||||||
_ "
|
_ "
|
||||||
*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