summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/politics.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index d48d04224..def0dc676 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -52,17 +52,19 @@ function script SaleTaxes {
}
.@loc$=strtoupper(getarg(0, LOCATION$));
.@vat=getd("$"+.@loc$+"_TAX");
- .@vat=.@vat*2/10; // Only 20% of purchase tax, this is often 0.2%
+ .@vat=.@vat*3/4; // Only 75% of purchase tax (defaults to 0.75% I guess)
.@tax=.@tax*.@vat/10000;
if (.@tax) {
debugmes "Sale: %s paid %d in taxes to %s prefecture!", strcharinfo(0), .@tax, .@loc$;
.@gp=getd("$"+.@loc$+"_MONEY");
setd("$"+.@loc$+"_MONEY", .@gp+.@tax);
dispbottom col(l("%s is happy because you've paid %d GP in taxes!", getd("$"+.@loc$+"_MAYOR$"), .@tax), 1);
- //Zeny-=.@tax;
+ Zeny-=.@tax; // Player must pay the taxes
.@tp=POL_LocToTP(.@loc$);
+ /*
if (#EXILED & .@tp)
Zeny=max(0, Zeny-.@tax);
+ */
}
return;
}