RimWorld
31 lượt đánh giá
Perishable Spoil Time Filter
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Mod, 1.4, 1.5, 1.6
Kích cỡ file
Đã đăng
Đã cập nhật
559.028 KB
3 Thg01, 2023 @ 11:30pm
27 Thg07 @ 7:56am
5 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Perishable Spoil Time Filter

Mô tả
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 bình luận
Bobbysepp 11 giờ trước 
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  [tác giả] 29 Thg07 @ 9:03am 
Of course! This mod is invaluable to me personally!
The Bard of Hearts 27 Thg07 @ 1:38pm 
Awesome! Thanks
SimplePhysics  [tác giả] 27 Thg07 @ 7:57am 
It appears to still work for 1.6, updated tag
The Bard of Hearts 19 Thg07 @ 2:13pm 
Is this still working in 1.6?
SimplePhysics  [tác giả] 19 Thg07, 2024 @ 6:43am 
Updated the enabled versions for 1.5
Alien Xenomorph 10 Thg05, 2024 @ 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 8 Thg05, 2024 @ 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 5 Thg09, 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 3 Thg09, 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