RimWorld
Оценок: 133
Eat Spoiling Food First (Continued)
3
   
Наградить
В избранное
В избранном
Удалить
Mod, 1.3, 1.4, 1.5, 1.6
Размер файла
Добавлен
Изменён
333.656 KB
22 ноя. 2023 г. в 12:17
29 июн в 6:49
Обновлений: 3 (просмотреть)

Подпишитесь, чтобы загрузить
Eat Spoiling Food First (Continued)

В 1 коллекции, созданной Mlie
Mlie's resurrected mods
Предметов: 924
Описание

Update of nath_devs mod https://steamhost.cn/steamcommunity_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://steamhost.cn/steamcommunity_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.
  • Post your error-log using the Log Uploader and command Ctrl+F12
  • 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
Комментариев: 13
PremierVader 19 июл в 1:55 
Same as Amroth below said, is there any mod that helps choose spoiling ingredients first for cooking?
Amroth 28 мар в 5:38 
Is there a mod like this that handles ingredients for cooking? To choose ingredients that are closest to spoiling?
HighAwe 6 ноя. 2024 г. в 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.
ambi 1 ноя. 2024 г. в 2:54 
this should be in vanilla. nice work! :)
sourmilk 3 мая. 2024 г. в 10:34 
@ThatFawker theres a different mod for it, i think its called "common sense" or smthng
Mlie  [создатель] 21 апр. 2024 г. в 9:15 
@тетеря, блин Not that I know of
тетеря, блин 21 апр. 2024 г. в 8:10 
any performance impact?
ThatFawker 24 мар. 2024 г. в 18:58 
Anyway to also make them cook with ingredients that are about to spoil first?
BlueRetro 24 дек. 2023 г. в 7:11 
why the hell isnt this vanilla?
killer 4 дек. 2023 г. в 16:04 
@mlie there is a mod called Medical System Expansion 2 that offered some amazing content and a much needed overhaul of the health/body part system in Rimworld. I think the game is better with it. It was recently abandoned after the release of 1.4. Maybe you could take a look? I had to stop my 20 hour playthrough because I didn't realize it was broken. You're a saint!