kanethemediocre / BlingHustle

Open sauce 2d space adventure
GNU General Public License v3.0
0 stars 0 forks source link

Cargo buy/sell price does not match in random stations #33

Open kanethemediocre opened 2 years ago

kanethemediocre commented 2 years ago

Randomized stations have had different buy and sell prices for the same commodity, so the player can profit without flying anywhere. Randomizing the prices period is not a great idea to begin with, an economy overhaul would help.

kanethemediocre commented 2 years ago

Used "allshops" variable, which actually only refers to the home system shops. This caused errors when the system had more shops than home, so the sell prices were fixed to a multiplier of 1. That doesn't really fix the problem, but it gets rid of the error on high indexed shops so the player can use them.