RimWorld

RimWorld

31 Bewertungen
Perishable Spoil Time Filter
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Mod, 1.4, 1.5, 1.6
Dateigröße
Veröffentlicht
Aktualisiert
559.028 KB
3. Jan. 2023 um 23:30
27. Juli um 7:56
5 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
Perishable Spoil Time Filter

Beschreibung
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 Kommentare
Bobbysepp Vor 10 Stunden 
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  [Autor] 29. Juli um 9:03 
Of course! This mod is invaluable to me personally!
The Bard of Hearts 27. Juli um 13:38 
Awesome! Thanks
SimplePhysics  [Autor] 27. Juli um 7:57 
It appears to still work for 1.6, updated tag
The Bard of Hearts 19. Juli um 14:13 
Is this still working in 1.6?
SimplePhysics  [Autor] 19. Juli 2024 um 6:43 
Updated the enabled versions for 1.5
Alien Xenomorph 10. Mai 2024 um 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. Mai 2024 um 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. Sep. 2023 um 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. Sep. 2023 um 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