You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes to get up and running you need a loan. sometimes you run out of credits.
fairly easy to implement.
loan an amount lets say 5k or 10k
each 4 turns the player needs to pay 10% of the loan
the loan will also have an interest.
if you don't pay in time you will get fined, if you don't pay at all you assets (the station) will be sold to pay the loan.
so in programming terms its percent calculations (for the amount to pay and interest)
a counter for pay time and if the counter exceeds 4, fine the player and start seizure counter if seizure counter bigger then x turn sell the station lose the game (or sell stations upgrades ships etc as penalty depending on dept size).
The text was updated successfully, but these errors were encountered:
if you can put the loan option in the station management screen.
create a class to handle the logic and data for loans, make it serializable so I can save it on a dat file.
we will attach this class to the player object (like i did with station personal etc), i do this to separate the logic to different files instead of doing this in one place.
you will also have to create a long-term event for loans (also long-term events appear on station stats page which is nice, meaning you won't have to code that part ).
anyway if you have any problems, need help or don't know how to do this you can contact me via the contact form in the readme.
for now, i support and help contributors personally, something no other open source project i know of do (use it).
sometimes to get up and running you need a loan. sometimes you run out of credits.
fairly easy to implement.
loan an amount lets say 5k or 10k
each 4 turns the player needs to pay 10% of the loan
the loan will also have an interest.
if you don't pay in time you will get fined, if you don't pay at all you assets (the station) will be sold to pay the loan.
so in programming terms its percent calculations (for the amount to pay and interest)
a counter for pay time and if the counter exceeds 4, fine the player and start seizure counter if seizure counter bigger then x turn sell the station lose the game (or sell stations upgrades ships etc as penalty depending on dept size).
The text was updated successfully, but these errors were encountered: