RimWorld

RimWorld

118 ratings
More filters for animals' pen
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
115.783 KB
27 Jul, 2021 @ 1:24pm
11 Jun @ 10:16am
13 Change Notes ( view )

Subscribe to download
More filters for animals' pen

Description
Previous mod name: Animals' age filter

You can decide which animal goes to a pen based not only on gender (male/female) but also on:
  • animals' age (baby/juvenile/adult);
  • pregnancy/fertilization status;
  • sterilization status;
  • age greater than life expectancy of animals' race;
  • if a pack animal is carrying items
  • if an animal is designated to be slaughtered (manual designation or automatic slaughtering)
  • if an animal needs tending now or periodically (infection, asthma, plague, etc)
  • malnutrition status
  • with resources ready to be harvested
  • with all injuries tended
  • with permanent injuries
  • with name
for example you could keep milkable animals (adult ones) in a separate pen, closer to your colony or, since babies eat less, you can keep them in a smaller pen

Important notes
  • safe to add to an ongoing game
  • to remove from an ongoing game it's best to allow all pen filters, save the game, and only then remove the mod
  • if can apply a name to a pen (marker) using my Rename pen mod

Complex filter logic (vanilla feature)
You can combine several filters putting multiple pen marker in the same pen:
  • what is really important (and what is indeed saved in savegame) is what you do not allow;
  • a single marker applies AND logic on all its terms;
  • if you have multiple markers in the same pen the OR logic is applied between them

For example if you want to keep sterilized males + all females in the same pen you just put:
  • pen marker 1 -> no females, no unsterilized (so basically only sterilized males);
  • pen marker 2 -> no males (so basically only females)

if both are in the same pen the applied logic is:
(not female AND not unsterilized) OR (not male)

Other download links
GitHub link: https://github.com/angelolocritani/Rimworld-AnimalsAgeFilter
Ludeon link: https://ludeon.com/forums/index.php?topic=54893.0

Release history
  • v1.1 - added filters for sterilized and pregnant/fertilized status
  • v1.2 - added filter for age greater than life expectancy of animals' race
  • v1.3 - added filter for pack animal carrying items
  • v1.4 - added filter for animal designated to be slaughtered and filter for animal with an immediate or periodic need for tending
  • v1.5 - added malnutrition filter
    • v1.5.1 - fix: diseases that hit whole body were ignored by "tendable condition" filter
  • v1.6 - Added filter for animals with resources ready to be harvested
  • v1.7 - Added filter for animals with all injuries tended and for animals with permanent injuries
  • v1.8 - Updated for Rimworld 1.5
  • v1.9 - Added filter for named animals
  • v1.10 - Updated for Rimworld 1.6
    118 Comments
    GuardiaN 6 Aug @ 11:17am 
    uhum I have to admit I didn't read it adds OR logic with 2 signs, I'll try to see if i can make it work based on your input later, thanks for the help
    arl85  [author] 6 Aug @ 9:32am 
    so in your case

    pen 1: cow, male. disallow all other animals and disallow female (rename it "bulls")
    pen 2: you need 2 pen markers.
    pen marker #1 cow female, disallow all other animals, disallow male (rename it "cows")
    pen marker #2 all other animals except cow (rename it "all others")

    Renaming every single pen marker is optional but helps you remember what each of them do

    result: https://imgur.com/9CzMhXI
    arl85  [author] 6 Aug @ 9:32am 
    Hi GuardiaN, I'm not sure I've really understood your question.
    Do you want to have a pen for all animals except male bull and another pen with only male bull?

    If it is the case you can try the complex logic described in description (I'll repost it here)

    Complex filter logic (vanilla feature)
    You can combine several filters putting multiple pen marker in the same pen:
    what is really important (and what is indeed saved in savegame) is what you do not allow;
    a single marker applies AND logic on all its terms;
    if you have multiple markers in the same pen the OR logic is applied between them

    For example if you want to keep sterilized males + all females in the same pen you just put:
    pen marker 1 -> no females, no unsterilized (so basically only sterilized males);
    pen marker 2 -> no males (so basically only females)

    if both are in the same pen the applied logic is:
    (not female AND not unsterilized) OR (not male)
    GuardiaN 6 Aug @ 5:30am 
    is there any way to have it filter base on cow F / bull M. I tried to have a big pen with different animals, cows being the biggest source of food. Problem is, if I try to make a secondary pen just for the bulls, it will conflict with the main pen settings and the pawns just try to move from the bull pen into the main pen and vice verse. if I have individual animal by sex filter it would solve the problem.
    LittleMsSam 3 Aug @ 8:48am 
    Thank you for this! Finally a way to keep my Chicken Population under control.
    Makeithappen 15 May @ 6:39pm 
    <3
    arl85  [author] 13 May @ 10:13pm 
    @Makeithappen "Rename pen" mod is indeed in the base game, now!
    Makeithappen 12 May @ 8:46pm 
    this and rename pen needs to be in the base game.
    GalopaWXY 22 Apr @ 8:19am 
    I don't know why this stuff isn't in the base game already. Thank you for fixing it!!
    Agaros007 6 Mar @ 11:13pm 
    @Angry Canadian i think what you want is under Animals -> Manage Auto Slaughter? thats the nearest i can see and its a Vanilla feature