summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/012-7/celestia.txt13
-rw-r--r--npc/017-1/shops.txt11
2 files changed, 24 insertions, 0 deletions
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'.