边缘世界 RimWorld

边缘世界 RimWorld

151 个评价
Eat Spoiling Food First (Continued)
3
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.3, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
333.656 KB
2023 年 11 月 22 日 下午 12:17
6 月 29 日 上午 6:49
3 项改动说明 ( 查看 )

订阅以下载
Eat Spoiling Food First (Continued)

在 Mlie 的 1 个合集中
Mlie's resurrected mods
976 件物品
描述

Update of nath_devs mod https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2830119751



[discord.gg]
[github.com]


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


  • See if the the error persists if you just have this mod and its requirements active.
  • If not, try adding your other mods until it happens again.
  • Always post your log using the Log Uploader
  • For best support, please use the Discord-channel for error-reporting.
  • Do not report errors by making a discussion-thread, I get no notification of that.
  • If you have the solution for a problem, please post it to the GitHub repository.
  • Use RimSort[github.com] to sort your mods

| tags: prioritize
20 条留言
Dogard 11 月 11 日 上午 5:42 
Thank you for the link. I published my first version of the butcher mod: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3603496749
Mlie  [作者] 11 月 6 日 上午 7:35 
Dogard 11 月 6 日 上午 7:31 
@Mlie Absolutely. If you could let me know what tools I need,I'd do it myself. I was web developer for about 20 years and will figure it out.
Mlie  [作者] 11 月 1 日 上午 5:20 
@Dogard Its a bit out of scope for the mod, however it would be a good premise for someone to create a mod for
Dogard 11 月 1 日 上午 5:17 
Is it possible to add "butcher spoiling corpses first"? That would be a great addition!
Mlie  [作者] 8 月 5 日 上午 11:59 
@Vhis2enty Yes, as the description says
Vhis2enty 8 月 5 日 上午 11:07 
can it be added mid save?
PremierVader 7 月 19 日 上午 1:55 
Same as Amroth below said, is there any mod that helps choose spoiling ingredients first for cooking?
Amroth 3 月 28 日 上午 5:38 
Is there a mod like this that handles ingredients for cooking? To choose ingredients that are closest to spoiling?
HighAwe 2024 年 11 月 6 日 上午 5:43 
@sourmilk Common sense does have an option/tweak that does the same thing. Although it does say on common sense there will be lag if theres a lot of food to choose from. IDK about the performance of this mod compared to common sense.