summaryrefslogtreecommitdiff
path: root/npc/017-1/shops.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-1/shops.txt')
-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;
+
}