diff --git a/src/uncategorized/reputation.tw b/src/uncategorized/reputation.tw index af8abc791062f1bf01114a763dcb6ef413a97300..9090c345bd41b056b3e156e7ae1846b6e86ecfc0 100644 --- a/src/uncategorized/reputation.tw +++ b/src/uncategorized/reputation.tw @@ -115,20 +115,12 @@ On formal occasions, you are announced as $PCTitle. <</if>> <</if>> - -<<run repX(forceNeg(_repLoss), "multiplier")>> /*play games with overflow. Gains are calculated (and then sadly rounded) on previous pages but losses are calculated here, after the overflow happened. Let's borrow from the past.*/ -<<if $lastWeeksRepExpenses.overflow == 0>> - /*No overflow to borrow*/ -<<elseif $lastWeeksRepExpenses.overflow < -Math.abs(_repLoss)>> - /*let's get that wasted reputation back and spend it here*/ - <<set $rep += _repLoss>> - <<set $lastWeeksRepExpenses.overflow += _repLoss>> -<<else>> - /*let's spend what wasted reputation we can*/ - <<set $rep += _repLoss + $lastWeeksRepExpenses.overflow>> +<<if $lastWeeksRepExpenses.overflow < 0>> + <<set $rep += Math.abs($lastWeeksRepExpenses.overflow)>> <<set $lastWeeksRepExpenses.overflow = 0>> <</if>> +<<run repX(forceNeg(_repLoss), "multiplier")>> <<if ($weatherAwareness == 0) && ($weatherCladding == 2)>> The public @@.green;is awestruck@@ of the beautiful weather hardening you have applied to the arcology's exterior, though they do not understand why you would waste so much money first ruining your arcology's appearance before doing this.