summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-24 02:43:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-24 02:43:12 +0300
commit77cc71cde657cca6c2747a41e3c1672cd4c6092b (patch)
tree77f3ae7484c49109c9803dc6ba99011e74079236 /src/emap/init.c
parent207e14ad4c4efe77e258efc55b09ccbf1c66845c (diff)
downloadplugin-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.gz
plugin-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.bz2
plugin-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.xz
plugin-77cc71cde657cca6c2747a41e3c1672cd4c6092b.zip
Add script command for use craft.
New script command: usecraft CRAFT Where CRAFT - craft id created by initcraft.
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 e628fb3..bb732ed 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -106,6 +106,7 @@ HPExport void plugin_init (void)
addScriptCommand("dumpcraft", "i", dumpCraft);
addScriptCommand("deletecraft", "i", deleteCraft);
addScriptCommand("findcraftentry", "ii", findCraftEntry);
+ addScriptCommand("usecraft", "i", useCraft);
addScriptCommand("getcraftslotid", "ii", getCraftSlotId);
addScriptCommand("getcraftslotamount", "ii", getCraftSlotAmount);
addScriptCommand("validatecraft", "i", validateCraft);