summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-29 19:29:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-29 19:29:51 +0300
commit8c1ade72e6e44aa73b3609dbcb6eb07bae59c2b9 (patch)
tree0f9046863f75dc622e71a42a35f4974007af1dea /src/map/init.c
parent7d9fb1c5c1101fc1fc0afaa2508c842cedbf1a5a (diff)
downloadevol-hercules-8c1ade72e6e44aa73b3609dbcb6eb07bae59c2b9.tar.gz
evol-hercules-8c1ade72e6e44aa73b3609dbcb6eb07bae59c2b9.tar.bz2
evol-hercules-8c1ade72e6e44aa73b3609dbcb6eb07bae59c2b9.tar.xz
evol-hercules-8c1ade72e6e44aa73b3609dbcb6eb07bae59c2b9.zip
Add script function for request item from player to npc.
New script command: requestitem .@var
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 f9378f8..2187a36 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -70,6 +70,7 @@ HPExport void plugin_init (void)
addScriptCommand("l", "s*", l);
addScriptCommand("lg", "s*", lg);
addScriptCommand("requestlang", "v", requestLang);
+ addScriptCommand("requestitem", "v", requestItem);
addScriptCommand("getq", "i", getq);
addScriptCommand("setq", "ii", setq);
addScriptCommand("getnpcdir", "*", getNpcDir);