diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-03-19 21:36:28 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-03-19 21:36:28 -0300 |
commit | eb85f9ec43d4ba01ee9bbad6a2f9059bc9ce2d06 (patch) | |
tree | ee691806ac16346cf3dffa034b421fef17102c95 | |
parent | 1262f6b525b37b59f7a3437632e23723fe5b0a36 (diff) | |
download | serverdata-eb85f9ec43d4ba01ee9bbad6a2f9059bc9ce2d06.tar.gz serverdata-eb85f9ec43d4ba01ee9bbad6a2f9059bc9ce2d06.tar.bz2 serverdata-eb85f9ec43d4ba01ee9bbad6a2f9059bc9ce2d06.tar.xz serverdata-eb85f9ec43d4ba01ee9bbad6a2f9059bc9ce2d06.zip |
Resignation: Preserve town reputation
-rw-r--r-- | npc/functions/politics.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 8a2ad6d27..e99079b19 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -140,17 +140,17 @@ function script POL_PlayerMoney { // Daily Paperwork Penalty OnClock2359: - if ($TULIM_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH)) + if ($TULIM_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH) && $TULIM_MAYOR$ != "Jesus Saves") $TULIM_REPUTATION=limit(0, $TULIM_REPUTATION-2, 100); - if ($HALIN_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH)) + if ($HALIN_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH) && $HALIN_MAYOR$ != "Jesus Saves") $HALIN_REPUTATION=limit(0, $HALIN_REPUTATION-2, 100); - if ($HURNS_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH)) + if ($HURNS_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH) && $HURNS_MAYOR$ != "Jesus Saves") $HURNS_REPUTATION=limit(0, $HURNS_REPUTATION-2, 100); - if ($NIVAL_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH)) + if ($NIVAL_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH) && $NIVAL_MAYOR$ != "Jesus Saves") $NIVAL_REPUTATION=limit(0, $NIVAL_REPUTATION-2, 100); - if ($LOF_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH)) + if ($LOF_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH) && $LOF_MAYOR$ != "Jesus Saves") $LOF_REPUTATION=limit(0, $LOF_REPUTATION-2, 100); - if ($FROSTIA_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH)) + if ($FROSTIA_DAILYQUEST != gettimeparam(GETTIME_DAYOFMONTH) && $FROSTIA_MAYOR$ != "Jesus Saves") $FROSTIA_REPUTATION=limit(0, $FROSTIA_REPUTATION-2, 100); end; @@ -469,7 +469,7 @@ function script POL_Manage { mesc l("Really resign?"), 1; next; if (askyesno() == ASK_YES) { - setd(.@town$+"_MAYOR$", any("Jesus Saves", "Saulc GM")); + setd(.@town$+"_MAYOR$", "Jesus Saves"); mesc l("YOU HAVE RESIGNED THE OFFICE."), 1; close; } |