mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 09:57:38 +00:00
70 lines
2.0 KiB
INI
70 lines
2.0 KiB
INI
#textdomain wesnoth
|
|
# Utility macros for use in the objectives dialog
|
|
|
|
#define TURNS_RUN_OUT
|
|
# Adds an objective indicating that you lose when turns run out
|
|
[objective]
|
|
description= _ "Turns run out"
|
|
condition=lose
|
|
show_turn_counter=yes
|
|
[/objective]
|
|
#enddef
|
|
|
|
# Add a footnote to an objective in small print
|
|
#define OBJECTIVE_FOOTNOTE TEXT
|
|
"<span foreground='white'><small> " + {TEXT} + "</small></span>"#enddef
|
|
|
|
#wmllint: markcheck off
|
|
# Add a note to an objective indication that you get an early finish bonus
|
|
#define EARLY_FINISH_BONUS_FOOTNOTE
|
|
{OBJECTIVE_FOOTNOTE _"(early finish bonus)"}#enddef
|
|
#wmllint: markcheck on
|
|
|
|
#define ALTERNATIVE_OBJECTIVE_CAPTION
|
|
# Add a caption for an alternative objective
|
|
caption= _ "Alternative objective:"
|
|
#enddef
|
|
|
|
#define BONUS_OBJECTIVE_CAPTION
|
|
# Add a caption for a bonus objective
|
|
caption= _ "Bonus objective:"
|
|
#enddef
|
|
|
|
#define OPTIONAL_OBJECTIVE_CAPTION
|
|
# Add a caption for an optional objective
|
|
caption= _ "Optional objective:"
|
|
#enddef
|
|
|
|
#define ALTERNATIVE_OBJECTIVE OBJECTIVE_TEXT
|
|
# Add an alternative objective that can be attained in place of the primary objective to win the scenario.
|
|
[objective]
|
|
{ALTERNATIVE_OBJECTIVE_CAPTION}
|
|
description={OBJECTIVE_TEXT}
|
|
condition=win
|
|
[/objective]
|
|
#enddef
|
|
|
|
#define ALTERNATIVE_OBJECTIVE_BONUS OBJECTIVE_TEXT
|
|
# Add an alternative objective that grants an early finish bonus.
|
|
[objective]
|
|
{ALTERNATIVE_OBJECTIVE_CAPTION}
|
|
description={OBJECTIVE_TEXT}+{EARLY_FINISH_BONUS_FOOTNOTE}
|
|
condition=win
|
|
[/objective]
|
|
#enddef
|
|
|
|
#define IS_LAST_SCENARIO
|
|
# Add a note to the objectives indicating that this is the final scenario in the campaign.
|
|
[note]
|
|
red,blue,green=0,255,255
|
|
description="<b>" + _"This is the last scenario." + "</b>"
|
|
[/note]
|
|
#enddef
|
|
|
|
#define HAS_NO_TURN_LIMIT
|
|
# Add a note to the objectives indicating that there is no turn limit.
|
|
[note]
|
|
description= "<b>" + _"No turn limit" + "</b>"
|
|
[/note]
|
|
#enddef
|