TRoW: use [show_if] inside the [objectives] tag
This commit is contained in:
parent
3096f19bd7
commit
d2a63b9953
2 changed files with 34 additions and 74 deletions
|
@ -271,6 +271,15 @@
|
|||
description= _ "Death of King Addroran IX"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Lord Typhon"
|
||||
condition=lose
|
||||
[show_if]
|
||||
[have_unit]
|
||||
id=Lord Typhon
|
||||
[/have_unit]
|
||||
[/show_if]
|
||||
[/objective]
|
||||
|
||||
{TURNS_RUN_OUT}
|
||||
|
||||
|
@ -402,36 +411,8 @@
|
|||
side=1
|
||||
type=Merman Fighter,Merman Hunter
|
||||
[/allow_recruit]
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Defeat all enemy leaders"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Prince Haldric"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Lady Jessene"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of King Addroran IX"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Lord Typhon"
|
||||
condition=lose
|
||||
[/objective]
|
||||
|
||||
{TURNS_RUN_OUT}
|
||||
|
||||
[gold_carryover]
|
||||
bonus=yes
|
||||
carryover_percentage=40
|
||||
[/gold_carryover]
|
||||
[/objectives]
|
||||
[show_objectives]
|
||||
[/show_objectives]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
|
|
@ -169,28 +169,8 @@
|
|||
message= _ "Get her before she ensorcels us all!"
|
||||
image=portraits/haldric-mad.png
|
||||
[/message]
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Defeat the Vampire Queen"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Prince Haldric"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Lady Jessene"
|
||||
condition=lose
|
||||
[/objective]
|
||||
|
||||
{TURNS_RUN_OUT}
|
||||
|
||||
[gold_carryover]
|
||||
bonus=yes
|
||||
carryover_percentage=40
|
||||
[/gold_carryover]
|
||||
[/objectives]
|
||||
[show_objectives]
|
||||
[/show_objectives]
|
||||
[set_variable]
|
||||
name=queen_awake
|
||||
value=1
|
||||
|
@ -305,6 +285,25 @@
|
|||
[objective]
|
||||
description= _ "Defeat all enemy leaders"
|
||||
condition=win
|
||||
[show_if]
|
||||
[not]
|
||||
[have_unit]
|
||||
id=Midnight Queen
|
||||
[/have_unit]
|
||||
[/not]
|
||||
[have_unit]
|
||||
id=Isorfilad,Tinoldor
|
||||
[/have_unit]
|
||||
[/show_if]
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Defeat the Vampire Queen"
|
||||
condition=win
|
||||
[show_if]
|
||||
[have_unit]
|
||||
id=Midnight Queen
|
||||
[/have_unit]
|
||||
[/show_if]
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Prince Haldric"
|
||||
|
@ -456,28 +455,8 @@
|
|||
speaker=Lady Jessene
|
||||
message= _ "We still have to defeat that vampire queen!"
|
||||
[/message]
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Defeat the Vampire Queen"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Prince Haldric"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Lady Jessene"
|
||||
condition=lose
|
||||
[/objective]
|
||||
|
||||
{TURNS_RUN_OUT}
|
||||
|
||||
[gold_carryover]
|
||||
bonus=yes
|
||||
carryover_percentage=40
|
||||
[/gold_carryover]
|
||||
[/objectives]
|
||||
[show_objectives]
|
||||
[/show_objectives]
|
||||
[/then]
|
||||
[else]
|
||||
{CLEAR_VARIABLE queen_awake}
|
||||
|
|
Loading…
Add table
Reference in a new issue