边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
Eat Spoiling Food First
   
奖励
收藏
已收藏
取消收藏
Mod, 1.3
文件大小
发表于
更新日期
329.407 KB
2022 年 7 月 3 日 下午 4:12
2022 年 7 月 9 日 下午 3: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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2792347147
11 条留言
Mlie 2023 年 11 月 22 日 下午 12:17 
Daniel95818 2022 年 12 月 19 日 下午 1:56 
Will this be updated to 1.4?
Dobromir413 2022 年 10 月 27 日 上午 10:54 
1.4?
2Kane 2022 年 7 月 16 日 下午 2:05 
so this mod will save building a -1 ° freeter room. kinda cheating :D
Fizz 2022 年 7 月 11 日 下午 3: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  [作者] 2022 年 7 月 9 日 下午 4:00 
@SheakZarnn fixed on latest mod update
SheakZarnn 2022 年 7 月 9 日 下午 2:38 
Mod breaks taming. I'm getting exceptions every time pawn wants to tame animal.
Yodalorian  [作者] 2022 年 7 月 9 日 上午 10:31 
@Duke Flapjack no it's not working for cooking. I'm looking to maybe add that.
RudyardGustaf 2022 年 7 月 9 日 上午 9:28 
Def huge for new players who haven't perfected the early game. Like me. I am that player.:steamthumbsup:
Incognito100110 2022 年 7 月 7 日 下午 11:36 
i've always don't cared too much about eating fresh food, but anyways thanx