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/020-5/bracco.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'npc/020-5') diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt index 38690d036..d74e4f68e 100644 --- a/npc/020-5/bracco.txt +++ b/npc/020-5/bracco.txt @@ -110,8 +110,10 @@ L_Start: goto L_Meltdown; closedialog; - if (@menu == 1) + if (@menu == 1) { + npcshopattach(.name$); shop .name$; + } goodbye; close; // Note: the prices are absurd atm, but hey hey, every single one of them are cap items currently @@ -290,4 +292,15 @@ OnMon2000: restoreshopitem IronAmmoBox,rand(3,5); end; +// Pay your taxes! +OnBuyItem: + debugmes("Purchase confirmed"); + PurchaseTaxes(); + end; + +OnSellItem: + debugmes("Sale confirmed"); + SaleTaxes(); + end; + } -- cgit v1.2.3-70-g09d2