summaryrefslogtreecommitdiff
path: root/npc/functions/politics.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-11-27 13:55:45 -0300
committerJesusaves <cpntb1@ymail.com>2020-11-27 13:55:45 -0300
commit9fe85256d59206b777ebdcf3c6308c1460e82add (patch)
treefbe1c8a9c53e92ef6fd03e963aefc0d845a4bfd8 /npc/functions/politics.txt
parent553cead9afd65d8be1b23f8e17ce79a05772653d (diff)
downloadserverdata-9fe85256d59206b777ebdcf3c6308c1460e82add.tar.gz
serverdata-9fe85256d59206b777ebdcf3c6308c1460e82add.tar.bz2
serverdata-9fe85256d59206b777ebdcf3c6308c1460e82add.tar.xz
serverdata-9fe85256d59206b777ebdcf3c6308c1460e82add.zip
Now that we have a limit on daily actions and all that...
Allow towns to obtain up to 100% of their exports, instead of just 50%.
Diffstat (limited to 'npc/functions/politics.txt')
-rw-r--r--npc/functions/politics.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index dd933da3a..7b310c1f9 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -140,15 +140,16 @@ OnClock2359:
OnSun0000:
// Weekly income (TODO: Use tax as reference, not reputation)
- $TULIM_MONEY+=$TULIM_EXPORT*limit(10, $TULIM_REPUTATION, 100)/200;
- $HALIN_MONEY+=$HALIN_EXPORT*limit(10, $HALIN_REPUTATION, 100)/200;
- $HURNS_MONEY+=$HURNS_EXPORT*limit(10, $HURNS_REPUTATION, 100)/200;
- $LOF_MONEY+=$LOF_EXPORT*limit(10, $LOF_REPUTATION, 100)/200;
- $NIVAL_MONEY+=$NIVAL_EXPORT*limit(10, $NIVAL_REPUTATION, 100)/200;
- $FROSTIA_MONEY+=$FROSTIA_EXPORT*limit(10, $FROSTIA_REPUTATION, 100)/200;
- $CANDOR_MONEY+=$CANDOR_EXPORT*limit(10, $CANDOR_REPUTATION, 100)/200;
+ $TULIM_MONEY+=$TULIM_EXPORT*limit(10, $TULIM_REPUTATION, 100)/100;
+ $HALIN_MONEY+=$HALIN_EXPORT*limit(10, $HALIN_REPUTATION, 100)/100;
+ $HURNS_MONEY+=$HURNS_EXPORT*limit(10, $HURNS_REPUTATION, 100)/100;
+ $LOF_MONEY+=$LOF_EXPORT*limit(10, $LOF_REPUTATION, 100)/100;
+ $NIVAL_MONEY+=$NIVAL_EXPORT*limit(10, $NIVAL_REPUTATION, 100)/100;
+ $FROSTIA_MONEY+=$FROSTIA_EXPORT*limit(10, $FROSTIA_REPUTATION, 100)/100;
+ $CANDOR_MONEY+=$CANDOR_EXPORT*limit(10, $CANDOR_REPUTATION, 100)/100;
// Send salary to Town Administrators (20% from exports and 5GP/reputation)
+ // Strange Coins: TODO
.@tax=$TULIM_EXPORT*limit(0, $TULIM_REPUTATION, 100)/500;
.@tax+=$TULIM_REPUTATION*5;
.@tax=min($TULIM_MONEY, .@tax);