[ITEM TRACKER] Withdrawal from bank counts as profit

Issue #78 new
Former user created an issue

When an item is withdrawn from bank it should not be considered profit gain, as this is wealth one already owns.

Behaviour When withdrawing an item, for example gold ore which has a value of 159 right now, it shows that as profit. When 14 gold bars has been made, it shows total profit of the ore + the bars which is wrong. The ore is a cost, and the difference between cost and production is the profit.

Expected/wanted behaviour When items are withdrawn from bank, item tracker should increase in number of how many is withdrawn, but profit counter should say 0 gp.

When an item is used it should subtract 1 piece from total, but also calculate cost of that 1 piece so that profit is cost. When the gold bar is produced and introduced to the item tracker (Current value 398) it will show a profit of (Value of gold bar) - (cost of gold ore) = current profit.

Comments (0)

  1. Log in to comment