summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf2
-rw-r--r--doc/item_db.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 30c47740..69cc54b0 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -77,6 +77,8 @@ item_db: (
">
OnEquipScript: <" OnEquip Script (can also be multi-line) ">
OnUnequipScript: <" OnUnequip Script (can also be multi-line) ">
+ OnDropScript: <" OnDrop Script (can also be multi-line) ">
+ OnTakeScript: <" OnTake 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 66fec8ec..471f8343 100644
--- a/doc/item_db.txt
+++ b/doc/item_db.txt
@@ -81,6 +81,8 @@ item_db: (
">
OnEquipScript: <" OnEquip Script (can also be multi-line) ">
OnUnequipScript: <" OnUnequip Script (can also be multi-line) ">
+ OnDropScript: <" OnDrop Script (can also be multi-line) ">
+ OnTakeScript: <" OnTake Script (can also be multi-line) ">
// =================== Optional fields (item_db2 only) ================
Inherit: true/false (boolean, if true, inherit the values
that weren't specified, from item_db.conf,