Restore some filter elements restricting to units on map...

...that I removed in 2008-07-13T16:27:37Z!crazy-ivanovic@gmx.net and 2008-07-13T16:37:29Z!crazy-ivanovic@gmx.net, 
mistakenly believing them to be no-ops.
This commit is contained in:
Eric S. Raymond 2008-08-20 21:30:23 +00:00
parent ecb1b560aa
commit 4eae029023
3 changed files with 6 additions and 0 deletions

View file

@ -354,6 +354,7 @@
{MODIFY_UNIT (
side=1
{ON_MAP_ONLY}
[not]
id=Malin Keshar

View file

@ -461,6 +461,7 @@
variable=stored_Sir_Gerrick_army
[filter]
side=1
{ON_MAP_ONLY}
[/filter]
kill=yes
[/store_unit]

View file

@ -7,6 +7,10 @@
#define UNREACHABLE
99 #enddef
# Use this to restrict a filter to on-map units, not the recaall list.
#define ON_MAP_ONLY
x,y=1-99,1-99 #enddef
#define GENERIC_UNIT SIDE TYPE X Y
# Creates a generic unit of TYPE belonging to SIDE at X,Y, which has a
# random name, gender and traits (just like a recruited unit).