Skip to content

Commit

Permalink
EI: show objectives after objective updating events
Browse files Browse the repository at this point in the history
  • Loading branch information
nemaara committed Mar 26, 2019
1 parent 240af8d commit c516ab2
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/campaigns/Eastern_Invasion/scenarios/10_Lake_Vrug.cfg
Expand Up @@ -307,6 +307,8 @@
name=enemies_defeated
value=yes
[/set_variable]

[show_objectives][/show_objectives]
[/event]

# Check each turn if the victory conditions have been met
Expand Down
46 changes: 46 additions & 0 deletions data/campaigns/Eastern_Invasion/scenarios/11_Captured.cfg
Expand Up @@ -898,6 +898,17 @@
) side 1}

{CLEAR_VARIABLE adjacent_gate_loc}

[if]
[not]
[have_unit]
side=3
[/have_unit]
[/not]
[then]
[show_objectives][/show_objectives]
[/then]
[/if]
[/event]

[event]
Expand All @@ -920,6 +931,17 @@
[fire_event]
name=free heroes
[/fire_event]

[if]
[not]
[have_unit]
side=3
[/have_unit]
[/not]
[then]
[show_objectives][/show_objectives]
[/then]
[/if]
[/event]

[event]
Expand All @@ -942,6 +964,17 @@
[fire_event]
name=free heroes
[/fire_event]

[if]
[not]
[have_unit]
side=3
[/have_unit]
[/not]
[then]
[show_objectives][/show_objectives]
[/then]
[/if]
[/event]

[event]
Expand All @@ -964,6 +997,17 @@
[fire_event]
name=free heroes
[/fire_event]

[if]
[not]
[have_unit]
side=3
[/have_unit]
[/not]
[then]
[show_objectives][/show_objectives]
[/then]
[/if]
[/event]

[event]
Expand Down Expand Up @@ -1221,6 +1265,8 @@
{PLACE_IMAGE items/chest-plain-open.png 33 11}

{CLEAR_VARIABLE stored_player_gold}

[show_objectives][/show_objectives]
[/event]

{HOLY_AMULET 31 23}
Expand Down

0 comments on commit c516ab2

Please sign in to comment.