mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 19:33:53 +00:00
64 lines
1.4 KiB
INI
64 lines
1.4 KiB
INI
#textdomain wesnoth
|
|
# These aren't actually macros, but they need to go somewhere anyway.
|
|
|
|
# The wmlscope pragmas prevent spurious complaints about multiple definitions
|
|
|
|
#ifdef EASYNEWCARRYOVER
|
|
#define EASY
|
|
#enddef
|
|
#define NEW_GOLD_CARRYOVER_USED
|
|
#enddef
|
|
#endif
|
|
|
|
# wmlscope: start ignoring
|
|
|
|
#ifdef NORMALNEWCARRYOVER
|
|
#define NORMAL
|
|
#enddef
|
|
#define NEW_GOLD_CARRYOVER_USED
|
|
#enddef
|
|
#endif
|
|
|
|
#ifdef HARDNEWCARRYOVER
|
|
#define HARD
|
|
#enddef
|
|
#define NEW_GOLD_CARRYOVER_USED
|
|
#enddef
|
|
#endif
|
|
|
|
# wmlscope: stop ignoring
|
|
|
|
# These are used in scenarios, to include the carryover-defining keys into
|
|
# [endlevel]s and to show the carryover details in the objectives dialog.
|
|
|
|
#ifdef NEW_GOLD_CARRYOVER_USED
|
|
#define NEW_GOLD_CARRYOVER PERCENTAGE
|
|
carryover_add=yes
|
|
carryover_percentage={PERCENTAGE}
|
|
#enddef
|
|
#else
|
|
#define NEW_GOLD_CARRYOVER PERCENTAGE
|
|
#enddef
|
|
#endif
|
|
|
|
#ifdef NEW_GOLD_CARRYOVER_USED
|
|
#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
|
|
#else
|
|
# wmlscope: start ignoring
|
|
#define NEW_GOLD_CARRYOVER_NOTE_40
|
|
""
|
|
#enddef
|
|
#define NEW_GOLD_CARRYOVER_NOTE_20
|
|
""
|
|
#enddef
|
|
# wmlscope: stop ignoring
|
|
#endif
|