wesnoth/data/core/macros/carryover-utils.cfg
Nils Kneuper 7ddd376664 replace color='#HEXCODE' by keywords, replacements done:
color='#00ff00' becomes color='green'

color='#ff0000' becomes color='red'

color='#ffff00' becomes color='yellow'
2010-03-04 15:14:46 +00:00

47 lines
1.3 KiB
INI

#textdomain wesnoth
#define NEW_GOLD_CARRYOVER PERCENTAGE_NUMBER
carryover_add=yes
carryover_percentage={PERCENTAGE_NUMBER}
#enddef
#define EARLY_FINISH_BONUS_NOTE
_"Early finish bonus."#enddef
#define NO_EARLY_FINISH_BONUS_NOTE
_"No early finish bonus."#enddef
#define EARLY_FINISH_BONUS_CAPTION
_"<small>(early finish bonus)</small>"#enddef
#define NO_GOLD_CARRYOVER_NOTE
_"No gold carried over to the next scenario."#enddef
#define NEW_GOLD_CARRYOVER_NOTE_100
_"
100% of finishing gold carried over to the next scenario."#enddef
#define NEW_GOLD_CARRYOVER_NOTE_40
_"
40% of finishing gold carried over to the next scenario."#enddef
#define NEW_GOLD_CARRYOVER_NOTE_20
_"
20% of finishing gold carried over to the next scenario."#enddef
#define ALTERNATIVE_OBJECTIVE OBJECTIVE_TEXT
[objective]
description="<span color='white'>" + _ "Alternative objective:" + "</span>
<span color='green'>" + {OBJECTIVE_TEXT} + "</span> "
condition=win
[/objective]
#enddef
#define ALTERNATIVE_OBJECTIVE_BONUS OBJECTIVE_TEXT
[objective]
description="<span color='white'>" + _ "Alternative objective:" + "</span>
<span color='green'>" + {OBJECTIVE_TEXT} + "</span> " + {EARLY_FINISH_BONUS_CAPTION}
condition=win
[/objective]
#enddef