RimWorld

RimWorld

504 ratings
(Discontinued) WM Smarter food selection
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1, 1.2
File Size
Posted
Updated
1.100 MB
Mar 20, 2017 @ 7:33am
Aug 30 @ 2:19am
20 Change Notes ( view )

Subscribe to download
(Discontinued) WM Smarter food selection

In 1 collection by Wishmaster
Must-have QoL, vanilla friendly
44 items
Description
THIS MOD IS NOW DISCONTINUED AND DOES NOT WORK PROPERLY ANYMORE.
Text me if you are interested in taking over the mod.

1.0 version here https://steamcommunity.com/sharedfiles/filedetails/?id=2015294650

Mod Website
https://github.com/juliencsharp/Smarter.food.selection

Allows you to restrict the foods of your pawns (prisoners, animals, ascetic, cannibal).

* In-game UI to individually assign food policies.
* Force your pets to eat grass, human corpses, hay....
* Better food selection algorithm.
* Upgraded and smarter nutrient paste dispenser.
* Make your pet hunt for their own food.
* Animals will now search their food all across the map.

* Use Hotkey (default "\") to display food search information. Useful to check the behavior of the mod with custom policies.

* Save compatible.

If you like this mod, please consider supporting me on
Patreon[www.patreon.com]
...or just offer me a coffee[ko-fi.com].

Previous releases.
https://github.com/Wishmaster01/Smarter.food.selection/releases

Policies and food assignment

* Assign policies individually to your pawns.
* Policies will favor or forbids some foods or hunting.
* Visitors and other friendly/neutral pawns have their own policy and you can not change it.
* Create your own policies with XML (comes with presets). Example here: https://pastebin.com/QTAbERE0

Nutrient Paste Dispenser

* Force the dispenser to output meals.
* Visitors will use the NPD instead of picking the food from hoppers.
* You can use the NPD from a prisoner's room to feed injured prisoners.
* NPD will select the best ingredients according to the eater. When possible, cannibals and animals will get human meat. It will avoid human and insect meat for others.
* (Optional). The dispenser will create a specific nutrient paste item if it contains human meat. Useful to avoid to stack with other meals and mix ingredients.
* Fixes the vanilla bug where attempting to deliver food to a prisoner room with an empty NPD produces an error.

Animals / pets / handling

* Your pets become miraculously smart even they will respect the policy you assigned to them.
* The default pets policy makes them pick food in the following order (when they can eat it):
[Grass > Hunting (predator race) > Humanlike corpse > Hay > Nutrient paste > Kibble > Human raw meat > Insect raw meat > Raw food bad > Raw food tasty* > Corpses > Insect corpses > Simple meal > Fine meal > Lavish meal]
* Avoid your pets to get hurt while hunting. You can set a maximum predator/prey strength ratio beyond which they will not target a prey. (Vanilla is 0.5, mod default is 0.25). Check mod settings, not policy.
* Colonists will prefer using the best food for taming and training.

Special traits (Ascetic, Cannibal, Incapacitated)

* All of those have their own preset policy.
* Ascetic will always prefer nutrient paste meals instead of being indifferent.
* Cannibal will prefer meals with human meat and the dispenser will give them human meat meals.
* Incap. can't go berserk right ? Just feed them like ascetic colonists or even animals. (Assign a policy).

Caravans

* Food policies are applied to your pawns in caravan.

Custom policies

* Use this example https://pastebin.com/QTAbERE0
* Place your file in Defs/Policies .
* You can also use files in Defs/Policies as examples !
* Watch out for unique label and defnames
* The mod root folder should be somewhere in \SteamLibrary\steamapps\workshop\content\294100\887716138
* To see how your policy acts, assign a pawn with your policy and select it. then press "\" (default key) to cycle through display modes.

LIMITATIONS

* You cannot customize policies in-game for now. You can only create them with XML or use presets.
* For now you CANNOT assign policies to pawn while they are traveling as a caravan. The policy in effect while traveling is the policy you have set while a map (=not traveling). Be careful.

KNOWN ISSUES

* Recruited prisoners will keep their default policy to prisoners. (seems to happen with Hospitality only).
* Colonists will not fill the hoppers to get food from the NPD.
* Taming colonists will pick unlimited quantities of food when no appropriate food is available for the tamee. ONLY when "control pets" option is disabled.
* Some performance issues when having a lot of pets eating grass.
* Some pets like cats will wrongly prefer simple and nutrient paste over kibble.
* Cannibal feeding a patient with a nutrient paste dispenser will dispense a human meat meal if possible even if the patient is NOT cannibal.
* "Cannibal nutrient paste meal" produce by dispenser can be found among traders. Those do not contain human meat however and are just like the regular paste meal.

COMPATIBILITY

Combat Extended
* trying to tame/train with hay or more will make the colonist pick up and drop hay endlessly.

* The mod should be compatible with most mods that add more foods. Such as VG (to be checked).

* SFS dynamically categories all food definitions from every mod. This affects how policies affect their selection. You can see all those information on the "compatibility report" of the mod printed in the log on start.
* If it appears that some items are not correctly classified, the mod supports XML "compatibility patches". They will force a set of foods to appear in a given category.
* Everything needed to create those patches is the Defs/Compatibility folder of the mod.

Planned features

* Better UI.
* Create custom policies in-game.
* Change taming policy.
* Complete paste dispenser rework (built-in freezer and storage tbh, pets can use it, smaller meals for small pets).
* Pets will take their dead prey to the nearest storage.
* Change caravans policies.
* Food selection depending on the rot time.

Complete description https://ludeon.com/forums/index.php?topic=30708.0

Version 2.3 B19

Credits

* UnlimitedHugs for HugsLib and for assistance.
* Pardekei for Harmony, which is an awsome library to.

* To my supporters on Patreon :) [www.patreon.com]
Popular Discussions View All (6)
144
Jul 20, 2019 @ 1:51am
PINNED: Bugs and issues report.
Wishmaster
29
Apr 9, 2019 @ 11:41am
PINNED: Suggestions
Wishmaster
17
Jul 30, 2017 @ 12:03am
Error-spamming bug (previously stuttering bug)
Goosecrunks
< >
763 Comments
Darth Nihilus Nov 28 @ 10:33am 
oh f*ck... thanks for the mod anyway. used it for a long time.
Wishmaster  [author] Nov 13 @ 11:33am 
The mod has been discontinued as you can see in the description.
For some reasons, the "(Discontinued)" mention on the title was not present...
Theo3211 Nov 13 @ 9:32am 
I'll wait for an update to make my army of wolverines
Theo3211 Nov 13 @ 9:32am 
ok thank you when it's most likely an error, as you said, I also noticed when I try to open the debug menu it shows on the food animal tab if I opened it rather than taking the whole screen.
Wishmaster  [author] Nov 13 @ 8:39am 
Hello.
That you cannot change their policy is likely a mod bug. Either there is an error when you try to display their policy or the mod does not see them as tame animals...
Only a mod update could help you...
Theo3211 Nov 13 @ 2:24am 
Hello I have a bug, the megawolverines I tame can't eat anything, this happened mid game.
There's nothing written in the food tab of my megawolverines, they could eat before, I cannot change theur food polycie.
This is only for megawolverines, I tried uninstaling the mod and reinstaling it, I tried reseting it.
Is there a solution I did not see ?
NutritiousCookie Sep 29 @ 7:41pm 
When used with "Vanilla Cooking Expanded" animals set to eat grass will eat condiments.
Zion Sep 22 @ 4:37am 
Unfortunate
Wishmaster  [author] Sep 21 @ 10:04am 
"does not work properly" also for 1.1 and 1.0.

You're welcome
Zion Sep 19 @ 8:25am 
It says version 1.2 but it also says "does not work properly".

So does it work with 1.2?