Cargo Ships


Adds massive cargo ships to the game, that function similarly to trains. Also adds deep sea oil, oil platforms, tanker ships, train bridges and other water based content.

Content
7 days ago
0.16 - 2.0
214K
Transportation Logistics Trains Mining Fluids Power

i An idea about optimization on on_tick event

6 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

6 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!

6 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