RimWorld Mods

Eat Spoiling Food First Mod

Author of the Eat Spoiling Food First Mod: mlie

Eat Spoiling Food First Mod fixes one of the most frustrating vanilla behaviors by making pawns consume food that is closest to spoiling before touching freshly cooked meals or drinks.

Raging at your pawn eating the freshly cooked meal instead of the stack of meals spoiling in 1 hour?
Drinking the fresh beers and letting the old ones rot?

This mod solves that by making pawns prioritize the most spoiled food first.


Eat Spoiling Food First Mod Features

  • Pawns eat food with the least remaining spoil time first.
  • Replaces the vanilla flat spoil bonus with a linear priority system.
  • Food closer to fully spoiled receives a higher priority bonus.
  • Applies to human pawns and player-controlled animals.
  • Only affects food spoiling in less than 3 in-game days.

How it works

In vanilla RimWorld, food choice is driven by a value called FoodOptimality. Spoiling food only gets a small flat bonus if it spoils in less than 12 hours, meaning food spoiling in 1 hour is treated the same as food spoiling in 11 hours.

This mod removes that logic and applies a linear bonus based on remaining spoil time, so food closer to spoiling is always prioritized.

The bonus is intentionally small, meaning distance and other vanilla factors still matter. For example, a far-away spoiling meal will not override a very close fresh meal.

Compatibility notes

  • Requires Harmony.
  • Designed to have minimal impact on vanilla FoodOptimality calculations.
  • Compatible with Caravan Auto Food Restrictions.
  • If you encounter errors, test with only Eat Spoiling Food First Mod and its requirements enabled.
  • Always share logs using the Log Uploader.
  • Use the Discord channel for error reporting.
  • Do not report errors via discussion threads.
  • If you have a fix, submit it to the GitHub repository.
  • Use RimSort to sort your mods.

Additional credits: nath_devs.

Hm, you're using an ad blocker...

We get it, ads are not what you’re here for. But ads help us keep the lights on. We deliver up-to-date mods, guides and plenty of RimWorld content at no cost to you. So, please, add us to your ad blocker’s whitelist to continue browsing the RimWorld Base. 

Please whitelist us on your ad blocker and

Get a lifetime ad-free experience with the purchase of any RimWorld merchandise from our store. 

Still seeing this message after making a purchase? Click here to fix it

Get your RimWorld T-Shirt!

Dress in RimWorld style. For you or your loved ones!