小乐的电缆自动修复建筑
I created this new mod based on the existing mod Self-repairing cables ( ).
I created this new mod based on the existing mod Self-repairing cables (https://steamcommunity.com/sharedfiles/filedetails/?id=3575860043
).
I made this separate mod purely out of personal preference — I do not like the wire texture/model used in that original mod. I prefer the vanilla cable visuals from base RimWorld instead.
This mod repurposes the game’s original vanilla cables to grant them self-repair functionality: they can automatically mend themselves and nearby damaged structures.
It also comes with fully customizable settings in the mod options menu, with these adjustable features:
Repair only when powered (toggleable switch)
When enabled in settings, cables will only perform repairs while they receive electricity.
Adjustable single repair strength
Sets the amount of durability restored to structures per repair tick. Enabled by default.
Customizable repair radius
Range options: 1×1 to 5×5 tiles.
Default value: 1×1 (only repairs the tile the cable itself occupies).
A value of 3 means a full 3×3 repair area around the cable.
Tweakable repair tick interval
Range: 10 to 600 ticks (roughly 0.17 seconds up to 10 seconds).
Default value: 60 ticks (1 second).
Increasing this interval noticeably reduces the mod’s performance overhead.
Author: Lou Xiaole