Cargo Ships


Adds massive cargo ships to the game, that function similarly to trains. Also adds tanker ships, train bridges. NOTE: In 2.1, You Must Install Oil Rigs Separately!

Content
12 days ago
0.16 - 2.1
276K
Transportation Logistics Trains Fluids

i An idea about optimization on on_tick event

8 years ago

We might use a table which stores all or_power (on their creation) during powerOilRig() so much less search is needed. Here's my patch: https://pastebin.com/mMMpntGL

8 years ago

Do you know if this makes a big difference? Maybe i'll include the optimization in the next release. Thanks for your input!

8 years ago

I've made some test about add and remove platforms and it looks good. Haven't try this trick too much though but seems like factorio can haddle remove d entities itself so nil content in the table won't crash the game.

New response