[b]Why This Mod?:[/b]
If you have a colony with a hive infestation eating your framerate, have mods that cause animals to reproduce out of control, or just have an older CPU struggling to render all the onscreen pawns. I myself see 200-300 more TPS using this vs without.
[b]What Animal Control does:[/b]
Animal Control is a mod that allows you to limit the number of wild animals on a RimWorld map, and limiting the amount of growth a hive can have, however more variables will be added later.
[b]Current Settings:[/b]
Performance Hook: Planned limit override based on TPS, unimplemented, currently just a debug data poll
Prefer Large Animals: Self explanatory.
Max Animals: Self explanatory
Prey Ratio: Most Animals, anything that is generally passive (e.g Squirrels, Cows, Muffalos)
Predator Ratio: Amount of animals that hunt other animals, low by default.
Pack Animal Ratio: Amount of animals that can carry items in Caravans.
Polling Rate (only visible with Perf Hook On): Sets how often an animal get checked for/deleted.
[b]Updates:[/b]
7-28-2025
The BIG FIX Update, settings now properly sync in real time, performance hitches are now ironed out, and the mod is updated to 1.6!
5-9-2025
Added Harmony Support, has better resiliency I would suggest using it, otherwise ACTRL may stop working after reloading saves.
5-8-2025
Changed function to 'Thanos Snap' mode, more performant and can run less often, may cause hitching.
5-8-2025
Optimized code cycle, now runs 300x faster allowing for stable <1000 Tick operation
5-7-2025
Added Polling Rate to fine tune speed at which animals delete, set currently at good balance between performance/speed.
5-6-2025
Added ratios for fine tuning of animal variety, no real issues come from the total ratio being less than 100%, Implementing the lower limit is just slightly performance heavy.
Added size preference for those who want more big animals on the map.
[b]Any Issues? Suggestions?:[/b]
If you have any errors or problems with the code DM me or Comment here and Ill get back to you in 24~ hours.
[b]Credits[/b]
To Mycelius for the original code, at this point the original code has been entirely replaced by my own solutions, but his mod was an inspiration.