From 3244911fd8773f284c44d1fcfc2527e33accf142 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 25 Aug 2019 00:38:38 -0300 Subject: *sigh* additional care so taxes work --- npc/012-1/shoppakep.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc/012-1') diff --git a/npc/012-1/shoppakep.txt b/npc/012-1/shoppakep.txt index e8e400c75..2ee13acc2 100644 --- a/npc/012-1/shoppakep.txt +++ b/npc/012-1/shoppakep.txt @@ -9,6 +9,7 @@ mesq lg("Welcome! Only the finest wares!"); next; closedialog; + npcshopattach(.name$); shop .name$; close; @@ -69,8 +70,10 @@ OnClock0546: .CurrentItem=ShoppaKepItem(); sellitem .CurrentItem, -1, rand(1,4); end; + // Pay your taxes! OnBuyItem: + debugmes("Purchase confirmed"); PurchaseTaxes("Hurns"); end; } -- cgit v1.2.3-70-g09d2