SotBE S6: remove HUMAN_PILLAGER macro
This can also be done with the UNIT macro.
This commit is contained in:
parent
45d76a325b
commit
bb3709ffbe
1 changed files with 9 additions and 20 deletions
|
@ -456,42 +456,31 @@
|
|||
|
||||
{RANDOM 0..2}
|
||||
|
||||
#define HUMAN_PILLAGER TYPE X Y
|
||||
[unit]
|
||||
side=3
|
||||
type={TYPE}
|
||||
x,y={X},{Y}
|
||||
random_traits=yes
|
||||
generate_name=yes
|
||||
moves=0
|
||||
[/unit]
|
||||
#enddef
|
||||
|
||||
[switch]
|
||||
variable=random
|
||||
|
||||
[case]
|
||||
value=0
|
||||
|
||||
{HUMAN_PILLAGER Fencer $x1 $y1}
|
||||
{HUMAN_PILLAGER Swordsman $x1 $y1}
|
||||
{HUMAN_PILLAGER Mage $x1 $y1}
|
||||
{UNIT 3 Fencer $x1 $y1 (moves=0)}
|
||||
{UNIT 3 Swordsman $x1 $y1 (moves=0)}
|
||||
{UNIT 3 Mage $x1 $y1 (moves=0)}
|
||||
[/case]
|
||||
|
||||
[case]
|
||||
value=1
|
||||
|
||||
{HUMAN_PILLAGER Cavalryman $x1 $y1}
|
||||
{HUMAN_PILLAGER Javelineer $x1 $y1}
|
||||
{HUMAN_PILLAGER Bowman $x1 $y1}
|
||||
{UNIT 3 Cavalryman $x1 $y1 (moves=0)}
|
||||
{UNIT 3 Javelineer $x1 $y1 (moves=0)}
|
||||
{UNIT 3 Bowman $x1 $y1 (moves=0)}
|
||||
[/case]
|
||||
|
||||
[case]
|
||||
value=2
|
||||
|
||||
{HUMAN_PILLAGER Pikeman $x1 $y1}
|
||||
{HUMAN_PILLAGER Bowman $x1 $y1}
|
||||
{HUMAN_PILLAGER Fencer $x1 $y1}
|
||||
{UNIT 3 Pikeman $x1 $y1 (moves=0)}
|
||||
{UNIT 3 Bowman $x1 $y1 (moves=0)}
|
||||
{UNIT 3 Fencer $x1 $y1 (moves=0)}
|
||||
[/case]
|
||||
[/switch]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue