By popular demand, make the loyal-unit generator macros...

...give the units they make the loyalty-crown overlay from Dead Water.
This commit is contained in:
Eric S. Raymond 2009-12-15 17:14:35 +00:00
parent 03e6156b6c
commit f88a4be057
3 changed files with 11 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

View file

@ -28,6 +28,11 @@
overlays="misc/hero-icon.png"
#enddef
#define IS_LOYAL
# Embed this into a unit declaration to add a loyalty icon to the unit.
overlays="misc/loyal-icon.png"
#enddef
#define NEW_JOURNEY X Y
# Make a new journey mark on a tracking map
[image]

View file

@ -78,6 +78,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
overlays="misc/loyal-icon.png"
[/unit]
#enddef
@ -92,6 +93,7 @@
{TRAIT_UNDEAD}
{TRAIT_LOYAL}
[/modifications]
overlays="misc/loyal-icon.png"
[/unit]
#enddef
@ -125,6 +127,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
overlays="misc/loyal-icon.png"
[/unit]
#enddef
@ -172,9 +175,11 @@
#define NO_UPKEEP
# Meant to be used as a suffix to a unit-generating macro call.
# Use this wheen you don't want to use up a traits slot.
# Use this when you don't want to use up a traits slot.
[+unit]
upkeep=loyal
# It's questionable whether we should do this here...
overlays="misc/loyal-icon.png"
[/unit]
#enddef