RimWorld

RimWorld

155 ratings
Circuit Breaker
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
698.797 KB
17 Nov, 2024 @ 1:40pm
7 Jul @ 10:35am
3 Change Notes ( view )

Subscribe to download
Circuit Breaker

Description

📦 Overview

🕹️ Circuit breakers automatically switch off and stop power surges (⌁Zzzt⌁) from reaching batteries.

⚒️ Circuit breakers come with 10 fuse clips. After 10 triggers, they will break and need repair.

🪢 Line fuses don't require components, but are destroyed after a single trigger with a little emp flare.

🔎 You need to research Machining to build circuit breakers, Batteries to build line fuses.

📍They should be placed at choke points along power lines before they connect to batteries or generators.


⚡ Don’t Cross the Wires ⚡

❗ If there's an alternate path to your batteries without a circuit breaker or fuse, the power surge will take that route (literally short circuit) and cause mayhem ☠︎︎.

❗ Beware of the wires between a circuit breaker and a battery. To minimise the risk, avoid using long wires in protected areas. (Check the screenshots.)


⚙ Mod Settings ⚙

⚙ Hidden wires and powered equipment can now ⌁short circuit⌁ too; toggleable in settings.

Fuse consumption, battery drain, damage, breakdown risk, and notifications can be customised from the mod settings menu.

For a smooth update, a small check runs on map load to replace old breakers with updated ones. It’s safe and fast, but you can disable it in mod settings if no longer needed.


🧩 Compatibility

● Safe to add to existing saves.

● Removing with circuit breakers on the map causes a one-time error; saving again will clear it.

Not compatible with other short circuit mods like RT Fuse.




🧱 Circuit breakers are made to be placeable on rocks, dirt, walls and gravship hulls. If you can't, but want to, please make sure:

☑ You are not trying to place them on existing cables, power elements or other stuff that might overlap.

☑ You don't have the circuit breaker retexture mod or any remnants of it's patch in your modlist.

💭 I know the wall-placing logic and the textures aren’t perfect for wall placement. But this is the closest I could get to making them both ground and wall placeable, because I don’t like clutter. If you’d like it any other way, feel free to make a mod for it and share.




✒️ Another mod:
Anti-Blight and Firefoam Dispensers



57 Comments
blues  [author] 17 Aug @ 1:20am 
@VelxraTV, separating batteries from the system with a circuit breaker is easily achievable in small circuits and small spaces (see the lower-left circuit example in the screenshots). That’s the whole point of this mod in its originality: a tiny challenge to call it a mod instead of disabling the event entirely.

If you really need that simpler approach, there’s RT Fuse, you can use that mod instead of this one. And if that still doesn’t work for you, you can simply disable the short circuit event. Because at that point, there’s really no difference between “no challenge at all” and... no challenge at all.

In short, no. I'm not planning to change the baseline code for that, at least until the next big game update forcing me to push an update.
VelxraTV 16 Aug @ 3:56pm 
Could we have the option in the settings for the breaker box to count as protection so long as its attached in the system? Pretty much what the original mod did.

I like the design idea of needing to make a proper circuit. But this limitation has been very frustrating for small builds and space ships.
The Bard of Hearts 9 Aug @ 1:00pm 
Well, if and when you decide you want to work on things, I'll be happy to be a helpful little prinny... dood. :d5_prinny: Game on... dood. :d5_prinny: :steamthumbsup:
blues  [author] 9 Aug @ 12:45am 
The cable overlap thing seems annoying but i guess necessary since breakers has to be transmitters and able to cut of transmission when needed.
It could be made better, but not sure how, and i don't see myself doing it anytime soon.
I'm sure i'll love the dlc, thanks:)
The Bard of Hearts 8 Aug @ 4:53pm 
Hmm... It IS working now. It may be possible that I was trying to place it over an existing cable. I thought I tried putting it on a blank wall, but with my Inattentive Disorder, I can't recall. Thanks for the mod work all the same. Hope you enjoy the dlc.
blues  [author] 8 Aug @ 1:48am 
I installed the damn dlc, and checked it myself. I can place the breakers and the fuses on gravship walls and fly with them without problem. (Check the screenshot above) Make sure that:

- You are not trying to place the breakers on existing cables or other overlapping things.

- You don't have the retexture mod or any remnants of it's patch.

Other than that, every piece of code for breakers and fuses are the same, i don't see why else such thing would happen.

Safe travels. :theinterceptor:
The Bard of Hearts 7 Aug @ 7:46pm 
I didn't even know there was a retexture out there for this. Honestly your textures work just fine for me. Regardless, still is as is. The fuse will go into the wall without problem. The circuit breaker will not. So far, flying the ship hasn't caused any problems with anything that is built. And I can build the circuit breaker on the ship's floor, just not the wall, like I can with the fuse.
blues  [author] 7 Aug @ 1:52pm 
Naah mate. They are kneaded from the same dough, they can't act different, the fuse and the breaker.

I guess you are using the "Retexture Mod", they patched the breaker to not be wall-mountable for some reason idk. If that's the whole problem, you can uninstall that mod and you're good.

But let me know again when you launch your ship, check whether the fuses or breakers can fly attached with the ship without breaking the hull pressure or something. No logs needed, thanks. :theinterceptor:
The Bard of Hearts 7 Aug @ 12:11pm 
They can be placed on the gravship foundation but not on the gravship walls. In my current playthrough, I only just started using this mod and haven't tried launching the ship yet, but I doubt that will be an issue. The only real thing I noticed so far is that I can't place the circuit breaker in/on a gravship wall. The fuse, by the way, WILL go into a gravship wall. If there is any other way I can help, let me know. My debug logs may not be helpful, since I run 400+ mods. Thanks for looking into it. :megamanshoot::steamthumbsup:
blues  [author] 6 Aug @ 11:34pm 
Hi, @The Bard of Hearts.
I asked before but couldn't get an answer.
- Is this a problem just for wall-mounting in gravships,
- Or you can't place them anywhere in gravships at all?

If it's the second, it's a serious but easy problem, i'll just remove a few lines to make them normal buildings and push a quick update.

If it's just the walls, it's not that serious, and it'll need more experimentation, which i don't have that much time and i don't have the dlc.