summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-08-14 08:55:37 -0400
committergumi <git@gumi.ca>2020-08-14 08:55:37 -0400
commitad236eedb24396e5620f9c28a264126979532200 (patch)
treeddb5016ba8e19d62502ef5fde8fc26d51a1d620f /src/emap/init.c
parent0f3d3493e5442728b42a27b89150c7aaa5c7e884 (diff)
downloadplugin-ad236eedb24396e5620f9c28a264126979532200.tar.gz
plugin-ad236eedb24396e5620f9c28a264126979532200.tar.bz2
plugin-ad236eedb24396e5620f9c28a264126979532200.tar.xz
plugin-ad236eedb24396e5620f9c28a264126979532200.zip
add a script command to get craft recipe ingredients
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 05ba6fa..19eaea5 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -146,6 +146,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);