summaryrefslogtreecommitdiff
path: root/src/emap/craft.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-12 01:48:43 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-12 01:48:43 +0300
commit32edcdcf47c804d0bb40299fad5d184b558bb76c (patch)
tree279589abd15ec4d939cf251125ea29aee035596a /src/emap/craft.h
parent0055aac688833a01cbe2b3e6b951bb162a80b474 (diff)
downloadevol-hercules-32edcdcf47c804d0bb40299fad5d184b558bb76c.tar.gz
evol-hercules-32edcdcf47c804d0bb40299fad5d184b558bb76c.tar.bz2
evol-hercules-32edcdcf47c804d0bb40299fad5d184b558bb76c.tar.xz
evol-hercules-32edcdcf47c804d0bb40299fad5d184b558bb76c.zip
Add script command for get item id from one craft slot.
New script command: getcraftslotid id, slot
Diffstat (limited to 'src/emap/craft.h')
-rw-r--r--src/emap/craft.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/craft.h b/src/emap/craft.h
index fd9c3d2..8c63546 100644
--- a/src/emap/craft.h
+++ b/src/emap/craft.h
@@ -33,5 +33,6 @@ int str_to_craftvar(TBL_PC *sd, const char *craftstr);
struct craft_vardata *craft_str_to_craft(const char *craftstr);
void craft_dump(TBL_PC *sd, const int id);
void craft_delete(const int id);
+struct craft_slot *craft_get_slot(const int id, const int slot);
#endif // EVOL_MAP_CRAFT