diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-24 17:48:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-24 17:48:55 +0300 |
commit | ce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff (patch) | |
tree | 163c40267ec7ad9edf32ec6a3e06a12f6b1132b0 /src/emap/init.c | |
parent | e7cd9086185804d815fb0dc72e3bfd36fdd9a33f (diff) | |
download | evol-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.c | 1 |
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); |