diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-12 08:52:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-12 08:52:52 -0300 |
commit | 224e6b764b0b4422e866d2a6f5e150b9daf05975 (patch) | |
tree | 3fc01565035ca435bc62fe7991b0ad20b807954f /npc/005-4 | |
parent | 2090a49f46df16e9b99a2986c09329986db79da5 (diff) | |
download | serverdata-224e6b764b0b4422e866d2a6f5e150b9daf05975.tar.gz serverdata-224e6b764b0b4422e866d2a6f5e150b9daf05975.tar.bz2 serverdata-224e6b764b0b4422e866d2a6f5e150b9daf05975.tar.xz serverdata-224e6b764b0b4422e866d2a6f5e150b9daf05975.zip |
Inar now charge taxes. New function: shop2().
In future, Shop#bazar1 will move to type HIDDEN and will have a placeholder
instead to use shop2() functions.
Diffstat (limited to 'npc/005-4')
-rw-r--r-- | npc/005-4/shop.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/005-4/shop.txt b/npc/005-4/shop.txt index d73bc152a..01ec2d57d 100644 --- a/npc/005-4/shop.txt +++ b/npc/005-4/shop.txt @@ -30,5 +30,18 @@ OnClock0004: restoreshopitem TolchiAmmoBox, -1, 4; restoreshopitem LousyMoccasins, -1, 4; restoreshopitem TrainingBow, -1, 3; + end; + + +// Pay your taxes! +OnBuyItem: + debugmes("Purchase confirmed"); + PurchaseTaxes(); + end; + +OnSellItem: + debugmes("Sale confirmed"); + SaleTaxes(); + end; } |