summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-10-12 00:40:15 -0300
committerJesusaves <cpntb1@ymail.com>2020-10-12 00:40:15 -0300
commit37203e1ee7fc20c047ab840762fb9305c6f65e74 (patch)
treeec72b2c984e6112e48963a099852e3da2618bef4 /npc
parent288e6ec3b65e403c4a29b7d839478c77385d62d8 (diff)
downloadserverdata-37203e1ee7fc20c047ab840762fb9305c6f65e74.tar.gz
serverdata-37203e1ee7fc20c047ab840762fb9305c6f65e74.tar.bz2
serverdata-37203e1ee7fc20c047ab840762fb9305c6f65e74.tar.xz
serverdata-37203e1ee7fc20c047ab840762fb9305c6f65e74.zip
New tax raising policy
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/politics.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index def0dc676..f74c9c6fc 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -343,6 +343,8 @@ function script POL_TownInfo {
mesc l("Town Money: @@", .@GP), 2;
mesc l("Town Reputation: %d | %d.%02d %% Tax", .@RP, .@TX/100, .@TX%100), 2;
mesc l("Town Weekly Exports: @@", .@EX), 2;
+ } else {
+ mesc l("Town Tax: %d.%02d %%", .@TX/100, .@TX%100), 2;
}
return;
}
@@ -434,13 +436,13 @@ function script POL_Manage {
.@cost=.@TX/11;
mesc l("Raising Taxes"), 3;
mesc l("You need @@ Reputation to make this investment.", .@cost);
- mesc l("Taxes will raise in 0.01~0.03%, capped at 10%.");
- if (.@RP < .@cost || .@TX >= 1000)
+ mesc l("Taxes will raise in 0.02~0.05%, capped at 15%.");
+ if (.@RP < .@cost || .@TX >= 1500)
break;
mesc l("Are you sure?");
if (askyesno() == ASK_YES) {
setd(.@town$+"_REPUTATION", .@RP-.@cost);
- setd(.@town$+"_TAX", .@TX+rand2(1,3));
+ setd(.@town$+"_TAX", .@TX+rand2(2,5));
mesc l("Taxes raised"), 1;
next;
}