RimWorld

RimWorld

Not enough ratings
Perishable Spoil Time Filter
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4
File Size
Posted
Updated
511.598 KB
Jan 3, 2023 @ 11:30pm
Jan 4, 2023 @ 7:42am
3 Change Notes ( view )

Subscribe to download
Perishable Spoil Time Filter

Description
Adds a 'spoil time' filter to stockpile and ingredient selectors.

This is a direct 1.4 port from MrHacky's mod of the same name, found here: https://steamcommunity.com/sharedfiles/filedetails/?id=2178652457

*This mod will be taken down upon request from the original author!*

Source: https://github.com/GhengopelALPHA/rimworld-PerishableSpoilTimeFilter

Original Description:

Adds a 'spoil time' filter to stockpile and ingredient selectors.

Automatically turn meat/vegetables about to go bad into chemfuel before it spoils!

Set up stockpiles in such a way stuff is moved into the freezer only when it needs to be.

Note: The spoil time slider does *NOT* take into account the current temperature of the tile of an item. This may cause the time cutoffs to not be 100% accurate, but it should be close enough anyway. It was done this way to allow setups like the freezer example above, where the item would need to stay in the freezer even though it will never go bad while it is in a freezer tile.
13 Comments
Alien Xenomorph May 10 @ 3:13am 
@Doomchibi
Still work at 1.5, at least 'spoil time' filter is appearing. If red exsclamation mark in mods list is annoing you just add line <li>1.5</li> in <supportedVersions> section of About.xml file (or change 1.4 to 1.5, no difference). Or use 'as is' if it doesn't boring you.
Doomchibi May 8 @ 1:00pm 
Does anyone know if this is working in 1.5? One of my favorite mods that I would consider a "must have" for cooking...
thailyn Sep 5, 2023 @ 12:30pm 
@ChroChro @SimplePhysics This error is also triggered when this mod is used with the Medical System Expansion 2 mod. I tested adding some error logging in this mod, and it is the MyWorldComponent object which is null, so you could add a null check to your harmony patch to avoid the exception.

As for whether these other mods are doing improper things which are triggering your patch earlier than you expect, I have no idea.

Also, an unrelated FYI: you have not committed your changes to the About directory in your fork of the GitHub repo.
ChroChro Sep 3, 2023 @ 2:28pm 
not sure which mod is "at fault" for the incompatibility but terraform rimworld and perishable time filter spit out this red line, perishable will work fine but terraform will effectively be bricked

[HugsLib][ERR] TerraformRimworld caused an exception during OnDefsLoaded: System.NullReferenceException: Object reference not set to an instance of an object
at PerishableSpoilTimeFilter.HarmonyPatches.CopyAllowancesFrom_Postfix (Verse.ThingFilter __instance, Verse.ThingFilter other) [0x00005] in
Player Apr 15, 2023 @ 12:35pm 
This mod and Apothecary appear to be incompatible. They cause significant lag when combined. https://steamcommunity.com/sharedfiles/filedetails/?id=2195469123
SimplePhysics  [author] Jan 8, 2023 @ 10:22pm 
@Teusdv: Per that mod's description, it is incompatible with any other mod adding UI sliders. I don't think I can patch that.
Teusdv Jan 8, 2023 @ 1:36am 
sorry, the mod was not loaded, btw i found a issue related to better sliders, not a broken problem but the UI gets bugged when using the always on of better sliders, perhaps this is because of width i think.
SimplePhysics  [author] Jan 7, 2023 @ 10:51pm 
@Teusdv: Sure but, fair warning, I'm not particularly skilled with C# and Rimworld mods, so I make no guarantees
Teusdv Jan 5, 2023 @ 7:52am 
not working on my modlist, hard to seek cause its 542 mods. U want a hugslib log ?
SimplePhysics  [author] Jan 4, 2023 @ 8:30pm 
If anyone sees some weird floating icons of items in their storage menus with this mod installed, let me know; I just started seeing them in my own game and it might either be related to this mod or it could be another of the mods in my modlist has updated and is broken, I don't know.