summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-05 08:59:35 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-05 08:59:35 -0300
commit331f88ceb2f8c65c788fc9d16db7673a66fdf340 (patch)
treead206fa177a24d8903c3c4832bca82af89c7fd54
parent43d307bda15fd969a7d79d95bb80f0900a8911b2 (diff)
downloadserverdata-331f88ceb2f8c65c788fc9d16db7673a66fdf340.tar.gz
serverdata-331f88ceb2f8c65c788fc9d16db7673a66fdf340.tar.bz2
serverdata-331f88ceb2f8c65c788fc9d16db7673a66fdf340.tar.xz
serverdata-331f88ceb2f8c65c788fc9d16db7673a66fdf340.zip
When selling things, the tax applied is now of 20%, instead of 7%
-rw-r--r--npc/functions/politics.txt4
1 files 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$;