summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-09-12 13:55:37 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-12 13:55:37 -0300
commita5d2bdfdf8dab45a70bb7adebb17f66b8959f49e (patch)
tree20f65a626b3a30dfec79d19f00d429e0a26362de /src/emap/init.c
parent20308f6e1c6607d8127fb9e10c13ab4195cb7661 (diff)
downloadevol-hercules-a5d2bdfdf8dab45a70bb7adebb17f66b8959f49e.tar.gz
evol-hercules-a5d2bdfdf8dab45a70bb7adebb17f66b8959f49e.tar.bz2
evol-hercules-a5d2bdfdf8dab45a70bb7adebb17f66b8959f49e.tar.xz
evol-hercules-a5d2bdfdf8dab45a70bb7adebb17f66b8959f49e.zip
add a script command to get craft recipe ingredients
fixup for getcraftrecipe
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 c321823..40e7c47 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -147,6 +147,7 @@ HPExport void plugin_init (void)
addScriptCommand("getcraftslotid", "ii", getCraftSlotId);
addScriptCommand("getcraftslotamount", "ii", getCraftSlotAmount);
addScriptCommand("validatecraft", "i", validateCraft);
+ addScriptCommand("getcraftrecipe", "iirr", getCraftRecipe);
addScriptCommand("getq", "i", getq);
addScriptCommand("getq1", "i", getq);
addScriptCommand("getq2", "i", getq2);