RimWorld

RimWorld

68 ratings
[AFLD]AnimalsPreferGrazing
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3
File Size
Posted
Updated
559.949 KB
2 Jun, 2021 @ 4:42am
23 Apr, 2022 @ 7:23pm
6 Change Notes ( view )

Subscribe to download
[AFLD]AnimalsPreferGrazing

Description
Version : For 1.2, with Harmony; For 1.3, with Harmony, not extensively tested.

Description : (1.3 only: If an animal can eat corpses, it will prefer unreserved corpses most of all. For corpses you want to butcher yourself, make sure they are outside of allowed area/animal pen to avoid them being snacked on) If an animal can eat live plants, it will favor eating accessible live plants over other forms of food. This way you can put hay out to your animals in pasture and rest assured they will eat any grass first before they resort to it.

Limitations : This mod relies on a prefix patch for FoodUtility.TryFindBestFoodSourceFor . If a pawn is an animal and eats plants, it may skip the method itself. Therefore, any further patches may not apply in that circumstance. The method should be called as usual for non animals or animals who don't eat plants, or animals who eat plants when there are no live plants accessible to them.

Saves : I would recommend backing up your save, as this is my first mod, but I would not expect any issues either adding or removing from your save.

Notes : As animals will prioritize eating crops with this mod, you may wish to zone all who can eat live plants out of your farms.

Permissions : Feel free to modify, reupload, etc. in accordance with Rimworld TOS and your file host. Do not claim sole ownership rights or impersonate myself for fraudulent purposes.

________________________

For verification purposes, discord: always_forward_leyte_dragons, display name AlwaysForwardLeyteDragons
Popular Discussions View All (1)
1
15 Dec, 2021 @ 2:52pm
Bug Reports
TurtleShroom
18 Comments
Mlie 12 Oct, 2023 @ 1:03pm 
TurtleShroom 16 Jan, 2023 @ 11:42am 
Does this Mod work on V1.4 ? I would love to see it updated.

IMO, I think that Kibble should also be high priority. Everyone goes to graze when mountains of Kibble are at their disposal.
submeg 5 Nov, 2022 @ 3:57am 
Hey AFLD, are you looking to update for 1.4? Thanks in advance!
Victor 22 Oct, 2022 @ 7:04pm 
Will it work on 1.4?
AFLD  [author] 23 Apr, 2022 @ 7:27pm 
@Victor was able to add, corpses are now the highest preference followed by live plants
AFLD  [author] 23 Apr, 2022 @ 6:14pm 
@Victor I will see if it is not too complex, that would be very useful
Victor 22 Apr, 2022 @ 4:09pm 
Could you make it so animals also prefer eating corpses? Especially human ones so I can get rid of those damm raiders hehe
心凉 2 Jan, 2022 @ 12:32am 
LOL
AFLD  [author] 16 Dec, 2021 @ 7:25pm 
@TurtleShroom it targets the new method now, but it might break new changes to food finding if they had anything to do with animals (it calls the base game method for non-animals so the new game implementation will hopefully still work for regular pawns.)