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:
Dalas121 2024-07-19 19:17:08 -05:00 committed by GitHub
parent f07b6ecbad
commit 76f3207c3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}