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

g Elevated waterways

15 days ago

Hello, I am starting to attempt building elevated waterways

I basically want to know what the exact name of your rail type is because I've been having difficulties getting "waterway" to work

Also, I'd like to know about your API(I know it was only referring to new ship types), as I had a hard time finding it on the Github.

I'll probably ask more stuff here as I progress

The basic idea is industrial lock acts as a ramp analogue (I will need to completely redesign it from scratch eventually due to having different animations and speed, but for now, I can just use a deep copied rail ramp)

Aqueducts are concrete canals that go between supports

Aqueduct supports are basically just rail supports

That means I would need to make the aqueducts themselves have a recipe.

Basically, this thread is for the initial question and anything else I want help/advice with

15 days ago

I have thought about this before, I'm glad you are looking into it.

You should unzip the cargo-ships mod in your mods folder and read the code in the "prototypes/water_rails.lua" file. That is where the waterways are defined. In the "prototypes/item.lua" file is where the "waterway" rail planner item is defined.

The new ship API using mod data is documented in "prototypes/ship-definitions.lua". It is only in the V2.1_support branch on github

My first suggestion: go into mod settings and uncheck "prevent waterways from connecting to rails". That way it doesn't matter what you name the new elevated rails, my code will not delete waterways connecting to them.

New response