summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-29 19:49:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-29 19:49:35 +0300
commit73b8dc48525960683da90286112e6740b3758101 (patch)
treee202c369f0aaece4d541f7221222e8585a353e47 /src/map/init.c
parent8c1ade72e6e44aa73b3609dbcb6eb07bae59c2b9 (diff)
downloadevol-hercules-73b8dc48525960683da90286112e6740b3758101.tar.gz
evol-hercules-73b8dc48525960683da90286112e6740b3758101.tar.bz2
evol-hercules-73b8dc48525960683da90286112e6740b3758101.tar.xz
evol-hercules-73b8dc48525960683da90286112e6740b3758101.zip
Add script command for request multiply items from client to npc.
New script command: requestItems .@var$ [,count]
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 2187a36..fb91cfe 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -71,6 +71,7 @@ HPExport void plugin_init (void)
addScriptCommand("lg", "s*", lg);
addScriptCommand("requestlang", "v", requestLang);
addScriptCommand("requestitem", "v", requestItem);
+ addScriptCommand("requestitems", "v*", requestItems);
addScriptCommand("getq", "i", getq);
addScriptCommand("setq", "ii", setq);
addScriptCommand("getnpcdir", "*", getNpcDir);