Nuke a commented-out macro, the {SIDES} argument was confusing wmllint.

This commit is contained in:
Eric S. Raymond 2008-11-22 21:15:39 +00:00
parent db6036c6e1
commit 918f8ca6f4

View file

@ -152,67 +152,3 @@
[/event]
#enddef
# This is commented out because it seems to incur a little delay at turn start
# yet it's not actually used (the player or allies don't get any units spawned
# for them in the final scenarios). Belongs to the above macro.
#ifdef __UNUSED
[event]
name=side turn
first_time_only=no
{VARIABLE great_horde_sides {SIDES}}
[if]
[variable]
name=great_horde_sides
contains=$side_number
[/variable]
[then]
[store_unit]
[filter]
side={SIDES}
x,y=1-99,1-99
[not]
canrecruit=yes
[/not]
[not]
[filter_wml]
[modifications]
[trait]
id=loyal
[/trait]
[/modifications]
[/filter_wml]
[/not]
[not]
[filter_wml]
[variables]
great_horde_upkeep_mod_applied=yes
[/variables]
[/filter_wml]
[/not]
[/filter]
kill=yes
variable=great_horde_units
[/store_unit]
{FOREACH great_horde_units i}
{VARIABLE great_horde_units[$i].upkeep $great_horde_units[$i].level}
{VARIABLE_OP great_horde_units[$i].upkeep add -1}
{VARIABLE great_horde_units[$i].variables.great_horde_upkeep_mod_applied yes}
[unstore_unit]
variable=great_horde_units[$i]
[/unstore_unit]
{NEXT i}
{CLEAR_VARIABLE great_horde_units}
[/then]
[/if]
[/event]
#endif