RimWorld

RimWorld

Better Zzzt
34 Comments
[Br] Nasid Sep 14 @ 7:32am 
1.6
blues Jul 22, 2021 @ 7:20am 
Since you said it, I had a mod going on for some time about short circuits. It's compatible with RT Fuse, Power Logic and it has bunch of settings to modify the Short Circuit event. For anyone interested: https://steamcommunity.com/sharedfiles/filedetails/?id=2322956181
NECEROS  [author] Jul 20, 2021 @ 7:28pm 
I'm very sorry but I won't be updating my mods to 1.3. I urge anyone to continue mod on their own and provide the link here for people to follow.

Thank you
The Bard of Hearts Jul 20, 2021 @ 6:53pm 
+1 for a 1.3 update! :steamhappy:
Logan Dec 3, 2020 @ 11:08pm 
@Jjung Rare to see someone showing initiative, so I'll happily do a "drive by" help. 1.33f means the number 1.33, as a single precision (32bit) "floating point" (how computers store decimal numbers internally). Significantly, this is 4 thirds (4/3).

You correctly identified this as the critical number. The first parameter is "OpCodes.Ldc_R4", which tells the computer to push the operand (1.33f) onto the stack. On the next line, you can see it yields "OpCodes.Div", which is the division operator. To see this as a percent, assume you have 1 already on the stack, as the amount of energy in the battery. So the VM does 1/1.33, which leaves 0.75 on the stack. (Obviously, that number gets scaled by whatever number the battery returned).

Bottom line: If you want to have it only take 25% of your stored energy, change that 1.33f to 4.0f.
son seoung min Sep 21, 2020 @ 12:57am 
I want to make this 75% -> 25%.
I saw 1.33f in the code.
What does this mean?
NECEROS  [author] Jul 13, 2020 @ 1:24pm 
lol :gearthumbsup: nice
Lemming Jul 13, 2020 @ 9:42am 
"looks through mods code" "Changes it to 0%"

That's better
NECEROS  [author] May 30, 2020 @ 4:18pm 
No, they still cause a Zzzt event. The 'plody still happens.
Potato May 30, 2020 @ 2:31pm 
Does this stop battereis from exploding?
NECEROS  [author] Feb 29, 2020 @ 8:51pm 
PLEASE NOTE

You must have Harmony mod for this to work.
rpayne88 Feb 27, 2020 @ 3:49pm 
Diskorruptd Same.
I use the RT fuse mod and I always find it funny how a battery can fully discharge without a closed circuit (since the fuse blew/ the breaker tripped.) And I have a somewhat advanced understanding of electricity.
DisKorruptd Feb 25, 2020 @ 11:26am 
I'd love to see a mod that has the Bzzt event drain power only on the side relevant to it's side of a surge protector
#6 Feb 11, 2020 @ 5:58pm 
Getting at this late.. I wouldn't mind seeing a new fuses mod, maybe with compatibility for some of the bigger battery mods out there too. I believe in you NECEROS :D
NECEROS  [author] Jan 20, 2020 @ 9:30pm 
I'm going to try and convince Ratyz to update his/her code
Arnovitz Jan 20, 2020 @ 9:12pm 
Yeah, that must be it since I'm using RT fuses. I tried moving the mod to the top and bottom of the list and it didn't work. Good luck finding a fix.
NECEROS  [author] Jan 20, 2020 @ 8:37pm 
So I've found that Better Zzzt not compatible with RT fuses.

