summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-24 17:48:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-24 17:48:55 +0300
commitce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff (patch)
tree163c40267ec7ad9edf32ec6a3e06a12f6b1132b0 /src/emap/init.c
parente7cd9086185804d815fb0dc72e3bfd36fdd9a33f (diff)
downloadevol-hercules-ce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff.tar.gz
evol-hercules-ce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff.tar.bz2
evol-hercules-ce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff.tar.xz
evol-hercules-ce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff.zip
Add script function for get return code from craft entry.
New script function: getcraftcode ENTRY
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 bb732ed..0e1463a 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -107,6 +107,7 @@ HPExport void plugin_init (void)
addScriptCommand("deletecraft", "i", deleteCraft);
addScriptCommand("findcraftentry", "ii", findCraftEntry);
addScriptCommand("usecraft", "i", useCraft);
+ addScriptCommand("getcraftcode", "i", getCraftCode);
addScriptCommand("getcraftslotid", "ii", getCraftSlotId);
addScriptCommand("getcraftslotamount", "ii", getCraftSlotAmount);
addScriptCommand("validatecraft", "i", validateCraft);