diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-12 19:09:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-12 19:09:32 +0300 |
commit | 3c03c2587d97513a95de0f31c6d7970cbe3b99b3 (patch) | |
tree | d6ca57656cfd49df93a35245accf05f6ea7b08df /src/emap/craft.h | |
parent | 4e441e9826be68d8329fd54e4b5e7878f511d91a (diff) | |
download | evol-hercules-3c03c2587d97513a95de0f31c6d7970cbe3b99b3.tar.gz evol-hercules-3c03c2587d97513a95de0f31c6d7970cbe3b99b3.tar.bz2 evol-hercules-3c03c2587d97513a95de0f31c6d7970cbe3b99b3.tar.xz evol-hercules-3c03c2587d97513a95de0f31c6d7970cbe3b99b3.zip |
Add script command for validate craft object after some time it was created.
New script command: validatecraft id
Diffstat (limited to 'src/emap/craft.h')
-rw-r--r-- | src/emap/craft.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/craft.h b/src/emap/craft.h index 8c63546..6d92bad 100644 --- a/src/emap/craft.h +++ b/src/emap/craft.h @@ -34,5 +34,6 @@ 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); +bool craft_validate(TBL_PC *sd, const int id); #endif // EVOL_MAP_CRAFT |