add an "optional objective" caption

In case of tsg7a neither alternative nor bonus objective fits

[ci skip]
This commit is contained in:
Severin Glöckner 2017-09-18 00:31:04 +02:00 committed by Charles Dang
parent 07b04775ff
commit 725815afa2
2 changed files with 5 additions and 1 deletions

View file

@ -303,7 +303,7 @@
boolean_equals=yes
[/variable]
[/show_if]
{BONUS_OBJECTIVE_CAPTION}
{OPTIONAL_OBJECTIVE_CAPTION}
description= _ "Meet with and pay the troll leader $troll_help_cost gold to receive their help"
condition=win
[/objective]

View file

@ -26,6 +26,10 @@
caption= _ "Bonus objective:"
#enddef
#define OPTIONAL_OBJECTIVE_CAPTION
caption= _ "Optional objective:"
#enddef
#define ALTERNATIVE_OBJECTIVE OBJECTIVE_TEXT
[objective]
{ALTERNATIVE_OBJECTIVE_CAPTION}