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
21 days ago
0.16 - 2.0
219K
Transportation Logistics Trains Mining Fluids Power

b Error creating blueprint

5 years ago

Error while running event cargo-ships::on_player_configured_blueprint (ID 70)
cargo-ships/logic/blueprint_logic.lua:9: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
cargo-ships/logic/blueprint_logic.lua:9: in function <cargo-ships/logic/blueprint_logic.lua:1>


Factorio: 0.17.5
Cargo Sips: 0.0.34
Other mods: https://pastebin.com/qpBe1XDu


This error occurred while attempting to create a blueprint from the map screen.

5 years ago

Most likely the problem occurs when copying tiles. Also, I think the Alien Biomes mod is to blame.

5 years ago

Hi, thanks for the report. i allready fixed this and will upload tonight. And in the defense of Alien Biomes, no the error is all this mod.

5 years ago

Oh, thank you very much) Strange bug)

5 years ago

haha, from my perspective a pretty standard bug. I added some code that is executed on blueprint creation, in order to make blueprinting watrerways popssible, but didnt consider the case of bleuprints without entites, e.g only tiles. trying to access something thats not there ->bam! -> crash.

New response