summaryrefslogtreecommitdiff
path: root/db/item_db2.conf
diff options
context:
space:
mode:
authorIbrahim Zidan <brahem@aotsw.com>2019-05-07 06:37:11 +0200
committerIbrahim Zidan <brahem@aotsw.com>2019-09-22 23:45:38 +0200
commit5d7c8d9857f096abfc4f205c8771b0b4c91fab2c (patch)
treea36b6b0ac2c942e2a18340a715bf256980c1dbec /db/item_db2.conf
parent92f3ecdcb341b798c93d5c8b0320fb8cb85e759c (diff)
downloadhercules-5d7c8d9857f096abfc4f205c8771b0b4c91fab2c.tar.gz
hercules-5d7c8d9857f096abfc4f205c8771b0b4c91fab2c.tar.bz2
hercules-5d7c8d9857f096abfc4f205c8771b0b4c91fab2c.tar.xz
hercules-5d7c8d9857f096abfc4f205c8771b0b4c91fab2c.zip
Implement new script fields for items triggered on rentral status changes
- OnRentalStartScript triggered when a rental item is added to inventory - OnRentalEndScript triggered when a rental period end/expire of the item Related #140 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Diffstat (limited to 'db/item_db2.conf')
-rw-r--r--db/item_db2.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/item_db2.conf b/db/item_db2.conf
index 8a2d8e429..ed673c5ea 100644
--- a/db/item_db2.conf
+++ b/db/item_db2.conf
@@ -117,6 +117,8 @@ item_db: (
">
OnEquipScript: <" OnEquip Script (can also be multi-line) ">
OnUnequipScript: <" OnUnequip Script (can also be multi-line) ">
+ OnRentalStartScript: <" On item renting script, gets called after item is created in inventory (can also be multi-line) ">
+ OnRentalEndScript: <" On item rent end/expire script, gets called after item is removed from inventory (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,