diff options
Diffstat (limited to 'npc/functions/politics.txt')
-rw-r--r-- | npc/functions/politics.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 7b310c1f9..38c859e41 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -139,7 +139,7 @@ OnClock2359: end; OnSun0000: - // Weekly income (TODO: Use tax as reference, not reputation) + // Weekly reputation-based income $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; @@ -148,6 +148,15 @@ OnSun0000: $FROSTIA_MONEY+=$FROSTIA_EXPORT*limit(10, $FROSTIA_REPUTATION, 100)/100; $CANDOR_MONEY+=$CANDOR_EXPORT*limit(10, $CANDOR_REPUTATION, 100)/100; + // Weekly tax-based income + $TULIM_MONEY+=$TULIM_EXPORT*$TULIM_TAX*7/10000; + $HALIN_MONEY+=$HALIN_EXPORT*$HALIN_TAX*7/10000; + $HURNS_MONEY+=$HURNS_EXPORT*$HURNS_TAX*7/10000; + $LOF_MONEY+=$LOF_EXPORT*$LOF_TAX*7/10000; + $NIVAL_MONEY+=$NIVAL_EXPORT*$NIVAL_TAX*7/10000; + $FROSTIA_MONEY+=$FROSTIA_EXPORT*$FROSTIA_TAX*7/10000; + $CANDOR_MONEY+=$CANDOR_EXPORT*$CANDOR_TAX*7/10000; + // Send salary to Town Administrators (20% from exports and 5GP/reputation) // Strange Coins: TODO .@tax=$TULIM_EXPORT*limit(0, $TULIM_REPUTATION, 100)/500; |