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

g Error when picking up oil rigs

7 years ago
(updated 7 years ago)

The following error is generated when I try to pick up a placed oil rig:
Error while running event cargo-ships::on_player_mined_entity (ID 65) cargo-ships/control.lua:84: bad argument #-1 to 'find-entities-filtered' (string expected, got table)
EDIT: I tested this mod alone to make sure it wasn't conflicting mods, and it still does it on the base game.

7 years ago
(updated 7 years ago)

Seems like the feature to search for tables was first introduced in the 16.40 experimental. Sorry for that. I changed the code to work with the last stable version.

7 years ago
(updated 7 years ago)

Alright, thanks for the reply! However, it seems that the rig is still bugged. I'm running the 0.16.36 build with just the mod and it still gives the same error.

7 years ago

You're right. I was stupid. Now i fixed it for real.

7 years ago

Well, unfortunately now it seems I can't even place the oil rigs.

7 years ago

oh damn. i'll look into it.

7 years ago

i am sorry but i was not able to reproduce the issue, neither on the 16.36 stable nor the 16.43 experimental. maybe its the interference of another mod? have you checked the behavior when all other mods are disabled?

7 years ago

Yes, I made that report with all other mods disabled.

New response