EI: show objectives after objective updating events

This commit is contained in:
nemaara 2019-03-26 19:31:29 -04:00
parent 9f01f1b54a
commit 7fde5530e4
2 changed files with 48 additions and 0 deletions

View File

@ -307,6 +307,8 @@
name=enemies_defeated name=enemies_defeated
value=yes value=yes
[/set_variable] [/set_variable]
[show_objectives][/show_objectives]
[/event] [/event]
# Check each turn if the victory conditions have been met # Check each turn if the victory conditions have been met

View File

@ -898,6 +898,17 @@
) side 1} ) side 1}
{CLEAR_VARIABLE adjacent_gate_loc} {CLEAR_VARIABLE adjacent_gate_loc}
[if]
[not]
[have_unit]
side=3
[/have_unit]
[/not]
[then]
[show_objectives][/show_objectives]
[/then]
[/if]
[/event] [/event]
[event] [event]
@ -920,6 +931,17 @@
[fire_event] [fire_event]
name=free heroes name=free heroes
[/fire_event] [/fire_event]
[if]
[not]
[have_unit]
side=3
[/have_unit]
[/not]
[then]
[show_objectives][/show_objectives]
[/then]
[/if]
[/event] [/event]
[event] [event]
@ -942,6 +964,17 @@
[fire_event] [fire_event]
name=free heroes name=free heroes
[/fire_event] [/fire_event]
[if]
[not]
[have_unit]
side=3
[/have_unit]
[/not]
[then]
[show_objectives][/show_objectives]
[/then]
[/if]
[/event] [/event]
[event] [event]
@ -964,6 +997,17 @@
[fire_event] [fire_event]
name=free heroes name=free heroes
[/fire_event] [/fire_event]
[if]
[not]
[have_unit]
side=3
[/have_unit]
[/not]
[then]
[show_objectives][/show_objectives]
[/then]
[/if]
[/event] [/event]
[event] [event]
@ -1221,6 +1265,8 @@
{PLACE_IMAGE items/chest-plain-open.png 33 11} {PLACE_IMAGE items/chest-plain-open.png 33 11}
{CLEAR_VARIABLE stored_player_gold} {CLEAR_VARIABLE stored_player_gold}
[show_objectives][/show_objectives]
[/event] [/event]
{HOLY_AMULET 31 23} {HOLY_AMULET 31 23}