RimWorld

RimWorld

Fridges Are Hoppers
40 Comments
[BUYA] Till Eulenspiegel  [author] 7 Jul @ 4:34pm 
@omega13 install the other mod I linked as a partner mod to this one. It fixes the bug in VPE. I have been considering pullling their change into this one but didn't want to step on the other dev's feet by taking their fix and applying it as part of this one.
Omega13 7 Jul @ 12:42pm 
Ah ok. So the issue is with the other mod. All the same, that means that this mod unfortunately does not work with VPE.
[BUYA] Till Eulenspiegel  [author] 7 Jul @ 10:37am 
@omega13 the issue is with NPE not handling multiple stacks in a single location square. Someone else made a fix for it here: https://steamproxy.net/sharedfiles/filedetails/?id=2976541719

There is a pull request to the NPE github for part of the fix, but it hasn't been merged in. See here: https://github.com/Vanilla-Expanded/VanillaNutrientPasteExpanded/pull/1

The dev just never merged+rebuilt it.
Omega13 5 Jul @ 9:44pm 
So. This mod is incredibly janky with vanilla paste expanded. Sometimes it works. Sometimes it doesn't. Usually it'll just, like, make a meal or two and then stop feeding anything into the machines until you unload everything from the fridge and load it back in. Very unreliable.
vanya 23 May @ 9:16am 
I don't know if my game went nuts or if I found a bug but I suspect that since shelves can store 3 items only one of those three stacks is used as hopper, in my case I found that if i have something like 3 stacks of rice with one of them, for example, having a quantity of 5 (meaning 2 full stacks and one stack of five) for my nutrient paste dispenser prisoner wouldn't take a meal, but as soon as someone hauled more rice they would get meals until that first stack ran out. Has it happened to someone else?
[BUYA] Till Eulenspiegel  [author] 27 Apr @ 5:42pm 
@ignis it isn't needed for rimfridge. Rimfridge rewrites the hopper finding logic. Simple Utilities Fridge (by Owl) doesn't act like a hopper so this mod was created to update its xml to support the isHopper logic.
ignis 26 Apr @ 8:38pm 
What exactly it does? RimFridge already can act as a hopper just fine.
Deimos kai Aischylos 14 Apr @ 5:51pm 
Great mod. I am seeing an issue, though, with the wall fridges working as hoppers for a bit, then stopping. Normal fridges seem fine, though.
[BUYA] Till Eulenspiegel  [author] 14 Apr @ 2:45pm 
Re:gyger looking at their code, yeah I think they fixed the incompatibilities
Re:Victor it _should_ I haven't tested it but I'd be surprised if they changed anything outside of recompiling and updating the xml to say it's compatible with 1.5 but I haven't verified it. So if you try it report back :)
Gyger 15 Oct, 2023 @ 5:00pm 
NPDTiers has just fixed the isHopper logic so it should no longer be incompatible. Haven't tested though.
[BUYA] Till Eulenspiegel  [author] 3 Oct, 2023 @ 11:37am 
Ah, it's a fix since the grinder only ever looks for 1 stack, so when it doesn't work it potentially is because the first stack is empty and the other 2 stacks are not. So it "fixes" when yo replace it since you will be putting it into the first slot again.
[BUYA] Till Eulenspiegel  [author] 3 Oct, 2023 @ 11:35am 
Looks like someoen applied a fix: https://steamproxy.net/sharedfiles/filedetails/?id=2976541719 I want to see if I can pull that into this main mod.
RabidStoat 1 Oct, 2023 @ 6:12pm 
Load order was fine, tried Greed's solution and it worked. Seems sometimes the grinders need reminding they have a storage attached
[BUYA] Till Eulenspiegel  [author] 30 Sep, 2023 @ 3:51pm 
@Greed - Oof that's obnoxious. So VNPE added a comp for registering something to the grinder. They add it to the hopper, we similarly are adding it to SU:F. The comp register to hopper happens when you load the map... I just booted up a game with Fridge next to Grinder hooked to things.. and I spawn in a solar flare for 1-5 hours and it starts grinding again afterwards with no problems. I'm not sure what's going on for you there.

