From 472f4608fbab278d0b5a6aa37acc4c1c6b7c4b76 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Sep 2019 17:29:56 -0300 Subject: Charge taxes at Nivalis and Frostia --- npc/024-9/barkeeper.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'npc/024-9/barkeeper.txt') diff --git a/npc/024-9/barkeeper.txt b/npc/024-9/barkeeper.txt index 2d9f09122..3bfe518a9 100644 --- a/npc/024-9/barkeeper.txt +++ b/npc/024-9/barkeeper.txt @@ -7,6 +7,7 @@ // Temporary Sprite 024-9,39,31,0 script Bar Jobs NPC_DWARF_TRADER,{ hello; + npcshopattach(.name$); shop .name$; close; @@ -29,5 +30,16 @@ OnClock2358: restoreshopitem ClothoLiquor, (($ARKIM_ST-4000)/500)+1; end; +// Pay your taxes! +OnBuyItem: + debugmes("Purchase confirmed"); + PurchaseTaxes(); + end; + +OnSellItem: + debugmes("Sale confirmed"); + SaleTaxes(); + end; + } -- cgit v1.2.3-60-g2f50