-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(cool) Food stacks [E]aten from a fridge gets placed in player inventory and immediately spoils #58824
Comments
It's certainly the case that there are weird cases of food reporting to have a decent time left while in a fridge spoils immediately it is removed. |
This issue continues to make using fridge appliances very frustrating. Only work around for now is to just never remove anything from a fridge once you put it in there and to only use anything within it as ingredients for cooking nearby. |
/confirmed with a freezer |
I did some testing with this. I think it has something to do with items in the fridge not getting properly loaded into the reality bubble for processing after a save/load?
Here is the output for "test meat": We can see "test meat" somehow has 4 hours of time to process even though it was in the reality bubble. As soon as you take it out of the fridge, it simulates all of that time in the conditions outside of the fridge and rapidly rots the item: Here is the branch with the changes I made to display the debug info/messages shown above. It looks like specifically this loop isn't happening for items in vehicles after a save game is loaded. You can verify this by:
So whatever is populating the item list that is used by |
I was able to isolate when the vehicle loses the By moving the manual backfill of the I don't think this fix alone would do it. Presumably if The specific part of I think this bug was introduced when we added fake parts to vehicles. |
Describe the bug
When eating certain foods (it doesn't always happen) that are being cooled in a fridge, if the item is in a stack the item is taken out of the fridge and placed in the players inventory after the first item is eaten. Thankfully this first item doesn't get immediately Rotten, but (especially after leaving the Eat menu and going back in) the foodstuff in the players inventory is suddenly rotten.
Steps to reproduce
Expected behavior
I expect my character to be smart enough not to dump this big stack of tomatoes or meat in their inventory if they're gonna just eat one.
Failing that, I expect a stack of food that's maintained chill-freshness to not immediately, 1 second later, spoil after being taken out of the fridge - a couple of minutes at least before all the bugs descend on it, no?
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Bionic Professions [package_bionic_professions],
Blaze Industries [blazeindustries],
Alternative Map Key [alt_map_key],
Translate Complex Dialogue [translate_dialogue],
SpeedyDex [speedydex],
Stats Through Skills [StatsThroughSkills],
Generic Guns [generic_guns],
sees-player, run, crouch, bleed icons, retrodays [sees_player_retro],
Tamable Wildlife [Tamable_Wildlife],
No Fungal Growth [no_fungal_growth]
]
Additional context
Fridges as a whole seem to behave weirdly, and I can understand if food being good for weeks past their spoil time, almost being in stasis-lock, is not exactly desired. That being said, it's a little silly if you can ruin entire stacks of food by trying to eat one of them, when a sensible person (given the information of "hey if I take ALL this stuff out of this weird refrigerator, it'll immediately go bad") would just... not take the entire stack out of their Magically Preserving Fridge.
I'm also not entirely sure what the cirumstances are where the food is taken out. Food in a container will remain in the fridge. A stack of crops I had also remained in the fridge. But I know it happened with an item of curry. In my current save, I can't actually replicate this behaviour, so I'm not sure what's going on or in what situations the character will grab the whole stack.
The text was updated successfully, but these errors were encountered: