Jump to content

Trying to understand how refrigeration slows food spoilage for a plastic food container mod


SeQwin

Recommended Posts

Hello! I'm thinking about how to make a mod that would add plastic food storage containers (Rubbermaid, Tupperware et al) into the game to help with longer-term food storage than a couple of days, especially without refrigeration. I'd also likely add some zippable plastic bags or twist-tieable ones, but the primary is the plastic bins.

 

My first instinct is to figure out how refrigeration slows food decay and see if that system can be used to a lesser degree in a sealed container - that way, my stews and soups won't go stale in two days, but maybe 3-5 (or slightly longer with refrigeration). Ideally, these containers would compound with refrigeration and freezing to keep them fresh a bit longer as well.

 

I haven't been able to find where in the code this effect is, let alone how I could replicate it in individual containers of varying size, so if anyone has any clues as to where it's hidden (or ways I could do it without manipulating refrigeration code), that would be greatly appreciated.

 

I also wanted to make clear that this mod is definitely lore-friendly, since growing up in the early 90s exposed me to a literal cupboard-full of tupperware containers, let alone the empty margarine containers we'd reuse if they were in good condition. It feels like something you'd find in people's homes, maybe with some food still in it, maybe empty, but present enough you could have a handful to help stretch your food supplies a bit more. I play with settings that mean I survive for months at a time if i'm careful, and i'd love to have more preservation ability beyond canning.

 

If this isn't the right place to post this, my apologies! It's been some time since i've posted here.

Link to comment
Share on other sites

One simpler option would be to create new items for food items in Tupperware, e.g. Stew in Tupperware, with a longer life span.  Then create a recipe to create that item from a stew and a Tupperware container.  Maybe add an OnTest or OnCanPerform function to check the Stew is fresh.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...