RimWorld

RimWorld

311 ratings
Prioritize Meals over Preserved Foods
3
8
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
362.175 KB
8 Dec, 2022 @ 8:50am
23 Jul @ 9:36pm
42 Change Notes ( view )

Subscribe to download
Prioritize Meals over Preserved Foods

Description
Overview
"Prioritize Meals over Preserved Foods" is a managed mod that allows you to manage meal restrictions on preserved foods with just a few actions. Manually provisioning meal restrictions for caravan members can lead to valuable time being taken away and inefficient use of playtime resources.
With "Prioritize Meals over Preserved Foods," you can prioritize the consumption of regular meals and only eat pemmican and packaged survival meal when regular meals are no longer available, all in a single flow.
It automatically launches and changes the priority of consumption in response to the addition of preserved foods by other mods.

Benefits
Simple : fully managed, no mod configuration required.
Performance : Since almost all processing is completed at startup, memory consumption is not affected.
High scalability : applies to all preserved foods added by mods, no matter how many.
High durability : eliminates human error in meal restriction changes during caravan construction and protects caravan settlers from starvation loss.
High cost-effectiveness : the only cost is pressing the subscription life button. As an option, you can also treat the author to a cup of coffee.
[ko-fi.com]

FAQ
Q: I eat raw vegetables, raw meat, and preserved foods first. why?
A: Examples of frequently misunderstood mod bugs include the following reasons.

1) The colonist has no right to eat the food he wants to eat because it is placed in the room with the prisoner's bed. This is a vanilla Rim spec. The same is true if colonists and prisoners are reversed.This trouble can occur if you try to feed paste to both prisoners and colonists at the same time using Vanilla Nutrient Paste Expanded.
2) The food you want to feed is prohibited by the colonist's dietary restrictions.
3) The colonist cannot go to the place where the food you want to feed is due to the door or restricted zone.
4) Because it is a special pawn with traits "Ascetic", genetic "robust digestion", or similar flags, raw vegetables and raw meat have a high selection priority only for that pawn.
4) The colonist's mood changes when eating food are greatly different from ordinary people due to the HAR race setting and Ideogy, and extreme dislikes/favorites are set.
5) The colonist is drawn to the food introduced by the mod that greatly increases the mood when eaten.
6) The place where the food you want to feed is too far away from other food.
7) It is avoided because it uses ingredients that are too tasteless, such as human meat and insect meat.

Q: Animals eat preserved food.
A: Since this mod is not a mod that trains animals, food priority changes are only made for meals made by Humanlike races.I think that it is unrealistic for animals with low intelligence to give priority to food over preserved food, so this behavior is intentional.

Q: I found a bug. The condition is...
A: Thanks for the bug report! I will fix it soon.

Q: I found a bug. HugsLib error log. URL.
A: Thanks for the bug report! I will investigate the cause.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=725234314

Q: I found a bug.
A: Get out of here!


Caution
Redistribution of this MOD data is prohibited.
207 Comments
seeki  [author] 24 Jul @ 12:21am 
Your statement is unclear, but I’ll try to interpret your point.

First, this is not an issue. Your suggestion is denied for the following reason:

The behavior where carnivores choose "Meat Simple Meal > packaged survival meal > Vegetarian Simple Meal", and vegetarians choose "Vegetarian Simple Meal > packaged survival meal > Meat Simple Meal" is expected, since packaged survival meals are allowed in the food policy.

You seem to want to lower the score of packaged survival meals so that the order becomes:
Carnivores: "Meat Simple Meal > Vegetarian Simple Meal > packaged survival meal"
Vegetarians: "Vegetarian Simple Meal > Meat Simple Meal > packaged survival meal"

However, this would result in:
Carnivores: "Meat Simple Meal > Vegetarian Simple Meal / kibble / raw veggies / corpses > packaged survival meal"
which is unreasonable.

For a carnivore, eating a vegetarian simple meal is as absurd as eating kibble or raw corn.
Many users would consider this bad scoring or a bug.
seeki  [author] 23 Jul @ 9:39pm 
Increased the food selection priority score modifier, which makes it easier to overcome the effect of distance modifiers to food.
seeki  [author] 22 Jul @ 9:41am 
Yes, the distance between the pawn and the food is taken into account in the food selection priority score. This is the basic rule in vanilla, and it is generally considered inefficient to carry food that is quite far away.

I recommend you edit the food restrictions for prisoners. There is little disadvantage to prisoners, as they have little reason to change the food they eat depending on the situation.

In the future, I may consider making a modification to halve the food distance score adjustment in order to provide a stronger food priority rule for this mod.
3Volodymyr 22 Jul @ 9:26am 
Also would love to see food priority configuration and to what types of people (colonists, slaves, prisoners, visiors, etc.) those will apply.
3Volodymyr 22 Jul @ 9:22am 
For some reason my pawns sometimes feed packed meals to prisoners, I checked and the problem isn't in diet or preferences of prisoners. I believe it might be because of distance, often when I see someone carriyng packed meal to prisoner he was close to the place, where I store packed meals and which is far from paste dispanser, when he desided to feed prisoner.

If it turns out it's a distance thing is it possible to change distance priority and add configuration of it into the mod?
seeki  [author] 21 Jul @ 12:41am 
Your analysis is incorrect and your claims are baseless.
This mod only modifies food-related parameters during game startup and does virtually nothing during actual gameplay.
Therefore, it's impossible for this mod to cause a significant drop in TPS.
Please refrain from making unfounded accusations.
Rovstam 20 Jul @ 10:57pm 
The problem was with my nutrient paste hoppers, not with the mod. I think it works as intended, at the cost of TPS.
Rovstam 20 Jul @ 10:56pm 
Also regarding the pemmican thing... There were no simple meals and the food restriction allowed them to eat that.
Rovstam 20 Jul @ 10:55pm 
Also the ammount of LAG this gives to my i3 10th gen laptop with 8gb is crazy. Don't recommend this mod at all unless you have good pc.
Voltaire 16 Jul @ 9:25am 
Thank you for this mod, it's the little things