I've redone quite a bit of the code for the options to fix some things that were causing issues. Hopefully all will be a lot better.
As for the
Index numbers, your understanding is correct.
If Stock is 0 and Required is 1000 - High demand for stock so expensive -
Index =
0
If Stock is 500 and Required is 1000 - Average demand for stock so Avg price -
Index =
50
If Stock is 1000 and Required is 1000 - No demand for stock so its cheap -
Index =
100
If Stock is 1500 and Required is 1000 - No demand for stock as got to much so its cheap -
Index =
150
If Stock is 2000 and Required is 1000 - No demand for stock as got Way to much so its cheap -
Index =
200
The Index number is actually the percentage of the amount of stock available compared to the amount of stock required.
The best place to buy is between
50 and
100, with
100 being optimum.
The best place to sell is below
49.
If between
101 and
200, leave it alone until it comes down a bit.
I hope this helps explain a bit. The
Stock and
Required numbers are actual numbers from the stations in the exchange area. So this also helps show good places for the player to build stations and make credits. I don't want to change these from the actual figures, i'd rather the player change their universe to take advantage of it.
The Natural wares that will be in the next version are all artifical numbers and they go up and down a lot quicker but by not as much. So this will give a different way to invest. (from my testing you can become a Godzillionare or go broke very quickly investing in the new Naturals

)
but I am totally ignorant of the sweats and swears of the coder
You don't want to know, if i had to put 5 cents into a jar every time i swore, i'd be wheeling it out of my computer room by the wheel barrow load. The hair just can't grow back as fast as i can pull it out.
Thanks for the feedback, hopefully will have updated version with fixes and additions in next 24 hrs.
MarCon