diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-24 17:48:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-24 17:48:55 +0300 |
commit | ce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff (patch) | |
tree | 163c40267ec7ad9edf32ec6a3e06a12f6b1132b0 /src/emap/craft.h | |
parent | e7cd9086185804d815fb0dc72e3bfd36fdd9a33f (diff) | |
download | evol-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.h | 2 |
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 |