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:
parent
03e6156b6c
commit
f88a4be057
3 changed files with 11 additions and 1 deletions
BIN
data/core/images/misc/loyal-icon.png
Normal file
BIN
data/core/images/misc/loyal-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 296 B |
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue