RimWorld
31 оценки
Perishable Spoil Time Filter
   
Награда
Добавяне към любими
В любими
Премахване от любими
Mod, 1.4, 1.5, 1.6
Размер на файла
Публикуван на
Обновен на
559.028 KB
3 ян. 2023 в 23:30
27 юли в 7:56
5 бележки за промени ( преглед )

Абониране, за да се свали
Perishable Spoil Time Filter

Описание
Adds a 'spoil time' filter to stockpile and ingredient selectors.

This is a direct port from MrHacky's mod of the same name, found here: https://steamhost.cn/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

This allows you to, among other things:

* 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!
* Move decaying animal (or human!) bodies to another location!

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.
19 коментара
Bobbysepp преди 1 час 
Since I can't seem to make an issue in Github, I'll put this here:
There is a collision between this mod and Adaptive Storage - Global Settings.
It is caused by the harmony patch: CopyAllowancesFrom_Postfix
It can be fixed by adding the line to the top of the patch:

if (Find.World == null)
return;

as is already done in: ExposeData_Postfix

I would love to see these mods made compatible, as both mods are fantastic!
SimplePhysics  [автор] преди 14 часа 
Of course! This mod is invaluable to me personally!
The Bard of Hearts 27 юли в 13:38 
Awesome! Thanks
SimplePhysics  [автор] 27 юли в 7:57 
It appears to still work for 1.6, updated tag
The Bard of Hearts 19 юли в 14:13 
Is this still working in 1.6?
SimplePhysics  [автор] 19 юли 2024 в 6:43 
Updated the enabled versions for 1.5
Alien Xenomorph 10 май 2024 в 3:13 
@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 8 май 2024 в 13:00 
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 5 септ. 2023 в 12:30 
@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 3 септ. 2023 в 14:28 
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