summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-02 17:31:38 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-02 17:31:38 -0300
commit6d7d63a65156002bf898e23e0d99a98cdf5c4420 (patch)
tree95f6bd8250d947714dd4357e19e95d535812d13d
parent472f4608fbab278d0b5a6aa37acc4c1c6b7c4b76 (diff)
downloadserverdata-6d7d63a65156002bf898e23e0d99a98cdf5c4420.tar.gz
serverdata-6d7d63a65156002bf898e23e0d99a98cdf5c4420.tar.bz2
serverdata-6d7d63a65156002bf898e23e0d99a98cdf5c4420.tar.xz
serverdata-6d7d63a65156002bf898e23e0d99a98cdf5c4420.zip
LoF taxes
-rw-r--r--npc/017-1/shops.txt13
1 files changed, 13 insertions, 0 deletions
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;
+
}