From f0279f15bc3f2d58c66f399ee717d024e6256be4 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 15 Nov 2013 15:41:26 +0100 Subject: 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 --- doc/item_db.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/item_db.txt') 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. -- cgit v1.2.3-70-g09d2