RimWorld
Няма достатъчно оценки
Eat Spoiling Food First
   
Награда
Добавяне към любими
В любими
Премахване от любими
Mod, 1.3
Размер на файла
Публикуван на
Обновен на
329.407 KB
3 юли 2022 в 16:12
9 юли 2022 в 15:59
3 бележки за промени ( преглед )

Абониране, за да се свали
Eat Spoiling Food First

Описание
Raging at your pawn eating the freshly cooked meal instead of the stack of spoiling in 1 hour meals ?
Drinking the fresh beers and letting the old ones rot ?

This mod fix this for you by making the pawns eat the most spoiled food first.

Details:

In vanilla Rimworld, what determine if a food is going to get eaten is a value called FoodOptimality (higher the better) and a small constant bonus modifier is applied if a food is going to spoils in less than 12h.

Meaning that a food spoiling in 1 hour has the same value than a food spoiling in 11h (same for 1 day and 3 days).

This mod cancel the vanilla logic and compute the FoodOptimality bonus modifier for spoiling food in a linear fashion according to remaining spoiling time (closest to fully spoiled gets more bonus).

The linear bonus is applied if a food is going to spoiled in less than 3 days and only applies on humans and player animals.

Technicality:

FoodOptimality value is computed according to distance between pawn and food modifier, food mood modifier, food nutrition modifier, ect (distance modifier has the greatest impact).

I've designed the linear spoil modifier to only have on small impact on the FoodOptimality algorithm.
That's means for example that between a 50 tile spoiling food and a really close fresh food, the linear spoil modifier will be negated by the distance modifier.

Mod dependencies : Harmony

Github : https://github.com/nathtest/EatSpoilingFoodFirst

Other mod :
- Caravan Auto Food Restrictions : https://steamcommunity.com/sharedfiles/filedetails/?id=2792347147
11 коментара
Mlie 22 ноем. 2023 в 12:17 
Made an update of this:
https://steamcommunity.com/sharedfiles/filedetails/?id=3092186754
Hope it helps anyone!
Daniel95818 19 дек. 2022 в 13:56 
Will this be updated to 1.4?
Dobromir413 27 окт. 2022 в 10:54 
1.4?
2Kane 16 юли 2022 в 14:05 
so this mod will save building a -1 ° freeter room. kinda cheating :D
Fizz 11 юли 2022 в 15:35 
Uhm, I'm not sure if it's this mod exactly, but my colonists are feeding prisoners some questionable "food" items - I had to disallow stacks of whiskey and mechanite serum to get them to feed the prisoner normal food. This is the only mod that I know modifies the FoodOptimality value, and also every poor food item I mentioned is a modded item, so I wonder if this mod has weird interactions with others...
Anyway yeah my colonists would've fed drugs to my prisoner, one dose at a time, because the food meter wasn't filling up - until they overdose
Yodalorian  [автор] 9 юли 2022 в 16:00 
@SheakZarnn fixed on latest mod update
SheakZarnn 9 юли 2022 в 14:38 
Mod breaks taming. I'm getting exceptions every time pawn wants to tame animal.
Yodalorian  [автор] 9 юли 2022 в 10:31 
@Duke Flapjack no it's not working for cooking. I'm looking to maybe add that.
RudyardGustaf 9 юли 2022 в 9:28 
Def huge for new players who haven't perfected the early game. Like me. I am that player.:steamthumbsup:
Incognito100110 7 юли 2022 в 23:36 
i've always don't cared too much about eating fresh food, but anyways thanx