wesnoth/data/core/macros/objective-utils.cfg
Severin Glöckner 725815afa2 add an "optional objective" caption
In case of tsg7a neither alternative nor bonus objective fits

[ci skip]
2017-11-01 12:45:21 +11:00

61 lines
1.4 KiB
INI

#textdomain wesnoth
# Utility macros for use in the objectives dialog
#define TURNS_RUN_OUT
[objective]
description= _ "Turns run out"
condition=lose
show_turn_counter=yes
[/objective]
#enddef
#wmllint: markcheck off
#define EARLY_FINISH_BONUS_FOOTNOTE
"<span foreground='white'><small> " + _"(early finish bonus)" + "</small></span>"#enddef
#wmllint: markcheck on
#define OBJECTIVE_FOOTNOTE TEXT
"<span foreground='white'><small> " + {TEXT} + "</small></span>"
#enddef
#define ALTERNATIVE_OBJECTIVE_CAPTION
caption= _ "Alternative objective:"
#enddef
#define BONUS_OBJECTIVE_CAPTION
caption= _ "Bonus objective:"
#enddef
#define OPTIONAL_OBJECTIVE_CAPTION
caption= _ "Optional objective:"
#enddef
#define ALTERNATIVE_OBJECTIVE OBJECTIVE_TEXT
[objective]
{ALTERNATIVE_OBJECTIVE_CAPTION}
description={OBJECTIVE_TEXT}
condition=win
[/objective]
#enddef
#define ALTERNATIVE_OBJECTIVE_BONUS OBJECTIVE_TEXT
[objective]
{ALTERNATIVE_OBJECTIVE_CAPTION}
description={OBJECTIVE_TEXT}+{EARLY_FINISH_BONUS_FOOTNOTE}
condition=win
[/objective]
#enddef
#define IS_LAST_SCENARIO
[note]
red,blue,green=0,255,255
description="<b>" + _"This is the last scenario." + "</b>"
[/note]
#enddef
#define HAS_NO_TURN_LIMIT
[note]
description= "<b>" + _"No turn limit" + "</b>"
[/note]
#enddef