Skip to content

Commit

Permalink
AToTB Standardize Baran
Browse files Browse the repository at this point in the history
Use a macro to ensure consistent definition.
  • Loading branch information
GregoryLundberg committed Aug 19, 2016
1 parent 955b847 commit f351f35
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 29 deletions.
17 changes: 2 additions & 15 deletions data/campaigns/Two_Brothers/scenarios/01_Rooting_Out_a_Mage.cfg
Expand Up @@ -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}
Expand Down
15 changes: 1 addition & 14 deletions data/campaigns/Two_Brothers/scenarios/03_Guarded_Castle.cfg
Expand Up @@ -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
Expand Down
17 changes: 17 additions & 0 deletions data/campaigns/Two_Brothers/utils/characters.cfg
Expand Up @@ -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

0 comments on commit f351f35

Please sign in to comment.