From 18cd4fcb7eae603d018d99f5f1a83a13d2ceb704 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 12 Oct 2021 20:58:07 -0300 Subject: Celestia and Billy will now collect taxes as intended --- npc/012-7/celestia.txt | 13 +++++++++++++ npc/017-1/shops.txt | 11 +++++++++++ 2 files changed, 24 insertions(+) diff --git a/npc/012-7/celestia.txt b/npc/012-7/celestia.txt index 3fad765bd..b49b52a8b 100644 --- a/npc/012-7/celestia.txt +++ b/npc/012-7/celestia.txt @@ -380,4 +380,17 @@ OnClock0002: restoreshopitem SpearmintTea, 5; restoreshopitem ChamomileTea, 10; end; + + +// Pay your taxes! +OnBuyItem: + debugmes("Purchase confirmed"); + PurchaseTaxes(); + end; + +OnSellItem: + debugmes("Sale confirmed"); + SaleTaxes(); + end; + } diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt index 2cf527f86..b1c2e9a11 100644 --- a/npc/017-1/shops.txt +++ b/npc/017-1/shops.txt @@ -42,6 +42,17 @@ OnClock0112: restoreshopitem OolongTea, getiteminfo(OolongTea, ITEMINFO_BUYPRICE)*15/10, rand2(1,3); end; +// Pay your taxes! +OnBuyItem: + debugmes("Purchase confirmed"); + PurchaseTaxes(); + end; + +OnSellItem: + debugmes("Sale confirmed"); + SaleTaxes(); + end; + } // Anagram for 'Demure'. -- cgit v1.2.3-60-g2f50