summaryrefslogtreecommitdiff
path: root/src/emap/script.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-27 18:07:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-27 18:07:52 +0300
commit454c1448e30fe9d8cc2e6bc535921b2f7efd58e2 (patch)
treef3b7e3cf2da964ed5ffd3ebb093de5b7cc002077 /src/emap/script.h
parent828bececcd905903535b1e543a5b1dc1581c250d (diff)
downloadplugin-454c1448e30fe9d8cc2e6bc535921b2f7efd58e2.tar.gz
plugin-454c1448e30fe9d8cc2e6bc535921b2f7efd58e2.tar.bz2
plugin-454c1448e30fe9d8cc2e6bc535921b2f7efd58e2.tar.xz
plugin-454c1448e30fe9d8cc2e6bc535921b2f7efd58e2.zip
Add .lang variable to npc for storing language.
Also add hooks to set/get vars.
Diffstat (limited to 'src/emap/script.h')
-rw-r--r--src/emap/script.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/script.h b/src/emap/script.h
index 599dbe1..dcd0bf5 100644
--- a/src/emap/script.h
+++ b/src/emap/script.h
@@ -4,6 +4,9 @@
#ifndef EVOL_MAP_SCRIPT
#define EVOL_MAP_SCRIPT
+void escript_set_reg_npc_num(struct script_state* st, struct reg_db *n, int64 *num, const char* name, int *val);
+int escript_get_val_npcscope_num(struct script_state* st, struct reg_db *n, struct script_data* data);
+
BUILDIN(l);
BUILDIN(lg);
BUILDIN(setCamNpc);