SIDE -> SIDES in LIMIT_CONTEMPORANEOUS_RECRUITS.

This commit is contained in:
Eric S. Raymond 2010-06-18 17:52:17 +00:00
parent 666a416a36
commit 714361d562

View file

@ -8,20 +8,20 @@
# under your [scenario] tag, and not within an event such as start or
# prestart.
#define LIMIT_CONTEMPORANEOUS_RECRUITS SIDE TYPE LIMIT_NUMBER
#define LIMIT_CONTEMPORANEOUS_RECRUITS SIDES TYPE LIMIT_NUMBER
# Limit the number of units passing a specified filter that a side
# can have simultaneously. When the number of matching units
# side has reaches or exceeds LIMIT_NUMBER, that side is prevented from
# recruiting more until the number of units of that type drops
# below LIMIT_NUMBER again.
#
# Allow side 2 no more than 2 Troll Rocklobbers at a time
#! {LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Troll Rocklobber" 2}
# Allow sides 2 and 3 no more than 2 Troll Rocklobbers at a time
#! {LIMIT_CONTEMPORANEOUS_RECRUITS 2,3 "Troll Rocklobber" 2}
[event]
name=side turn
first_time_only=no
{VARIABLE LCR_temp {SIDE}}
{VARIABLE LCR_temp {SIDES}}
[if]
[variable]
@ -62,7 +62,7 @@
first_time_only=no
[filter]
side={SIDE}
side={SIDES}
type={TYPE}
[/filter]