From 7560b07ca31a1114caf07ed673c5bf06451763aa Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 5 Feb 2020 09:00:27 -0300 Subject: If reputation goes below 10, exports will assume an reputation of 10. This will prevent admins from being deadlocked, as you cannot lower exportations. --- npc/functions/politics.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'npc') 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; -- cgit v1.2.3-70-g09d2