RimWorld
96 lượt đánh giá
Better Zzzt
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Mod, 1.0, 1.1, 1.2
Kích cỡ file
Đã đăng
Đã cập nhật
4.345 MB
12 Thg01, 2020 @ 1:46am
10 Thg08, 2020 @ 3:51pm
4 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Better Zzzt

Trong 1 bộ sưu tập tạo bởi NECEROS
The NECEROS Collection
58 vật phẩm
Mô tả
The Zzzt event will only take 75% of your power, not all of it.





Shout out to SmashPhil for the code guidance!


Github: https://github.com/Neceros/BetterZzzt


Conflicts
If you're using the RT_fuse mod this mod will not function. RT_Fuses uses a destructive prefix and I don't have to time to get into that. It won't break, it just won't save your power.






Now what?
Get help, Ask questions, Give suggestions:
[discord.gg]

Check out some mods:


Help keep our projects going:
[ko-fi.com]
[www.paypal.com]
33 bình luận
blues 22 Thg07, 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://steamproxy.net/sharedfiles/filedetails/?id=2322956181
NECEROS  [tác giả] 20 Thg07, 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 20 Thg07, 2021 @ 6:53pm 
+1 for a 1.3 update! :steamhappy:
Logan 3 Thg12, 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.
sonRaim 21 Thg09, 2020 @ 12:57am 
I want to make this 75% -> 25%.
I saw 1.33f in the code.
What does this mean?
NECEROS  [tác giả] 13 Thg07, 2020 @ 1:24pm 
lol :gearthumbsup: nice
Lemming 13 Thg07, 2020 @ 9:42am 
"looks through mods code" "Changes it to 0%"

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

You must have Harmony mod for this to work.