core macros: Added macros for alternative objectives.

I love cluttering core with useless macros :-)
This commit is contained in:
Fabian Müller 2009-09-03 22:47:40 +00:00
parent 6a7d02f66c
commit e92d969edc

View file

@ -28,3 +28,19 @@ _"No 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
[objective]
description="<span color='white'>" + _ "Alternative objective:" + "</span>
<span color='#00ff00'>" + {OBJECTIVE} + "</span> "
condition=win
[/objective]
#enddef
#define ALTERNATIVE_OBJECTIVE_BONUS OBJECTIVE
[objective]
description="<span color='white'>" + _ "Alternative objective:" + "</span>
<span color='#00ff00'>" + {OBJECTIVE} + "</span> " + {EARLY_FINISH_BONUS_CAPTION}
condition=win
[/objective]
#enddef