From 331f88ceb2f8c65c788fc9d16db7673a66fdf340 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 5 Feb 2020 08:59:35 -0300 Subject: When selling things, the tax applied is now of 20%, instead of 7% --- npc/functions/politics.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 8dfbb2aaf..9d22c5ac3 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -45,7 +45,7 @@ function script PurchaseTaxes { return; } -// Proccess Taxes from sales (7% from purchase tax) +// Proccess Taxes from sales (20% from purchase tax) // SaleTaxes( Location ) function script SaleTaxes { .@tax=0; @@ -56,7 +56,7 @@ function script SaleTaxes { } .@loc$=strtoupper(getarg(0, LOCATION$)); .@vat=getd("$"+.@loc$+"_TAX"); - .@vat=.@vat/15; // Only 7% of purchase tax, this is often 0.07% + .@vat=.@vat*2/10; // Only 20% of purchase tax, this is often 0.2% .@tax=.@tax*.@vat/10000; if (.@tax) { debugmes "Sale: %s paid %d in taxes to %s prefecture!", strcharinfo(0), .@tax, .@loc$; -- cgit v1.2.3-60-g2f50