From 32edcdcf47c804d0bb40299fad5d184b558bb76c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 12 Jan 2016 01:48:43 +0300 Subject: Add script command for get item id from one craft slot. New script command: getcraftslotid id, slot --- src/emap/craft.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/emap/craft.h') 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 -- cgit v1.2.3-60-g2f50