RT Fuses uses a destructive prefix in their harmony patch for the Zzzt event, meaning I would either have to get the dev to change the RT Fuse code, or make my own fuse mod from scratch doing a more modern method that is mod friendly.
Arnovitz Jan 18, 2020 @ 3:38pm 
I've put it toward the bottom, but I have so many mods it's difficult to tell what might be causing it.
NECEROS  [author] Jan 18, 2020 @ 3:18pm 
@Arnovitz hmmm. Not that I know of. Where is it in the load order?
Arnovitz Jan 18, 2020 @ 2:43pm 
I had this mod loaded but the Zzzt event still drained all my batteries. Any known conflicts?
RedstoneRevolution Jan 18, 2020 @ 8:04am 
Very nice.
NECEROS  [author] Jan 17, 2020 @ 1:13pm 
Frying_Dutchman, as always you have useful advice! I will consider this! It isn't quite as easy to implement, but I'll give it a crack.
Frying_Dutchman Jan 17, 2020 @ 12:51pm 
Neceros, is it possible to make the loss of electricity random? From 1 to max? I think that would be more realistic.

Also, as a side note, zzzt events should probably be more likely when doing construction of NEW electrical conduits that are connecting to the existing one, as that adds more complexity to the network, and unskilled constructors would probably cause shorts in the system.

So maybe you could make it random, and have a greater chance of one happening when an unskilled worker is making new conduits to a powered network?
crgzero Jan 14, 2020 @ 2:16pm 
Hey I see paladin causing trouble in this mod as well, you can safely ignore his malfunctions because he ALWAYS does this, we play several of the same games together and he complains about inconsequential ♥♥♥♥♥♥♥♥ in EVERYTHING. Mods, games, everything is the same with this guy.
[TG] error Jan 14, 2020 @ 7:02am 
ohhh! I need this thank you so much
Mistletoe The Bard Jan 12, 2020 @ 10:18pm 
@NECEROS Thank you for your calm respond as well!
NECEROS  [author] Jan 12, 2020 @ 9:36pm 
I appreciate the responses, passion, and thought put into it all.
Mistletoe The Bard Jan 12, 2020 @ 8:13pm 
- CONTINUE-
I am not trying to be a ♥♥♥♥ here and saying this naming/terminology used is some kind of crime. I was once thinking exactly the same as you guys as well. I am just saying that I was well aware of this terminology usage is actually quite bugging people who have a different understanding of the game. "I will try to call it, XXXX adjustment, if I ever made a mod like this." this was exactly what's in my head when I was thinking about this topic last night.
Therefore, @Baeaniemonk please be kind to people with other opinion. No one is trying to say that you are a noob for thinking this is easy. People are simply trying to make the term usage clear, since it is important. It is not simply just a name. Try to tell a Christian person that they are Catholic and tell them it is just a name?
Mistletoe The Bard Jan 12, 2020 @ 8:08pm 
@Paladin @Beaniemonk I support Paladin on this one. Same thoughts went through my head when i saw that this is another @Neceros's mod. Everyone can have their preferencies, but I do feel like Neceros' balance adjustment mod are usually like on the easier side. I was once being on the side of you @Beaniemonk as well, when the mod author @Pelador pointed out my choice of word "balance" were just "easier" in another post long ago. I now understand that there are certain events in-game are meant to be in certain way and I found @Neceros' mod usually defeat the entire danger of those events. Eg: ZZZt, Solar flare, Eclipse are meant to paralyzed players who rely on electricity in defense, crops growing, but @Necero's mod either decrease the event time to a point that crops won't die, temperature won't dropped that low, or making you still have electricity in your battery to keep you going.
Beaniemonk Jan 12, 2020 @ 7:14pm 
@Paladin I assume you've already contacted the authors of the other (roughly) 40 mods that use the word "better" in their names to inform them of your thoughts on the subjectivity of using said word.

Or did you, out of personal preference, choose to pick on just this one mod?
Chowder Jan 12, 2020 @ 6:40pm 
Thank GOD.
Drachmas Jan 12, 2020 @ 4:47pm 
Easier Zzzt
NECEROS  [author] Jan 12, 2020 @ 1:05pm 
It's just a name.
Paladin Jan 12, 2020 @ 2:50am 
It is all about person preferncies, I know. But for some people that is not not better but easier.