RimWorld

RimWorld

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

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

In 1 collection by RedMattis
Red's Workshop Mods
45 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]
292 Comments
「月」 Oct 1 @ 3:12pm 
O7
J0HN_R00 Sep 30 @ 3:06pm 
O7
Envixity1 Sep 27 @ 8:34am 
O7
Three Sep 27 @ 7:37am 
Huge thanks for this mod! I’ve used it in tons of my playthroughs. The fact that it got added to the base game feels like a big shoutout to your work. Take care!
Polski_Poland Sep 25 @ 3:18pm 
For those that don't understand what happened and don't want to dig through 8 pages of o7, this mod is no longer needed because the problem was fixed in the vanilla game for 1.6.

Stop asking for an update to a mod that has zero need to be updated. Unsub if you want.

o7
看小黄书的童谣 Sep 25 @ 1:18pm 
O7
DarkStar Sep 21 @ 3:55pm 
For your contribution. o7
st.rusik Sep 20 @ 1:38pm 
о7
굇누엥 Sep 19 @ 5:04am 
o7
Mang Sep 18 @ 8:35am 
o7 honorable decommision