summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-02 17:33:12 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-02 17:33:12 -0300
commit32c105f5ca765f1bcfec70da88f5a239400fca7a (patch)
treef200ea8c999e22e5c70dfa11b9d69a6a13816ac1
parent6d7d63a65156002bf898e23e0d99a98cdf5c4420 (diff)
downloadserverdata-32c105f5ca765f1bcfec70da88f5a239400fca7a.tar.gz
serverdata-32c105f5ca765f1bcfec70da88f5a239400fca7a.tar.bz2
serverdata-32c105f5ca765f1bcfec70da88f5a239400fca7a.tar.xz
serverdata-32c105f5ca765f1bcfec70da88f5a239400fca7a.zip
Wait wait - Halinarzo is also a townhold.
-rw-r--r--npc/009-3/dangrostra.txt12
-rw-r--r--npc/012-1/shoppakep.txt2
2 files changed, 13 insertions, 1 deletions
diff --git a/npc/009-3/dangrostra.txt b/npc/009-3/dangrostra.txt
index ec7093322..e7974a217 100644
--- a/npc/009-3/dangrostra.txt
+++ b/npc/009-3/dangrostra.txt
@@ -15,6 +15,7 @@
l("Leave"), L_Close;
closedialog;
+ npcshopattach(.name$);
shop .name$;
close;
@@ -71,4 +72,15 @@ OnClock2000:
restoreshopitem Coffee, 3;
end;
+// Pay your taxes!
+OnBuyItem:
+ debugmes("Purchase confirmed");
+ PurchaseTaxes();
+ end;
+
+OnSellItem:
+ debugmes("Sale confirmed");
+ SaleTaxes();
+ end;
+
}
diff --git a/npc/012-1/shoppakep.txt b/npc/012-1/shoppakep.txt
index 60dc0f700..64daf7f8b 100644
--- a/npc/012-1/shoppakep.txt
+++ b/npc/012-1/shoppakep.txt
@@ -14,7 +14,7 @@
close;
function ShoppaKepItem {
- .@i=rand(0,100);
+ .@i=rand2(0,100);
if (.@i > 75)
return Aquada;
else if (.@i < 35)