diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-24 02:43:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-24 02:43:12 +0300 |
commit | 77cc71cde657cca6c2747a41e3c1672cd4c6092b (patch) | |
tree | 77f3ae7484c49109c9803dc6ba99011e74079236 /src/emap/init.c | |
parent | 207e14ad4c4efe77e258efc55b09ccbf1c66845c (diff) | |
download | evol-hercules-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.gz evol-hercules-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.bz2 evol-hercules-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.xz evol-hercules-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.c | 1 |
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); |