diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-12 01:48:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-12 01:48:43 +0300 |
commit | 32edcdcf47c804d0bb40299fad5d184b558bb76c (patch) | |
tree | 279589abd15ec4d939cf251125ea29aee035596a /src/emap/init.c | |
parent | 0055aac688833a01cbe2b3e6b951bb162a80b474 (diff) | |
download | evol-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.c | 1 |
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); |