diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-27 00:59:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-27 00:59:30 -0300 |
commit | 9ae02a53288cf5b6d3b399c339ef6853164dd811 (patch) | |
tree | 8c1f98f040f0c2da73f40cc90746c302928bda34 /npc/functions/politics.txt | |
parent | 91907c8524bf6daea70b247afa689dc6adcf052d (diff) | |
download | serverdata-9ae02a53288cf5b6d3b399c339ef6853164dd811.tar.gz serverdata-9ae02a53288cf5b6d3b399c339ef6853164dd811.tar.bz2 serverdata-9ae02a53288cf5b6d3b399c339ef6853164dd811.tar.xz serverdata-9ae02a53288cf5b6d3b399c339ef6853164dd811.zip |
Town Administrator income is deducted from town resources
Diffstat (limited to 'npc/functions/politics.txt')
-rw-r--r-- | npc/functions/politics.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 5b40ac53b..b4ddde37d 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -59,31 +59,37 @@ OnSun0000: .@tax=$TULIM_EXPORT*limit(0, $TULIM_REPUTATION, 100)/500; .@tax+=$TULIM_REPUTATION*5; .@tax=min($TULIM_MONEY, .@tax); + $TULIM_MONEY-=.@tax; rodex_sendmail(gf_charnameid($TULIM_MAYOR$), "Tulimshar Townhall", "Term Income", "You've received the money for the term.", .@tax); .@tax=$HALIN_EXPORT*limit(0, $HALIN_REPUTATION, 100)/500; .@tax+=$HALIN_REPUTATION*5; .@tax=min($HALIN_MONEY, .@tax); + $HALIN_MONEY-=.@tax; rodex_sendmail(gf_charnameid($HALIN_MAYOR$), "Halinarzo Townhall", "Term Income", "You've received the money for the term.", .@tax); .@tax=$HURNS_EXPORT*limit(0, $HURNS_REPUTATION, 100)/500; .@tax+=$HURNS_REPUTATION*5; .@tax=min($HURNS_MONEY, .@tax); + $HURNS_MONEY-=.@tax; rodex_sendmail(gf_charnameid($HURNS_MAYOR$), "Hurnscald Townhall", "Term Income", "You've received the money for the term.", .@tax); .@tax=$LOF_EXPORT*limit(0, $LOF_REPUTATION, 100)/500; .@tax+=$LOF_REPUTATION*5; .@tax=min($LOF_MONEY, .@tax); + $LOF_MONEY-=.@tax; rodex_sendmail(gf_charnameid($LOF_MAYOR$), "LoF Townhall", "Term Income", "You've received the money for the term.", .@tax); .@tax=$NIVAL_EXPORT*limit(0, $NIVAL_REPUTATION, 100)/500; .@tax+=$NIVAL_REPUTATION*5; .@tax=min($NIVAL_MONEY, .@tax); + $NIVAL_MONEY-=.@tax; rodex_sendmail(gf_charnameid($NIVAL_MAYOR$), "Nivalis Townhall", "Term Income", "You've received the money for the term.", .@tax); .@tax=$FROSTIA_EXPORT*limit(0, $FROSTIA_REPUTATION, 100)/500; .@tax+=$FROSTIA_REPUTATION*5; .@tax=min($FROSTIA_MONEY, .@tax); + $FROSTIA_MONEY-=.@tax; rodex_sendmail(gf_charnameid($FROSTIA_MAYOR$), "Frostia Townhall", "Term Income", "You've received the money for the term.", .@tax); // Conduct elections |