Skip to content
Permalink
Browse files

add interest

  • Loading branch information...
NB-Core committed Jul 25, 2019
1 parent cf90728 commit 663e4e1d3ae2f4282cf95a5eef89f7d1bd622151
Showing with 3 additions and 0 deletions.
  1. +3 −0 newday.php
@@ -236,6 +236,9 @@
$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);
debug("Set debtfloor in bank ".$debtfloor);
} else {
//manage interest
$session['user']['goldinbank']+=$interest_amount;
}
if ($interest_amount != 0) {

0 comments on commit 663e4e1

Please sign in to comment.
You can’t perform that action at this time.