diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-02 17:00:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-02 17:00:00 -0300 |
commit | 063e64d933ffe0c7222ec7e7aec482d4f3aa8fbd (patch) | |
tree | 9ffcf51c3644a8f82098cfa7b3ebf3f6d8d6d599 | |
parent | 5994a28a51deb506df694364c275ce25fca6cf03 (diff) | |
download | serverdata-063e64d933ffe0c7222ec7e7aec482d4f3aa8fbd.tar.gz serverdata-063e64d933ffe0c7222ec7e7aec482d4f3aa8fbd.tar.bz2 serverdata-063e64d933ffe0c7222ec7e7aec482d4f3aa8fbd.tar.xz serverdata-063e64d933ffe0c7222ec7e7aec482d4f3aa8fbd.zip |
Sale tax incide upon player. Right now, only Hurnscald will tax you.
But soon enough, every single town ingame will have this tax.
The default sale tax is 0.05% - Meaning 1 GP each 2000 GP. Completly avoidable.
Max sale tax is set as 0.5% which would be 1 GP each 200 GP of sale.
-rw-r--r-- | npc/functions/politics.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 1c983e8d9..aa8ab81d5 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -60,6 +60,8 @@ function script SaleTaxes { if (.@tax) { debugmes "Sale: %s paid %d in taxes to %s prefecture!", strcharinfo(0), .@tax, .@loc$; setd("$"+.@loc$+"_TAX", .@vat+.@tax); + Zeny-=.@vat; + dispbottom col(l("%s is happy because you've paid %d GP in taxes!", getd("$"+.@loc$+"_MAYOR$"), .@vat), 1); } return; } |