summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-10-12 20:58:07 -0300
committerJesusaves <cpntb1@ymail.com>2021-10-12 20:58:07 -0300
commit18cd4fcb7eae603d018d99f5f1a83a13d2ceb704 (patch)
treee0a9d2eef3abf55840096114c2a106e1b16a8f8d
parentbcbb3fddc92d5b7a22ad9fd270b09f4546aa770d (diff)
downloadserverdata-18cd4fcb7eae603d018d99f5f1a83a13d2ceb704.tar.gz
serverdata-18cd4fcb7eae603d018d99f5f1a83a13d2ceb704.tar.bz2
serverdata-18cd4fcb7eae603d018d99f5f1a83a13d2ceb704.tar.xz
serverdata-18cd4fcb7eae603d018d99f5f1a83a13d2ceb704.zip
Celestia and Billy will now collect taxes as intended
-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'.