From 6490d9175ba17732cd8a078e40903ee423f2747f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Sep 2019 17:18:17 -0300 Subject: 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? --- npc/003-1/eugene.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'npc/003-1/eugene.txt') diff --git a/npc/003-1/eugene.txt b/npc/003-1/eugene.txt index c7bb3c580..0936a4afd 100644 --- a/npc/003-1/eugene.txt +++ b/npc/003-1/eugene.txt @@ -87,6 +87,7 @@ L_QuestDone: case 2: speech S_FIRST_BLANK_LINE, l("Earlier I hadn't any, but now that I have the baits, I will be glad to sell some to you!"); + npcshopattach(.name$); openshop; closedialog; } @@ -116,5 +117,16 @@ OnClock0003: restoreshopitem CommonCarp, 3; restoreshopitem GrassCarp, 1; end; + +// Pay your taxes! +OnBuyItem: + debugmes("Purchase confirmed"); + PurchaseTaxes(); + end; + +OnSellItem: + debugmes("Sale confirmed"); + SaleTaxes(); + end; } -- cgit v1.2.3-60-g2f50