summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-05 09:00:27 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-05 09:00:27 -0300
commit7560b07ca31a1114caf07ed673c5bf06451763aa (patch)
tree4ffad24444de4b9797ec9f31f1f3ab67dc2228a4
parent37845c8d694a27e1d484cd632b8ac174731d3e55 (diff)
downloadserverdata-7560b07ca31a1114caf07ed673c5bf06451763aa.tar.gz
serverdata-7560b07ca31a1114caf07ed673c5bf06451763aa.tar.bz2
serverdata-7560b07ca31a1114caf07ed673c5bf06451763aa.tar.xz
serverdata-7560b07ca31a1114caf07ed673c5bf06451763aa.zip
If reputation goes below 10, exports will assume an reputation of 10.
This will prevent admins from being deadlocked, as you cannot lower exportations.
-rw-r--r--npc/functions/politics.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index a759c0a4d..1792b73f9 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -163,12 +163,12 @@ OnClock2359:
OnSun0000:
// Weekly income
- $TULIM_MONEY+=$TULIM_EXPORT*limit(0, $TULIM_REPUTATION, 100)/200;
- $HALIN_MONEY+=$HALIN_EXPORT*limit(0, $HALIN_REPUTATION, 100)/200;
- $HURNS_MONEY+=$HURNS_EXPORT*limit(0, $HURNS_REPUTATION, 100)/200;
- $LOF_MONEY+=$LOF_EXPORT*limit(0, $LOF_REPUTATION, 100)/200;
- $NIVAL_MONEY+=$NIVAL_EXPORT*limit(0, $NIVAL_REPUTATION, 100)/200;
- $FROSTIA_MONEY+=$FROSTIA_EXPORT*limit(0, $FROSTIA_REPUTATION, 100)/200;
+ $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;
// Send salary to Town Administrators (20% from exports and 5GP/reputation)
.@tax=$TULIM_EXPORT*limit(0, $TULIM_REPUTATION, 100)/500;