EI S04c: only award achievement if all prisoners escape (#9108)
EI's S04c has an achievement for rescuing all 6 prisoners. This achievement currently triggers even if prisoners die before escaping the scenario.
This commit is contained in:
parent
f07b6ecbad
commit
76f3207c3b
1 changed files with 14 additions and 14 deletions
|
@ -321,20 +321,6 @@
|
|||
[/then]
|
||||
[/if]
|
||||
{VARIABLE first_prisoner_freed yes}
|
||||
[if]
|
||||
[not]
|
||||
[have_unit]
|
||||
side=8
|
||||
[/have_unit]
|
||||
[/not]
|
||||
|
||||
[then]
|
||||
[set_achievement]
|
||||
content_for=eastern_invasion
|
||||
id=ei_S04c
|
||||
[/set_achievement]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
#enddef
|
||||
[event] # this is a really ugly way to have an additional line for Terraent
|
||||
|
@ -948,6 +934,20 @@
|
|||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
[if]
|
||||
[have_unit]
|
||||
side=1
|
||||
trait=survivor
|
||||
count=6-999
|
||||
[/have_unit]
|
||||
[then]
|
||||
[set_achievement]
|
||||
content_for=eastern_invasion
|
||||
id=ei_S04c
|
||||
[/set_achievement]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
{FOREIGN_DEFEAT}
|
||||
|
|
Loading…
Add table
Reference in a new issue