Get rid of a unit-generator macro,

...and fix siomething correctly marked as possibly bad English.
This commit is contained in:
Eric S. Raymond 2008-11-19 22:58:26 +00:00
parent fb683db59f
commit b762f4c368
4 changed files with 11 additions and 26 deletions

View file

@ -286,7 +286,7 @@
{RANDOM 1..$possible_mage_locations.length}
{VARIABLE_OP random add -1}
{GEN_UNIT $magetypetable[$magetypetable_i].type 2 $possible_mage_locations[$random].x $possible_mage_locations[$random].y}
{GENERIC_UNIT 2 $magetypetable[$magetypetable_i].type $possible_mage_locations[$random].x $possible_mage_locations[$random].y}
[store_locations]
find_in=possible_mage_locations

View file

@ -204,17 +204,16 @@
{CLEAR_VARIABLE stored_Darken}
# Create DV's units
{GEN_UNIT (Revenant) 3 26 16}
{GEN_UNIT (Spectre) 3 26 16}
{GEN_UNIT (Deathblade) 3 26 16}
{GEN_UNIT (Necrophage) 3 26 16}
{GEN_UNIT (Banebow) 3 26 16}
{GEN_UNIT (Nightgaunt) 3 26 16}
{GENERIC_UNIT 3 (Revenant) 26 16}
{GENERIC_UNIT 3 (Spectre) 26 16}
{GENERIC_UNIT 3 (Deathblade) 26 16}
{GENERIC_UNIT 3 (Necrophage) 26 16}
{GENERIC_UNIT 3 (Banebow) 26 16}
{GENERIC_UNIT 3 (Nightgaunt) 26 16}
[message]
speaker=Malin Keshar
#Possibly bad English!
message=_ "I feel the book is very close somewhere in the northwest."
message=_ "I feel the book is very close, somewhere to the northwest."
[/message]
[/event]

View file

@ -372,9 +372,9 @@
random_traits=yes
animate=no
[/unit]
{GEN_UNIT (Paladin) 3 31 24}
{GEN_UNIT (Paladin) 3 31 23}
{GEN_UNIT (Mage of Light) 3 33 24}
{GENERIC_UNIT 3 (Paladin) 31 24}
{GENERIC_UNIT 3 (Paladin) 31 23}
{GENERIC_UNIT 3 (Mage of Light) 33 24}
# Make camp
[terrain]
x=31-33,32

View file

@ -68,20 +68,6 @@
[/unit]
#enddef
# Generate a unit with random name and random traits
#define GEN_UNIT TYPE SIDE X Y
[unit]
type={TYPE}
side={SIDE}
x={X}
y={Y}
generate_name=yes
random_traits=yes
upkeep=loyal
animate=no
[/unit]
#enddef
# Create a new ghost-type "advisor" if Malin doesn't already have one
#define CREATE_ADVISOR
[recall]