summaryrefslogtreecommitdiff
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
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>
-rw-r--r--db/item_db2.conf1
-rw-r--r--db/pre-re/item_db.conf1
-rw-r--r--db/re/item_db.conf1
-rw-r--r--doc/item_db.txt6
-rwxr-xr-xtools/itemdbconverter.pl1
5 files changed, 10 insertions, 0 deletions
diff --git a/db/item_db2.conf b/db/item_db2.conf
index 5705c82c5..f552f5d44 100644
--- a/db/item_db2.conf
+++ b/db/item_db2.conf
@@ -28,6 +28,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)
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index fb57af552..569f084c8 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -28,6 +28,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)
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index bae2b3ba0..c70588a13 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -28,6 +28,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)
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.
diff --git a/tools/itemdbconverter.pl b/tools/itemdbconverter.pl
index 747f9e84f..bd7254373 100755
--- a/tools/itemdbconverter.pl
+++ b/tools/itemdbconverter.pl
@@ -174,6 +174,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)