mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 10:42:39 +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]
|
||||
[filter]
|
||||
side=1
|
||||
[filter_location]
|
||||
[not]
|
||||
find_in=target_hex
|
||||
[/not]
|
||||
[/filter_location]
|
||||
[/filter]
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=target_hex.is_set
|
||||
equals=yes
|
||||
boolean_equals=yes
|
||||
[/variable]
|
||||
[then]
|
||||
[if]
|
||||
[variable]
|
||||
name=x1
|
||||
equals=$target_hex.x
|
||||
[/variable]
|
||||
[variable]
|
||||
name=y1
|
||||
equals=$target_hex.y
|
||||
[/variable]
|
||||
[then]
|
||||
[/then]
|
||||
[else]
|
||||
[redraw][/redraw]
|
||||
[message]
|
||||
speaker=narrator
|
||||
#wmllint: display on
|
||||
message=_ "*Oops!
|
||||
[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." +
|
||||
_ "
|
||||
_ "
|
||||
*Left click or press spacebar to continue..."
|
||||
#wmllint: display off
|
||||
[/message]
|
||||
[/else]
|
||||
[/if]
|
||||
#wmllint: display off
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
Loading…
x
Reference in New Issue
Block a user