To your performance test: Does this run every time step? You want to find an industry and the id remains same, so it could just be saved. Except if it is bulldozed but only then something would change. Also, are there many warehouses or always just 1?
The values from industries are the numbers that are shown in the window:
-Production/ProductionLimit
-Shipping
-TransportRating (0-1)
See also here what I read out in Adv Stats
https://github.com/Vacuum-Tube…/script/data/industry.lua
https://www.transportfever.net…achment/178791-12ind-png/
I wish to learn how to look into a table to get the names of the data to be read.
You can also use print(toString(mytable)) or just use the console