summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-12 00:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-12 00:27:33 +0300
commit0055aac688833a01cbe2b3e6b951bb162a80b474 (patch)
tree964e304726a0834f013dcf9cfe1cf6d11eb24846 /src/emap/init.c
parent2ea5c39f78db6359e50310dfe60b55ac61f97a2b (diff)
downloadplugin-0055aac688833a01cbe2b3e6b951bb162a80b474.tar.gz
plugin-0055aac688833a01cbe2b3e6b951bb162a80b474.tar.bz2
plugin-0055aac688833a01cbe2b3e6b951bb162a80b474.tar.xz
plugin-0055aac688833a01cbe2b3e6b951bb162a80b474.zip
Add script command for delete craftobject.
New script command: deletecraft id
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 18b5dfc..6719503 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -102,6 +102,7 @@ HPExport void plugin_init (void)
addScriptCommand("requestcraft", "v*", requestCraft);
addScriptCommand("initcraft", "s", initCraft);
addScriptCommand("dumpcraft", "i", dumpCraft);
+ addScriptCommand("deletecraft", "i", deleteCraft);
addScriptCommand("getq", "i", getq);
addScriptCommand("setq", "ii", setq);
addScriptCommand("setnpcdir", "*", setNpcDir);