More systematic use of generator macros.

This commit is contained in:
Eric S. Raymond 2009-12-15 19:00:29 +00:00
parent c06fa3e162
commit 4f36d47399
2 changed files with 7 additions and 27 deletions

View file

@ -130,14 +130,9 @@
{VARIABLE stored_Baldras.facing sw}
[unit]
side=3
type=Lieutenant
x,y=17,39
id=Rothel
name= _ "Rothel"
{NAMED_LOYAL_UNIT 3 Lieutenant 17 39 Rothel (_ "Rothel")}
[+unit]
[modifications]
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
[/unit]

View file

@ -126,18 +126,10 @@
[event]
name=prestart
[unit]
type="Orcish Slayer"
id="Plonk"
name= _ "Plonk"
x=20
y=4
{NAMED_LOYAL_UNIT 1 (Orcish Slayer) 20 4 Plonk (_ "Plonk")}
[+unit]
random_traits=no
[modifications]
{TRAIT_LOYAL}
[/modifications]
[/unit]
{NAMED_UNIT 1 (Watch Tower) 30 5 (Eastern Tower) (_"Eastern Tower") (upkeep=free)}
{NAMED_UNIT 1 (Watch Tower) 10 4 (Western Tower) (_"Western Tower") (upkeep=free)}
{NAMED_UNIT 1 (Watch Tower) 19 5 (Southern Tower) (_"Southern Tower") (upkeep=free)}
@ -230,18 +222,11 @@
[event]
name=turn 4
[unit]
type=Saurian Ambusher
id=Inarix
name= _ "Inarix"
side=1
# wmllint: recognize Inarix
{NAMED_LOYAL_UNIT 1 (Saurian Ambusher) 8 42 Inarix (_ "Inarix")}
[+unit]
random_traits=no
profile=portraits/inarix.png
x=8
y=42
[modifications]
{TRAIT_LOYAL}
[/modifications]
[/unit]
{GENERIC_UNIT 1 "Saurian Skirmisher" 8 42}