summaryrefslogtreecommitdiff
path: root/npc/003-1/neko.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-02 17:18:17 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-02 17:18:17 -0300
commit6490d9175ba17732cd8a078e40903ee423f2747f (patch)
treec5ba985222c5e7de165a2a9d35fcca599ac18bdd /npc/003-1/neko.txt
parent15109ff591fb688b945d1062243ceffb0ae6c717 (diff)
downloadserverdata-6490d9175ba17732cd8a078e40903ee423f2747f.tar.gz
serverdata-6490d9175ba17732cd8a078e40903ee423f2747f.tar.bz2
serverdata-6490d9175ba17732cd8a078e40903ee423f2747f.tar.xz
serverdata-6490d9175ba17732cd8a078e40903ee423f2747f.zip
Charge taxes at Tulimshar.
Because Tulimshar shops are still the 'classic' shop style, some shops are tax-exempt. Right-click sell also allows you to evade taxes. Now, is this a feature or a bug?
Diffstat (limited to 'npc/003-1/neko.txt')
-rw-r--r--npc/003-1/neko.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/npc/003-1/neko.txt b/npc/003-1/neko.txt
index 610c49d71..a5818baba 100644
--- a/npc/003-1/neko.txt
+++ b/npc/003-1/neko.txt
@@ -49,8 +49,10 @@
}
closedialog;
- if (@menu == 1)
+ if (@menu == 1) {
+ npcshopattach(.name$);
shop .name$;
+ }
goodbye;
close;
@@ -93,4 +95,14 @@ OnClock2359:
restoreshopitem EmptyBox, 2;
end;
+// Pay your taxes!
+OnBuyItem:
+ debugmes("Purchase confirmed");
+ PurchaseTaxes();
+ end;
+
+OnSellItem:
+ debugmes("Sale confirmed");
+ SaleTaxes();
+ end;
}