From 6d7d63a65156002bf898e23e0d99a98cdf5c4420 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Sep 2019 17:31:38 -0300 Subject: LoF taxes --- npc/017-1/shops.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt index acda66d8a..2e087ea40 100644 --- a/npc/017-1/shops.txt +++ b/npc/017-1/shops.txt @@ -5,6 +5,7 @@ // Random Sellers 017-1,158,184,0 script Billy NPC_M_SHOPKEEPER,{ + npcshopattach(.name$); shop .name$; close; @@ -38,6 +39,7 @@ OnClock0112: // Anagram for 'Demure'. // Sells wands (therefore, not demure, who plays speed-melee, unless she have a secret shop quest) 017-1,135,185,0 script Drueme NPC_F_SHOPKEEPER,{ + npcshopattach(.name$); shop .name$; close; @@ -65,4 +67,15 @@ OnSun0346: restoreshopitem ApprenticeWand, -1, 1; end; +// Pay your taxes! +OnBuyItem: + debugmes("Purchase confirmed"); + PurchaseTaxes(); + end; + +OnSellItem: + debugmes("Sale confirmed"); + SaleTaxes(); + end; + } -- cgit v1.2.3-60-g2f50