ANL: use loyal trait to mark the lack of upkeep

Then spiders got an extra side
The Lvl 0 ones never pay upkeep and got their own macro
The Lvl 2 Guards got the loyal trait

That way it's clearly communicated that all these units don't pay
upkeep, without being obstrusive about the fact.
This commit is contained in:
Severin Glöckner 2019-06-12 01:44:42 +02:00 committed by sevu
parent 481667c1c6
commit d4439a7a67
2 changed files with 18 additions and 6 deletions

View file

@ -391,28 +391,28 @@
{ANL_PLACE_UNIT 5 "Walking Corpse" 10 25}
{ANL_PLACE_GUARDIAN 5 "Revenant" 26 18}
{ANL_PLACE_GUARDIAN 5 "Revenant" 45 32}
{ANL_PLACE_GUARDIAN 5 "Walking Corpse" 13 27}
{ANL_PLACE_GUARD_L0 5 "Walking Corpse" 13 27}
# Initial AI units - Side 6
{ANL_PLACE_UNIT 6 "Goblin Spearman" 50 25}
{ANL_PLACE_UNIT 6 "Goblin Spearman" 50 25}
{ANL_PLACE_UNIT 6 "Goblin Spearman" 50 25}
{ANL_PLACE_GUARDIAN 6 "Orcish Warrior" 34 18}
{ANL_PLACE_GUARDIAN 6 "Orcish Warrior" 45 24}
{ANL_PLACE_GUARDIAN 6 "Goblin Spearman" 47 27}
{ANL_PLACE_GUARD_L0 6 "Goblin Spearman" 47 27}
# Initial AI units - Side 7
{ANL_PLACE_UNIT 7 "Goblin Spearman" 10 30}
{ANL_PLACE_UNIT 7 "Goblin Spearman" 10 30}
{ANL_PLACE_UNIT 7 "Goblin Spearman" 10 30}
{ANL_PLACE_GUARDIAN 7 "Orcish Warrior" 15 32}
{ANL_PLACE_GUARDIAN 7 "Orcish Warrior" 26 37}
{ANL_PLACE_GUARDIAN 7 "Goblin Spearman" 13 29}
{ANL_PLACE_GUARD_L0 7 "Goblin Spearman" 13 29}
# Initial AI units - Side 8
{ANL_PLACE_UNIT 8 "Walking Corpse" 50 30}
{ANL_PLACE_UNIT 8 "Walking Corpse" 50 30}
{ANL_PLACE_UNIT 8 "Walking Corpse" 50 30}
{ANL_PLACE_GUARDIAN 8 "Revenant" 15 24}
{ANL_PLACE_GUARDIAN 8 "Revenant" 34 37}
{ANL_PLACE_GUARDIAN 8 "Walking Corpse" 47 29}
{ANL_PLACE_GUARD_L0 8 "Walking Corpse" 47 29}
[/event]
# Setting leader names

View file

@ -240,14 +240,26 @@
{GUARDIAN}
#enddef
#define ANL_PLACE_GUARDIAN SIDE TYPE X Y
#define ANL_PLACE_GUARD_L0 SIDE TYPE X Y
# same, but with movement restriction
{NOTRAIT_UNIT {SIDE} {TYPE} {X} {Y} }
{GUARDIAN}
[+unit]
[+modifications]
{MOVEMENT_RESTRICTION}
[/modifications]
upkeep=loyal
[/unit]
#enddef
#define ANL_PLACE_GUARDIAN SIDE TYPE X Y
# same, but with loyal trait
{NOTRAIT_UNIT {SIDE} {TYPE} {X} {Y} }
{GUARDIAN}
[+unit]
[+modifications]
{MOVEMENT_RESTRICTION}
{TRAIT_LOYAL}
[/modifications]
[/unit]
#enddef