Skip to content

Commit

Permalink
add interest
Browse files Browse the repository at this point in the history
  • Loading branch information
NB-Core committed Jul 25, 2019
1 parent cf90728 commit 663e4e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions newday.php
Expand Up @@ -236,6 +236,9 @@
$session['user']['goldinbank']=$debtfloor; $session['user']['goldinbank']=$debtfloor;
output("You are so much in debt, the elders won't let you drop further. Your bank gold has been set to %s gold.`n",$debtfloor); output("You are so much in debt, the elders won't let you drop further. Your bank gold has been set to %s gold.`n",$debtfloor);
debug("Set debtfloor in bank ".$debtfloor); debug("Set debtfloor in bank ".$debtfloor);
} else {
//manage interest
$session['user']['goldinbank']+=$interest_amount;
} }


if ($interest_amount != 0) { if ($interest_amount != 0) {
Expand Down

0 comments on commit 663e4e1

Please sign in to comment.