summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter.l
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-11-29 13:56:08 -0700
committerFate <fate-tmw@googlemail.com>2008-11-29 13:56:08 -0700
commit7eb238fac9043bc9e850b5e881caa59d99f8c97a (patch)
tree389cb8b95345a6d28122d37fddcf780b824ef495 /src/map/magic-interpreter.l
parentc41894ef2fd51dcc17e030536272fbf03f17f1a8 (diff)
downloadtmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.gz
tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.bz2
tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.xz
tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.zip
SLang: Added `sqrt' function, permit looping over NPCs
Diffstat (limited to 'src/map/magic-interpreter.l')
-rw-r--r--src/map/magic-interpreter.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/magic-interpreter.l b/src/map/magic-interpreter.l
index c16ba8e..2c9792f 100644
--- a/src/map/magic-interpreter.l
+++ b/src/map/magic-interpreter.l
@@ -86,6 +86,7 @@
"ATTRIGGER" {FIXLOC; return ATTRIGGER;}
"CONST" {FIXLOC; return CONST;}
"PC" {FIXLOC; return PC_F;}
+"NPC" {FIXLOC; return NPC_F;}
"MOB" {FIXLOC; return MOB_F;}
"ENTITY" {FIXLOC; return ENTITY_F;}
"TARGET" {FIXLOC; return TARGET_F;}