summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-01 22:24:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-01 22:24:17 +0300
commit3242c560742518770c6ea97db03bf89d314cb963 (patch)
tree107e7868125bb67034e0ef3a9ef2101007420033 /src/map/init.c
parentdc7c6e13e5535e4fe78bb84f9920347880022327 (diff)
downloadevol-hercules-3242c560742518770c6ea97db03bf89d314cb963.tar.gz
evol-hercules-3242c560742518770c6ea97db03bf89d314cb963.tar.bz2
evol-hercules-3242c560742518770c6ea97db03bf89d314cb963.tar.xz
evol-hercules-3242c560742518770c6ea97db03bf89d314cb963.zip
Add script function for unequip item by id.
New script function: unequipbyid ID
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 f5e9e1a..1685a82 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -93,6 +93,7 @@ HPExport void plugin_init (void)
addScriptCommand("changemusic", "ss", changeMusic);
addScriptCommand("setnpcdialogtitle", "s", setNpcDialogTitle);
addScriptCommand("getmapname", "", getMapName);
+ addScriptCommand("unequipbyid", "i", unequipById);
do_init_langs();