@rabidStoat - Are you using RimPy? It makes the ordering a lot easier. This needs to be after SU:F in load order, we are adding attributes to their xml.
RabidStoat 30 Sep, 2023 @ 7:33am 
SU:F doesn't seem to be working at the moment, not sure why as I have them in the correct order in my modlist
Gree∂ 17 Sep, 2023 @ 6:44am 
I am getting some kind of weird bug with Vanilla Nutrient Paste Expanded & Simple Utilities: Fridge. After each solar flare grinder stops getting food from the fridge and the only solution I came up so far is to re-place the fridge.
[JdG] Pejman 6 Jun, 2023 @ 3:05pm 
Rim factory adds a couple buildings that acts as fridge

the one Im interested in is the refrigerated I/O port (it can teleport items from the main storage unit to its cell and keep them refrigerated, it's the ideal hoper, but it doesnt work as one sadly)

the refrigerated stuff is in the patches folder (under simplefridges and rimfridges, I use simplefridges)
[BUYA] Till Eulenspiegel  [author] 6 Jun, 2023 @ 2:34pm 
I haven't tested it yet, I am not familiar with RimFactory but I searched their repository for what they do related to fridges. They mostly rebalance the power-draw and update the fridge-tick? You can correct me if I'm wrong. Theoretically that should be fine. I didn't see any new refrigerator definitions, but we do patch the logic for "IsThisAHopper" to say "Is this named similar to a fridge? if so, yes I am" and cache it so it isn't recalculated.

Let me know whether it works so I can put it in the "tested with" or "Incompatible" with sections.
[JdG] Pejman 6 Jun, 2023 @ 2:15pm 
Does it workd for the refrigerated I/O from rimfactory ??
[BUYA] Till Eulenspiegel  [author] 26 May, 2023 @ 8:19am 
BTW, the best fix would be on NPDTiers mod, everywhere they do
building.def != ThingDefOf.Hopper && building.def.thingClass != typeof(NPDHopper_Storage))

They should just be doing !building.IsHopper() etc. Then it should fix the compatibility issues. That and then they'd need to add to their NPDHopper_storage XML definition to set the ishopper to true.
[BUYA] Till Eulenspiegel  [author] 26 May, 2023 @ 8:11am 
@Memory unfortunately the way that NPD Tiers is coded is the way they used to do hopper overrides. The TLDR; Override how nutrient pastes look for hoppers then stop loading any other mods to the hoppers. This is because how it was coded in base RW. A change came out 12/17/2022 that allowed people to override dispenser.IsHopper() or even set it in XML

The only way I could make this compatible would be to unload their mod's changes to that logic. The mod you referenced _does_ have it's own fridge/freezer hoppers. Otherwise the other mod should be changed to to use the IsHopper() logic that was added around Christmas https://steamdb.info/patchnotes/10167754/

For now I'm going to mark it as an incompatibility, I'm accepting patches if you _really_ want SU:Fridge + FridgesAreHoppers to work with them. But I'd suggest using their freezer hoppers in the meantime.
Memory 25 May, 2023 @ 8:54pm 
Memory 25 May, 2023 @ 8:54pm 
There are compatibility issues with NPDTiers mod. Features in this mode do not work properly when NPDTiers mod is enabled.
VOID-THING 10 Mar, 2023 @ 6:12pm 
seems to be working now, thanks for the quick response
[BUYA] Till Eulenspiegel  [author] 7 Mar, 2023 @ 5:27pm 
@mogo I have a code change I prepped before I took a break from RW when that mod came out. I never actually released it because that.. hapenned to be my last day playing. I tried it in a test world with both RimFridge(NowWithShelves) as well as SU:Fridges. I didn't upload when I didn't get any requests for it.

Anyways, please try it out and let me know if it works for you. I have updated the mod with this fix. It won't work other variants of KV Rimfridge(or atleast I wouldn't trust it to work, it actually might with the unique way VE folk did that mod)
VOID-THING 7 Mar, 2023 @ 2:24pm 
I'm trying to use this with the vanilla nutrient paste expanded mod and SU: Fridges but the nutrient paste grinder doesn't recognize the fridges as hoppers, it works fine for the normal nutrient paste dispenser though and is not throwing me any errors so i don't have a log to send
[BUYA] Till Eulenspiegel  [author] 17 Dec, 2022 @ 3:00pm 
Note: Load order for this mod has changed. It now should be loaded After Rimfridge. with a recent change to how to figure out if something is a hopper in the base game, some of the rimfridge patches aren't needed and this mod now unloads them.
[BUYA] Till Eulenspiegel  [author] 17 Dec, 2022 @ 2:58pm 
@omega13, the mod has been changed with today's patch to no longer touch any code besides IsHopper(). (And unpatching any rimfridge patches to Nutrient paste dispensers) So, I can't imagine this being an issue caused by this mod if it still exists after you update.
[BUYA] Till Eulenspiegel  [author] 13 Dec, 2022 @ 9:21pm 
Find me on the RW Discord, my name is.. unique Same but without the buya. Do you have any other PasteDispenserMods? Not sure what's annoyed with Hugslib for you, do you use Rimpy to to sort your mods?
Omega13 13 Dec, 2022 @ 1:59pm 
I would love to, but I am obviously doing something terribly wrong with hugslib. When I tell it to upload, it says "Upload Error: Failed to collect data" and when I tell it to copy it to the clipboard instead, it copies nothing. I'm sure I'm doing something wrong on my end; any advice would be appreciated so I can post bugs in a more helpful manner!
[BUYA] Till Eulenspiegel  [author] 13 Dec, 2022 @ 7:43am 
@omega13 mind sending me the link when you press Ctrl+F12 (assuming you have huglib installed?) This mod _shouldn't_ be the issue since it just replace item == constant.Hopper, with it is a hopper || hopper.name is something like fridge. _but_ because how nutrient paste dispeners work + How hoppers are hard coded most nutrient paste dispensers mods do not work well together. This works with rimfridge because we make a point to load before them and tell them not to load. Next RimWorld update gives me a better place to hook in to have better compatibility (Assuming they update their logic to use the new .IsHopper() logic.
Omega13 12 Dec, 2022 @ 10:16pm 
Using Simple Utilities: fridge. When using the paste dispenser in a prison and delivering food to incapacitated prisoners, wardens just stand there forever and do nothing.
DisKorruptd 4 Dec, 2022 @ 10:29pm 
Time to put deep fridges next to hopper accepting things and turn them off to use them as deep hoppers
beetlecat 4 Dec, 2022 @ 12:01pm 
Smoove!
[BUYA] Till Eulenspiegel  [author] 29 Nov, 2022 @ 3:21pm 
Double checked with my current playthrough modlist with ~188 mods including rimfridge + this mod and it worked for me. Pres Ctrl + F12 and link it to me and I can look into debugging it // reproducing your issue @5150
5150 29 Nov, 2022 @ 1:45pm 
Simple Utilities: Fridge in use
Mod does not work
I attached a refrigerator next to Nutrient Paste Dispensers, but I don't take out food
I pressed the rimpy sort
I'm using a translator, so the sentence might be awkward
Narlindir 29 Nov, 2022 @ 11:14am 
blessed be thee
Punisher2164 29 Nov, 2022 @ 12:37am 
Гений. Ради таких удобных мелочей и захожу в в мастерскую Steam.
ThatCozyBear 28 Nov, 2022 @ 7:45pm 
broz this is awesome