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

b Oil rig storage UI bug

6 months ago

I'm having a trouble wih rig internal storage - the additional GUI with capacity wont show up. I'm using this mod with freight forwarding.
Oil rig capacity works (that is it will eventually stop pumping oil) it's just the UI that is broken.
I've tried to remove some conditions from source code and reverting last commit worked for me, that is removing this condition from gui code:

    if game.entity_prototypes["oil_rig"].fluid_capacity > 0 then
      updateProgress(player.gui.relative[OILRIG_FRAME], e.entity)
    else
      player.gui.relative[OILRIG_FRAME].visible = false
    end

Anyone experienced this problem?

New response