summaryrefslogtreecommitdiff
path: root/npc/020-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-02 17:29:56 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-02 17:29:56 -0300
commit472f4608fbab278d0b5a6aa37acc4c1c6b7c4b76 (patch)
treef28dd02f562df9a9bfbb3bbde5bfb35fa2151e66 /npc/020-5
parent48d0deea88af0e3dbf9aa85822f5b5e9d2ee7b2f (diff)
downloadserverdata-472f4608fbab278d0b5a6aa37acc4c1c6b7c4b76.tar.gz
serverdata-472f4608fbab278d0b5a6aa37acc4c1c6b7c4b76.tar.bz2
serverdata-472f4608fbab278d0b5a6aa37acc4c1c6b7c4b76.tar.xz
serverdata-472f4608fbab278d0b5a6aa37acc4c1c6b7c4b76.zip
Charge taxes at Nivalis and Frostia
Diffstat (limited to 'npc/020-5')
-rw-r--r--npc/020-5/bracco.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt
index 38690d036..d74e4f68e 100644
--- a/npc/020-5/bracco.txt
+++ b/npc/020-5/bracco.txt
@@ -110,8 +110,10 @@ L_Start:
goto L_Meltdown;
closedialog;
- if (@menu == 1)
+ if (@menu == 1) {
+ npcshopattach(.name$);
shop .name$;
+ }
goodbye;
close;
// Note: the prices are absurd atm, but hey hey, every single one of them are cap items currently
@@ -290,4 +292,15 @@ OnMon2000:
restoreshopitem IronAmmoBox,rand(3,5);
end;
+// Pay your taxes!
+OnBuyItem:
+ debugmes("Purchase confirmed");
+ PurchaseTaxes();
+ end;
+
+OnSellItem:
+ debugmes("Sale confirmed");
+ SaleTaxes();
+ end;
+
}