summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-12 01:48:43 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-12 01:48:43 +0300
commit32edcdcf47c804d0bb40299fad5d184b558bb76c (patch)
tree279589abd15ec4d939cf251125ea29aee035596a /src/emap/init.c
parent0055aac688833a01cbe2b3e6b951bb162a80b474 (diff)
downloadevol-hercules-32edcdcf47c804d0bb40299fad5d184b558bb76c.tar.gz
evol-hercules-32edcdcf47c804d0bb40299fad5d184b558bb76c.tar.bz2
evol-hercules-32edcdcf47c804d0bb40299fad5d184b558bb76c.tar.xz
evol-hercules-32edcdcf47c804d0bb40299fad5d184b558bb76c.zip
Add script command for get item id from one craft slot.
New script command: getcraftslotid id, slot
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 6719503..7a00569 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -103,6 +103,7 @@ HPExport void plugin_init (void)
addScriptCommand("initcraft", "s", initCraft);
addScriptCommand("dumpcraft", "i", dumpCraft);
addScriptCommand("deletecraft", "i", deleteCraft);
+ addScriptCommand("getcraftslotid", "ii", getCraftSlotId);
addScriptCommand("getq", "i", getq);
addScriptCommand("setq", "ii", setq);
addScriptCommand("setnpcdir", "*", setNpcDir);