diff options
author | Ibrahim Zidan <brahem@aotsw.com> | 2019-05-07 06:37:11 +0200 |
---|---|---|
committer | Ibrahim Zidan <brahem@aotsw.com> | 2019-09-22 23:45:38 +0200 |
commit | 5d7c8d9857f096abfc4f205c8771b0b4c91fab2c (patch) | |
tree | a36b6b0ac2c942e2a18340a715bf256980c1dbec /db/pre-re | |
parent | 92f3ecdcb341b798c93d5c8b0320fb8cb85e759c (diff) | |
download | hercules-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/pre-re')
-rw-r--r-- | db/pre-re/item_db.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf index c860e0239..3fe2fdacd 100644 --- a/db/pre-re/item_db.conf +++ b/db/pre-re/item_db.conf @@ -121,6 +121,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) "> }, **************************************************************************/ |