-
Notifications
You must be signed in to change notification settings - Fork 84
Description
It has happened to me several times that i want to buy CPUs or expensive bases and I simply overcommit my budget, throw away half of my money and have to discard my base to recover. This seems a bit silly, as I would expect an AI that understood the world enough to hide itself while earning money would be able to pull of this simple math of saying "will I be more than flat broke if I buy this?".
It would be nice to say how much you will pay per 24hours/day for the purchase in construction costs (compared with the current daily profit prior to the purchase and the net loss/gain over the construction period if the purchase is made). It has happened to me on several occasions that I do not have the total cost for a new base, but my income effectively covers the construction cost. In those cases, I can purchase the base immediately and will be fine (provided I do not lose my key bases, but that risk is always there).
An example of the latter could be a small table like:
+--------------------------------+-------------------+------------------------+
| | Purchase | Per 24 hours |
+--------------------------------+-------------------+------------------------+
| Cost | ${TOTAL_PRICE} | ${PRICE_PER_24H} |
| Balance change (income - cost) | ${BALANCE_AT_END} | ${BALANCE_CHANGE_24H} |
+--------------------------------+-------------------+------------------------+
The warning could then be emitted if ${BALANCE_AT_END} is negative or less than 10% of your current balance.