AToTB Standardize Baran

Use a macro to ensure consistent definition.
This commit is contained in:
Gregory A Lundberg 2016-08-15 16:16:45 -05:00
parent 955b8477d2
commit f351f35703
3 changed files with 20 additions and 29 deletions

View file

@ -98,21 +98,8 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
facing=nw
[unit]
id=Baran
name= _ "Baran"
unrenamable=yes
type=Red Mage
profile=portraits/baran.png
side=1
{IS_HERO}
x,y=31,21
facing=se
[modifications]
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
{BARAN (x,y=31,21
facing=se)}
# The armed villagers, beware them
{NAMED_LOYAL_UNIT () Spearman 30 22 Alwyn (_ "Alwyn")} {FACING nw}

View file

@ -627,20 +627,7 @@ Yet for some reason I fear these brothers more. If Mordak were here it would be
[/have_location]
[/filter_condition]
[unit]
side=1
id=Baran
name= _ "Baran"
unrenamable=yes
type=Red Mage
profile=portraits/baran.png
{IS_HERO}
x,y=3,3
[modifications]
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
{BARAN (x,y=3,3)}
[redraw]
side=1

View file

@ -26,3 +26,20 @@
[/endlevel]
[/event]
#enddef
#define BARAN PLACEMENT
[unit]
id=Baran
name= _ "Baran"
unrenamable=yes
type=Red Mage
profile=portraits/baran.png
side=1
{IS_HERO}
{PLACEMENT}
[modifications]
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
#enddef