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 Compat with IR2 (png size error)

5 years ago

When trying to load Factorio 1.1.6 with cargo-ships_0.0.58 and IndustrialRevolution_2.0.2 I get the following error:

Error ModManager.cpp:1555: Error while loading recipe prototype "scrap-port" (recipe): Sprite 'cargo-ships/graphics/icons/port.png' has mipmap count set to 4, so it's size is expected to be multiple of 8. But its size is 114x114.
Modifications: Industrial Revolution 2

Is this fixable to make them compatible?

Thanks,
ElectroBot

5 years ago

The image doesn't have mipmaps, it's just a single icon in that file. It's used in prototypes/item.lua, so I'd try inserting

icon_mipmaps = 1,

after this:

icon = "__cargo-ships__/graphics/icons/port.png",
icon_size = 114,

Not tested yet, though. :-)

New response