From ce563a50ff4997f4a3f1ccd8bd1fdec5708b3bff Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jan 2016 17:48:55 +0300 Subject: Add script function for get return code from craft entry. New script function: getcraftcode ENTRY --- src/emap/craft.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/emap/craft.h') 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 -- cgit v1.2.3-70-g09d2