summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-15 15:41:26 +0100
committerHaru <haru@dotalux.com>2013-11-15 15:41:26 +0100
commitf0279f15bc3f2d58c66f399ee717d024e6256be4 (patch)
treea4fb0c524e17cbab867b213c01dd2e0ccccd8339 /doc
parent0e48eab94453b0778b1e5778dc7ebd8b8f81362a (diff)
downloadhercules-f0279f15bc3f2d58c66f399ee717d024e6256be4.tar.gz
hercules-f0279f15bc3f2d58c66f399ee717d024e6256be4.tar.bz2
hercules-f0279f15bc3f2d58c66f399ee717d024e6256be4.tar.xz
hercules-f0279f15bc3f2d58c66f399ee717d024e6256be4.zip
Added BindOnEquip to the item_db documentation and templates
- Special thanks to ossi0110, kyeme - Fixes bugreport:7821 http://hercules.ws/board/tracker/issue-7821-missing-item-dbconf-columne/ Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/item_db.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/item_db.txt b/doc/item_db.txt
index d897e1511..50b7523cc 100644
--- a/doc/item_db.txt
+++ b/doc/item_db.txt
@@ -33,6 +33,7 @@ item_db: (
EquipLv: [min, max] (alternative syntax with min / max level)
Refine: Refineable (boolean, defaults to true)
View: View ID (int, defaults to 0)
+ BindOnEquip: true/false (boolean, defaults to false)
Script: <"
Script
(it can be multi-line)
@@ -216,6 +217,11 @@ View: For normal items, defines a replacement view-sprite for the item (eg:
8: Cannonballs
9: Throwable Items (Sling Item)
+BindOnEquip: Whether the item will automatically bind to the character when it
+ is equipped for the first time. An item that has this field set,
+ will display a confirmation dialog the first time it is equipped,
+ and, if accepted, the item will become character-bound.
+
Script: Script to execute when the item is used/equipped.
OnEquipScript: Script to execute when the item is equipped.