summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)