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 [fixed] Error while running event cargo-ships::on_player_cursor_stack_changed

9 months ago
(updated 9 months ago)

Hi; when selecting a blueprint from a quickbar (just left-click), Factorio crashes with this:


2132.897 Error MainLoop.cpp:1456: Exception at tick 17150918: The mod Cargo Ships (1.0.25) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event cargo-ships::on_player_cursor_stack_changed (ID 37)
cargo-ships/logic/pump_placement.lua:87: attempt to index global 'blueprint' (a nil value)
stack traceback:
cargo-ships/logic/pump_placement.lua:87: in function <cargo-ships/logic/pump_placement.lua:80>
(...tail calls...)
cargo-ships/logic/pump_placement.lua:147: in function 'PumpVisualisation'
cargo-ships/control.lua:341: in function <cargo-ships/control.lua:339>
2134.805 Info AppManager.cpp:352: Deleting active scenario.


Doesn't seem to matter which blueprint (some with, some without pipes etc.)...

9 months ago

Thanks for the pull request, merged and released in the latest update.

New response