HttT S10 Change objectives

Once the eggs have been taken, change objectives to remove them.
This commit is contained in:
Gregory A Lundberg 2016-08-06 13:00:00 -05:00
parent e0283a6add
commit 9c3301a78b

View file

@ -18,6 +18,8 @@
[event]
name=prestart
{VARIABLE eggs_done no}
[objectives]
side=1
[objective]
@ -25,6 +27,9 @@
condition=win
[/objective]
[objective]
[show_if]
{CHECK_VARIABLE eggs_done no}
[/show_if]
{BONUS_OBJECTIVE_CAPTION}
description= _ "Defeat the mother gryphon before the enemy does"+{OBJECTIVE_FOOTNOTE _"(special bonus)"}
condition=win
@ -181,6 +186,7 @@
[/set_variable]
{REMOVE_IMAGE 13 16}
{PLACE_IMAGE scenery/nest-empty.png 13 16}
{VARIABLE eggs_done yes}
[/event]
[event]
@ -212,6 +218,7 @@
{VARIABLE_OP gryphon_disposition sub 1}
{REMOVE_IMAGE 13 16}
{PLACE_IMAGE scenery/nest-empty.png 13 16}
{VARIABLE eggs_done yes}
[/event]
[event]
name=attack
@ -415,7 +422,7 @@
message= _ "Let us continue onward!"
[/message]
{CLEAR_VARIABLE gryphon_disposition}
{CLEAR_VARIABLE gryphon_disposition,eggs_done}
[endlevel]
result=victory
bonus=yes