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-15/lilanna.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'npc/024-15') diff --git a/npc/024-15/lilanna.txt b/npc/024-15/lilanna.txt index 5c349a9b8..ce4698c68 100644 --- a/npc/024-15/lilanna.txt +++ b/npc/024-15/lilanna.txt @@ -61,6 +61,7 @@ L_Loop: next; break; case 4: + npcshopattach(.name$); openshop(); closeclientdialog; end; @@ -175,5 +176,16 @@ OnInit: OnClock2358: restoreshopitem BrokenWarpCrystal, 50000, 1; end; + +// Pay your taxes! +OnBuyItem: + debugmes("Purchase confirmed"); + PurchaseTaxes(); + end; + +OnSellItem: + debugmes("Sale confirmed"); + SaleTaxes(); + end; } -- cgit v1.2.3-60-g2f50