summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-30 17:44:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-30 17:44:47 +0300
commit8290e4011fb9c5532c96f916d17d19567077f995 (patch)
treee6fcca955c78ee8aad072b05c8c9c3de5b8fc382 /src/emap/init.c
parente2874a254e4270b58727a1fb3285cc167d04fa38 (diff)
downloadplugin-8290e4011fb9c5532c96f916d17d19567077f995.tar.gz
plugin-8290e4011fb9c5532c96f916d17d19567077f995.tar.bz2
plugin-8290e4011fb9c5532c96f916d17d19567077f995.tar.xz
plugin-8290e4011fb9c5532c96f916d17d19567077f995.zip
Add script command successremovecardsindex.
For remove all cards from item by inventory index.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index f3b98cb..a9aaba5 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -143,6 +143,7 @@ HPExport void plugin_init (void)
addScriptCommand("failedrefindex", "i", failedRefIndex);
addScriptCommand("downrefindex", "ii", downRefIndex);
addScriptCommand("successrefindex", "ii", successRefIndex);
+ addScriptCommand("successremovecardsindex", "i", successRemoveCardsIndex);
addScriptCommand("isstr", "v", isStr);
addScriptCommand("setbgteam", "ii", setBgTeam);
addScriptCommand("checknpccell", "siii", checkNpcCell);