mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 07:17:54 +00:00
[objectives][show_if] testcase.
This commit is contained in:
parent
49cb5c10b7
commit
0d47d1530e
@ -253,6 +253,46 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
|
||||
side=1
|
||||
[/show_objectives]
|
||||
[/event]
|
||||
[event]
|
||||
name=start
|
||||
[objectives]
|
||||
[objective]
|
||||
condition=win
|
||||
description= _ "Defeat the enemy leader (he's at 29,16!)"
|
||||
[show_if]
|
||||
[have_unit]
|
||||
x,y,canrecruit,side=29,16,yes,2
|
||||
[/have_unit]
|
||||
[/show_if]
|
||||
[/objective]
|
||||
[objective]
|
||||
condition=win
|
||||
description= _ "Defeat the enemy leader (he's at 28,18!)"
|
||||
[show_if]
|
||||
[have_unit]
|
||||
x,y,canrecruit,side=28,18,yes,2
|
||||
[/have_unit]
|
||||
[/show_if]
|
||||
[/objective]
|
||||
[objective]
|
||||
condition=win
|
||||
description= _ "Defeat the enemy leader (I have no clue where he is)"
|
||||
[show_if]
|
||||
[not]
|
||||
[have_unit]
|
||||
canrecruit,side=yes,2
|
||||
[and]
|
||||
x,y=29,16
|
||||
[or]
|
||||
x,y=28,18
|
||||
[/or]
|
||||
[/and]
|
||||
[/have_unit]
|
||||
[/not]
|
||||
[/show_if]
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
|
Loading…
x
Reference in New Issue
Block a user