summaryrefslogtreecommitdiff
path: root/src/emap/craft.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-24 17:48:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-24 17:48:55 +0300
commitce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff (patch)
tree163c40267ec7ad9edf32ec6a3e06a12f6b1132b0 /src/emap/craft.h
parente7cd9086185804d815fb0dc72e3bfd36fdd9a33f (diff)
downloadevol-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/craft.h')
-rw-r--r--src/emap/craft.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/craft.h b/src/emap/craft.h
index 2763907..329dbb4 100644
--- a/src/emap/craft.h
+++ b/src/emap/craft.h
@@ -42,5 +42,7 @@ struct craft_slot *craft_get_slot(const int id, const int slot);
bool craft_validate(TBL_PC *sd, const int id);
int craft_find_entry(TBL_PC *sd, const int craftvar, const int flag);
bool craft_use_entry(TBL_PC *sd, const int id);
+bool craft_use(TBL_PC *sd, const int id);
+int craft_get_entry_code(TBL_PC *sd, const int id);
#endif // EVOL_MAP_CRAFT