RimWorld

RimWorld

1,094 ratings
Red's Performance Fixes (aka. Comp EggLayer Fix)
12
9
12
7
3
5
5
2
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
190.350 KB
5 Oct, 2024 @ 7:29am
6 Oct, 2024 @ 1:22am
4 Change Notes ( view )

Subscribe to download
Red's Performance Fixes (aka. Comp EggLayer Fix)

In 2 collections by RedMattis
Red's Workshop Mods
37 items
Quality of Life & Base Pack
44 items
Description
TL;DR: Less Laagggg. Game Run Better. Computer suffering less; Yay!




As of writing this just swaps out ONE very expensive Ludeon method. The... dreaded Egg laying! It really doesn't have to tick and look-up food needs every.single.tick! Gah!

I bet you're seeing the title image and thinking: Well, that's probably with a farm full of chicken over half a day, that's neat but I don- NOPE! ONE Turkey. The 40 or so pawns and animals on map but together couldn't challenge our clucking satan.

The egg method also checks every single Hediff and (every single gene if human). As well as calling on expensive (and sometimes generically patched) StatDefs, accessing the same frequently patched property several times, and so on. It's not a great comp.


After. And letting it run for a lot more ticks. Negligible amount of calls


Also after: Performance with of 77 chickens at TPS 900 (Speed 3 in RimWorld is 360TPS). This image is taken while also using various animal-related Vanilla Expanded Mods, Big & Small + all sub-mods, and Humanoid Alien Races. All of which absolutely hate the vanilla egg layer comp.



Compatibility & FAQ
No known compatibility issues. Should in theory work with just about any mod.

Confirmed to work with Rocketman, Performance Fish, etc. Highly likely to get along perfectly well with any others too.

Note that this mod only replaces egg-laying-progress-tracking using Ludeon’s standard method. Derived versions (subclasses) won’t be affected. Most mods don't subclass egg'laying though, so they will benefit from this mod.

Should be safe to add or remove from existing games.


Instructions
Likely to work best late in your modlists. That way it can patch vanilla egg-laying behavior if patched into animals by other mods.




Mod Discord
[discord.gg][ko-fi.com]
145 Comments
RedMattis  [author] 1 hour ago 
@AzoorFox
Those dastardly Ludeon programmers gleefully stole my mod! :'D

It is not needed for 1.6. :)

@Chαsε
The devs were pretty honest about having seen this mod and going "Oh... We should fix that!"

Mission accomplished imo. I could ask for nothing better than the performance mod no longer being needed because devs fixed the issue. :D
FluidBridge032 7 hours ago 
o7
AzoorFox 15 Jun @ 12:52pm 
UPDATE WHEN???????????????????????
Hqiran 14 Jun @ 6:56pm 
o7
Chαsε 14 Jun @ 7:16am 
The moment I see "eggs" and "chicken" in the DLC post I knew it sound familiar.
donitor 13 Jun @ 8:00pm 
o7
Justacommonegg 12 Jun @ 12:31pm 
o7
RedCloud53 12 Jun @ 11:52am 
o7
Wednesday 12 Jun @ 3:21am 
o7
-=GoW=-Dennis 12 Jun @ 2:58am 
o7