summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-07 19:17:10 -0300
committershennetsind <ind@henn.et>2013-10-07 19:17:10 -0300
commitb703fbd42f4c1e782d6d2bf202a563bbceee0a7e (patch)
tree25930fad4ced7e0be6b60c713b7901fe03e86243 /src/map
parent5d6acd951f98bb54c64231d97e196e23f926980a (diff)
downloadhercules-b703fbd42f4c1e782d6d2bf202a563bbceee0a7e.tar.gz
hercules-b703fbd42f4c1e782d6d2bf202a563bbceee0a7e.tar.bz2
hercules-b703fbd42f4c1e782d6d2bf202a563bbceee0a7e.tar.xz
hercules-b703fbd42f4c1e782d6d2bf202a563bbceee0a7e.zip
Added 'consumeitem' as an alias of 'itemeffect'
For compatibility purposes, Closes #148 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 5fa248f4e..8460b23b0 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -17738,6 +17738,7 @@ void script_parse_builtin(void) {
BUILDIN_DEF2(cleanmap,"cleanarea","siiii"),
BUILDIN_DEF(npcskill,"viii"),
BUILDIN_DEF(itemeffect,"v"),
+ BUILDIN_DEF2(itemeffect,"consumeitem","v"), /* alias of itemeffect */
BUILDIN_DEF(delequip,"i"),
/**
* @commands (script based)