TDG S06: clarify scenario objectives (#10017)

TDG S06 requires the player to both rescue Asheviere and also survive until turns run out.

With this commit, re-show objectives after rescuing Asheviere, and strikethrough the completed ones.
This commit is contained in:
Dalas121 2025-03-10 11:36:43 -05:00 committed by GitHub
parent 62b4758bca
commit 55c228fcbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -436,19 +436,46 @@
#############################
# OBJECTIVES
#############################
#define OBJECTIVE__DEFEAT_IRBIRCH
_"Defeat Irbirch, recapturing Queen Asheviere"#enddef
#define OBJECTIVE__FAIL_TO_RESCUE
_"Fail to rescue Asheviere before turns run out"#enddef
[objectives]
[objective]
description= _ "Survive until turns run out"
condition=win
[/objective]
[objective]
description= _ "Defeat Irbirch, recapturing Queen Asheviere"
description= {OBJECTIVE__DEFEAT_IRBIRCH}
condition=win
[show_if]
{NOT({HAVE_UNIT id,side=Asheviere,1})}
[/show_if]
[/objective]
[objective]
description= _ "Fail to rescue Asheviere before turns run out"
description= {OBJECTIVE__FAIL_TO_RESCUE}
condition=lose
[show_if]
{NOT({HAVE_UNIT id,side=Asheviere,1})}
[/show_if]
[/objective]
[objective]
description= "<span strikethrough='true'>" + {OBJECTIVE__DEFEAT_IRBIRCH} + "</span>"
condition=win
[show_if]
{HAVE_UNIT id,side=Asheviere,1}
[/show_if]
[/objective]
[objective]
description= "<span strikethrough='true'>" + {OBJECTIVE__FAIL_TO_RESCUE} + "</span>"
condition=lose
[show_if]
{HAVE_UNIT id,side=Asheviere,1}
[/show_if]
[/objective]
[objective]
description= _ "Death of Delfador or Deoran"
condition=lose
@ -689,6 +716,8 @@ Fencers are fragile but evasive, and possess the “<i>skirmisher</i>” ability
#po: both Deoran and Garard talk over Asheviere. She doesn't get any agency of her own, even from Deoran (who generally stands up for her)
message=_"Not now, milady! We have to get you out of here!"
[/message]
[show_objectives]
[/show_objectives]
[event]
name=side 1 turn end,asheviere_speaks_to_garard
@ -946,3 +975,6 @@ Fencers are fragile but evasive, and possess the “<i>skirmisher</i>” ability
{HERODEATHS}
[/scenario]
#undef OBJECTIVE__DEFEAT_IRBIRCH
#undef OBJECTIVE__FAIL_TO_RESCUE