From 063e64d933ffe0c7222ec7e7aec482d4f3aa8fbd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Sep 2019 17:00:00 -0300 Subject: 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. --- npc/functions/politics.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/functions') 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; } -- cgit v1.2.3-70-g09d2