RimWorld

RimWorld

34 ratings
[XND] Adjustable Predator Count
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0
File Size
Posted
Updated
589.636 KB
28 Aug, 2018 @ 8:08am
30 Jul, 2019 @ 8:50am
4 Change Notes ( view )

Subscribe to download
[XND] Adjustable Predator Count

Description
Direct download from GitHub[github.com] (source[github.com])

Compatibility
Should be safely addable to and removable from existing savegames.

There are no known incompatibilities.

If you find any bugs, please link me to a full output log and give some basic information on how you triggered the bug; this is vital information for me to be able to fix said bugs.

Overview
Are you sick of predators that maul your colonists and pets to death, or a masochist that feels like every single animal in your game should be a predator of some shape of form? If you fall onto either end of this spectrum, this is the mod for you.

Adjustable Predator Count is, as the name suggests, a mod that allows you to adjust the likelihood of predators spawning naturally in biomes. This is done entirely through the mod settings menu, where you can adjust a slider which ranges anywhere from 0 to 1000.

No Predators - set the value to 0 and predators won't ever spawn until you either remove this mod or reconfigure it in the same menu.
Nothing but Predators* - crank the slider as far as it can go! Due to how animal spawning mechanics work though, there will rarely be prey animals.

Do note that this value globally affects all predators in the game, across all biomes - vanilla and modded alike. For now, this value also only affects wild spawn rates, which means that you can still get manhunter packs, traders or migratory herds which have predators.

Powered by the Harmony Patch Library.

Credits
Big thanks to erdelf, Mehni and Spdskatr for helping me with transpiler trouble and mod settings!
Pardeike (AKA Brrainz) - for making the Harmony Patch Library, and for Camera+ which was used for the squirrel in the thumbnail
Why_is_that - for his great work with his SettingsHelper which was used for the slider
Marnador - for the RimWorld-style font

License
As is standard with my mods: you may include this mod in a mod pack, and you may derive from this, but please inform me if you're doing so through Ludeon Forums (preferably) or the Steam Comments Section, and give credit where credit's due.
15 Comments
facciola007 16 Mar, 2020 @ 7:27pm 
thanks was nice :)
XeoNovaDan  [author] 22 Feb, 2020 @ 9:01am 
Note for 1.1: This mod will not be updated
XeoNovaDan  [author] 9 Aug, 2019 @ 4:38am 
@Kittamaru - Yeah, that would be. Other than your settings being reset for this mod, it should be harmless.
Kittamaru 9 Aug, 2019 @ 4:27am 
Here is the pastebin of the full error trace in game:

https://pastebin.com/43CPWc27
Kittamaru 9 Aug, 2019 @ 4:21am 
Odd bug I'm seeing -

Could not find class AdjustablePredatorCount.AdjustablePredatorSettings while resolving node ModSettings. Trying to use AdjustablePredatorCount.AdjustablePredatorCountSettings instead. Full node: <ModSettings Class="AdjustablePredatorCount.AdjustablePredatorSettings" />


Is this a result of the recent update?
Sutto 31 Jul, 2019 @ 8:56am 
@XeoNovaDan reset when re-opening the settings menu... confused me so much lol, thanks for the visual improvement. ;)
XeoNovaDan  [author] 30 Jul, 2019 @ 8:51am 
Alright, pushed a fix for the settings issue. I've basically gone and re-written the whole mod since it was inefficiently done anyway, and the commonality is now based on a mostly exponential slider (from 0 to 1000) rather than having to enter a value.
XeoNovaDan  [author] 30 Jul, 2019 @ 7:49am 
On the other hand, maybe I should revisit this. It's a significant enough problem to be very unintuitive. Sure, why not.
XeoNovaDan  [author] 30 Jul, 2019 @ 7:43am 
Hm, that only seems to reset when re-opening the settings menu. If you put in say 500, that 500 will apply until you next open the settings menu.

It's an odd behaviour for sure, but I haven't been interested in maintaining this mod for a while and since the functionality still ultimately seems to work (tested with 2 restarts), I'm probably not going to address this.
Sutto 30 Jul, 2019 @ 7:00am 
It`s not working, count setting automatically resets itself to 1 after restart. Tested with only ModManager and HugsLib, still not working.