summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf4
-rw-r--r--doc/item_db.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 44fbd580..c1a1c714 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -35,6 +35,7 @@ item_db: (
FloorLifeTime: Delay to remove item from ground (int, default flooritem_lifetime)
KeepAfterUse: true/false (boolean, defaults to false)
AllowPickup: true/false (boolean, defaults to true)
+ Charm: true/false (boolean, defaults to false)
RequiredStr: required strength (int, default to 0)
RequiredAgi: required agility (int, default to 0)
RequiredVit: required vitality (int, default to 0)
@@ -76,6 +77,9 @@ item_db: (
">
OnEquipScript: <" OnEquip Script (can also be multi-line) ">
OnUnequipScript: <" OnUnequip Script (can also be multi-line) ">
+ AllowCards: {
+ idNUM: amount (NUM is id number, amount is amount)
+ }
},
******************************************************************************/
diff --git a/doc/item_db.txt b/doc/item_db.txt
index d98bf260..66fec8ec 100644
--- a/doc/item_db.txt
+++ b/doc/item_db.txt
@@ -39,6 +39,7 @@ item_db: (
KeepAfterUse: true/false (boolean, defaults to false)
FloorLifeTime: Delay to remove item from ground (int, default flooritem_lifetime)
AllowPickup: true/false (boolean, defaults to true)
+ Charm: true/false (boolean, defaults to false)
RequiredStr: minimal strength (int, default to 0)
RequiredAgi: minimal agility (int, default to 0)
RequiredVit: minimal vitality (int, default to 0)
@@ -84,6 +85,9 @@ item_db: (
Inherit: true/false (boolean, if true, inherit the values
that weren't specified, from item_db.conf,
else override it and use default values)
+ AllowCards: {
+ idNUM: amount (NUM is id number, amount is amount)
+ }
},
...
)