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
11 days ago
0.16 - 2.1
275K
Transportation Logistics Trains Fluids

b Oil rig storage UI bug

2 years 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