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.
Hi!
I am not a 100% sure, but from the error message it looks to me as if the space-exploration mod introduces the modifications. I saw that that the error has been reported to the SE discord as well and will wait for an answer on the issue there before attempting a fix.
tested on current version and experimental. oil rigs can not be placed in water of planets with Space exploration and cargo ships installed. Only required SE mods enabled. Error message is Oil Rigs can only be placed on water. This error happens on all planets other than Nauvis
Posting in SE as well.
The problem is that Cargo Ships assumes that everything takes place on surface 1 (nauvis), while SE can take place in a lot of other surfaces.
You should probably update the location check code to look for the correct surface.
Edit: Other parts of the code also assume that the game takes place entirely on surface 1, which means that at it's current state, Cargo Ships is almost completely non-functional outside of nauvis.
The official github repo is two versions old. I made a copy of the latest release and fixed both the ship placement checking and the surface checking code. Tested working with oil rigs and ships on other worlds. You can see the changes are minor, in the last two commits of this branch: https://github.com/robot256/cargo_ships/tree/actual_0-57