DrZhivago1 / DocWorld

A mod of combined patches for RimWorld and RimWorld mods.
GNU General Public License v3.0
10 stars 14 forks source link

Feature Request - Conduits #79

Open DrZhivago1 opened 3 years ago

DrZhivago1 commented 3 years ago

Make DW underground conduits not take damage

Ecu commented 3 years ago

I want to add to this feature request, with the request of allowing underground conduits to be placed within the water.

Craluminum2413 commented 3 years ago

Merge? https://steamcommunity.com/sharedfiles/filedetails/?id=838336462

DrZhivago1 commented 3 years ago

Merge? https://steamcommunity.com/sharedfiles/filedetails/?id=838336462

Merging would be up to that mod author, but seeing as my C# skills are not great I couldn't commit to supporting the mod... so it's less likely than just letting that author do their thing. If they want to merge and support it in DW that's fine with me, but it would seem easier to let the mods exist separate.

DrZhivago1 commented 3 years ago

I want to add to this feature request, with the request of allowing underground conduits to be placed within the water.

After looking into this, it's not a simple change. The way RimWorld handles terrain affordances means the conduits can only be designated on one terrain affordance at a time, and each terrain type allows a selection of buildable affordances.

What this means functionally is that I can choose to allow conduits to be built on "Light" terrain, "ShallowWater" terrain, or "Bridgeable" terrain. I figure I'll stick with "Light" since that will allow the most use of the conduits. Otherwise conduits will be restricted to water or terrain like mud with "shallowwater" and "bridgeable" respectively.