diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-10-12 00:36:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-10-12 00:36:55 -0300 |
commit | 288e6ec3b65e403c4a29b7d839478c77385d62d8 (patch) | |
tree | 97b8f6884bbd619c61f75f755f114c125c587245 /npc/functions/politics.txt | |
parent | c73c31527b1adf0a38141c369843928c6481a9ff (diff) | |
download | serverdata-288e6ec3b65e403c4a29b7d839478c77385d62d8.tar.gz serverdata-288e6ec3b65e403c4a29b7d839478c77385d62d8.tar.bz2 serverdata-288e6ec3b65e403c4a29b7d839478c77385d62d8.tar.xz serverdata-288e6ec3b65e403c4a29b7d839478c77385d62d8.zip |
New sale tax policy. Comments on Enrique
Diffstat (limited to 'npc/functions/politics.txt')
-rw-r--r-- | npc/functions/politics.txt | 6 |
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; } |