RimWorld

RimWorld

589 ratings
RT Power Switch
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
353.143 KB
Jul 20, 2016 @ 12:48pm
Apr 20, 2024 @ 11:15am
15 Change Notes ( view )

Subscribe to download
RT Power Switch

Description
A new researchable (RT Mods research tab) function for the power switch: when enabled, a new settings tab will become available on the power switch, allowing precise configuration of how should the switch react to changes in stored energy levels in an adjacent power network.

Does not require a new colony to add or remove (might throw a one-time error).

Contributing new translations: create a translation mod.

Old versions - scroll down, manual install[github.com]
Forum thread[ludeon.com]
Source[github.com]
License (GPLv3)[github.com]
Buy me a coffee![ko-fi.com]
125 Comments
0。0 Apr 1 @ 3:31am 
ResearchTabDef need two Tags
<generalTitle></generalTitle>
<generalDescription></generalDescription>
zecorezecron Feb 7 @ 12:47am 
There's a mod called power logic that should allow something like that. You can limit how far along the wires it will scan for batteries.
Darian Stephens Feb 5 @ 8:37pm 
@青丘白狐殿下
Did you ever find a mod which can do that?
I want to do the exact same thing, but haven't found any mods which can.
青丘白狐殿下 Nov 5, 2024 @ 10:34am 
Unless the batteries are centralized and placed in one place, then split into multiple wires (and connected to switches), and each wire is individually set to open/close when the remaining percentage of battery storage is different, this mod can be used normally
Otherwise, this mod will fail due to connecting the entire power grid. I originally intended to create a separate network for a special battery in the nuclear power plant mod to take special care of it, but unfortunately, this mod cannot achieve this
(Translation machine)
Tagaris Jul 10, 2024 @ 12:35pm 
Thanks for the response. I believe I'm now understanding what's going on. I had presumed that the probing direction would split the network and only consider one side. But it's simply probing the full network of that side (including everything on the opposite site), hence the flickering.

I'm trying to build a setup "if the main battery is empty, don't power up the secondary network". This doesn't seems to work if the secondary network also contains batteries, because when the switch is on they are part of the whole network, regardless of the probing direction.
Ratysz  [author] Jul 10, 2024 @ 10:48am 
@Tagaris: Seems to me that is exactly what's going on, and it's not "not intended" - it's how RimWorld power networks always worked. I'm not doing anything special there.
Tagaris Jul 10, 2024 @ 9:04am 
I used this a long time ago, but now I don't grasp the system anymore.

I have a power switch between two networks. Both networks contain batteries. I have it set to observe the western network, turn on at 70% and shut off at 50%.

It turns on at 70%, but then flickers between off and on because it connected to empty batteries in the eastern network. It seems like the batteries on the eastern network do count towards the western network if the switch is on, which is probably not intended.

This flickers:
https://imgur.com/a/ol6PeCL
wolf.of.the.7.seas May 8, 2024 @ 6:47am 
This is a cool mod only wished I could find something similar for other pipes such as chem fuel and helixien gas
The Bard of Hearts Apr 20, 2024 @ 1:00pm 
thanks for the mod work!
os Apr 20, 2024 @ 11:49am 
thank kind sir