diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-22 01:05:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-22 01:05:48 +0300 |
commit | 3fde4db8cdc341839282e6c521c0a9214ad23a7c (patch) | |
tree | 443d3e893f152dcdadae9456dcd7a8be4fb2c5b5 /src/emap/init.c | |
parent | 6f0de26cf8919b92000857a065ad2b0e86167994 (diff) | |
download | plugin-3fde4db8cdc341839282e6c521c0a9214ad23a7c.tar.gz plugin-3fde4db8cdc341839282e6c521c0a9214ad23a7c.tar.bz2 plugin-3fde4db8cdc341839282e6c521c0a9214ad23a7c.tar.xz plugin-3fde4db8cdc341839282e6c521c0a9214ad23a7c.zip |
Add script command successrefindex for success item refine by index.
New script command: successrefindex index, num;
index - inventory index
num - how many levels to up.
Example:
successrefindex .@index, 3;
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 cdbe31a..7313d74 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -118,6 +118,7 @@ HPExport void plugin_init (void) addScriptCommand("isunitwalking", "?", isUnitWalking); addScriptCommand("failedrefindex", "i", failedRefIndex); addScriptCommand("downrefindex", "ii", downRefIndex); + addScriptCommand("successrefindex", "ii", successRefIndex); do_init_langs(); |