Page 1 of 1

[MOD 0.16] CanalBuilder

Posted: Mon Apr 23, 2018 4:02 am
by MostlyNumbers
Take a swim, feed those hungry steam turbines, dig a moat, or dig canals to connect bodies of water (useful for boat and ship mods).
Download:
https://mods.factorio.com/mod/CanalBuilder
Additions:
Waterfill - replace dirt with water
Swimming - Players, vehicles, and biters can cross shallow water
Balance:
Waterfill can only be placed adjacent to existing bodies of water - no spawning water from nowhere
Waterfill only produces shallow water, which biters can cross
Water will slow down biters (and players) roughly 50%
Minimum 3-tile width, since this can be used as a high-throughput water pipe for reactors

Let me know if you're able to translate for other locales!

Re: [MOD 0.16] CanalBuilder

Posted: Sun Jun 03, 2018 11:33 pm
by dgw
This added a great new dimension to my existing late-game save—biters suddenly got into the center of my base and I had to figure out from where. Fun!

I noticed that trains leave ripples when driving over rail bridges (from e.g. Beautiful Bridge Railway). Somehow I don't think rail vehicles should get ripples added.

Re: [MOD 0.16] CanalBuilder

Posted: Mon Jun 04, 2018 5:23 am
by MostlyNumbers
Glad you like it!

Also good find, I'll fix that.
Was your character in the train? The ripples are tied to the player position, so it's possible third-party mods that let the player go over water (like a train bridge) could incorrectly trigger them. If you could confirm, trains on autopilot shouldn't have ripples.

Re: [MOD 0.16] CanalBuilder

Posted: Mon Jun 04, 2018 5:51 am
by dgw
Yep, I was riding my shuttle train and it pathed over a bridge.

Re: [MOD 0.16] CanalBuilder

Posted: Thu Dec 06, 2018 12:30 am
by Muppet9010
Is this mod still supported, as theres a report of desync in MP on the Mod Portal discussions. We have seen desyncs when using this mod with others, so not sure which is the cause as very intermittent.

I am not sure if this is safe:

Code: Select all

local function replaceDummy(placed)
	dir    = placed.direction
	pos    = placed.position
	surface = placed.surface
As they aren't local variables.