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/init.c | |
parent | 4e441e9826be68d8329fd54e4b5e7878f511d91a (diff) | |
download | plugin-3c03c2587d97513a95de0f31c6d7970cbe3b99b3.tar.gz plugin-3c03c2587d97513a95de0f31c6d7970cbe3b99b3.tar.bz2 plugin-3c03c2587d97513a95de0f31c6d7970cbe3b99b3.tar.xz plugin-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/init.c')
-rw-r--r-- | src/emap/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index b71ac37..7479a36 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -105,6 +105,7 @@ HPExport void plugin_init (void) addScriptCommand("deletecraft", "i", deleteCraft); addScriptCommand("getcraftslotid", "ii", getCraftSlotId); addScriptCommand("getcraftslotamount", "ii", getCraftSlotAmount); + addScriptCommand("validatecraft", "i", validateCraft); addScriptCommand("getq", "i", getq); addScriptCommand("setq", "ii", setq); addScriptCommand("setnpcdir", "*", setNpcDir); |