Project Zomboid

Project Zomboid

Mutie's Loot Scrounging
9 Comments
Mutie  [author] 3 Feb @ 12:14pm 
Bug fix for disappearing items should be out now. Also fixes some furniture not respawning correctly as I was checking time since last scrounge poorly.
Gleg 1 Feb @ 11:57am 
Most items seem to vanish from inventory immediately after looting in multiplayer. I retested on a fresh server install with just this mod.

I'm able to pick up the loot that first exists in containers, but 99% of the loot that generates afterward from the scrounging mod vanishes within 1-4 seconds of transferring to my inventory.
Lord Accokstorm 11 Aug, 2024 @ 4:44pm 
Great! My worries are settled then, this game has so much performance issues even with little mods when i install a new mod I'm always worrying about the fps drop
Mutie  [author] 11 Aug, 2024 @ 3:48pm 
@Jold, it's a very simple test that runs once every second. It checks every container around you and is about as performance intensive (during that one particular second) as the vanilla system for checking inventories in general.

When it generates loot, presumably it's a bit heavier to run, but it's quite simple code with minimal looping, so I doubt it's a noticeable problem.
Lord Accokstorm 11 Aug, 2024 @ 1:07pm 
Great idea, i'm all for immersive mods like this.
However i gotta worry about performance if i understood correctly the mod is checking on proximity and periodically for loot right, so don't these constant checks slow the game?
Mutie  [author] 8 Aug, 2024 @ 11:52am 
@Wrench In The Plan
Building/placing a furniture piece disables respawns forever. There's a sandbox option for this mod to still allow scrounging in places with placed furniture (but that risks respawning/despawning player placed objects, so I suggest marking your base as a safehouse, or manually placing down furniture, which is always protected from scrounging).

Vanilla loot respawn is always blocked from anywhere you place a construction. Note that vanilla loot respawn does not need to be on for scrounging to work. The mod is intended as an alternative to vanilla loot respawn.
Wrench In The Plan 8 Aug, 2024 @ 11:40am 
I don't play with loot respawn but might start my next game with this. If one later removes a construction, does that re-enable scrounging, or does just building a barricade/placing a furniture piece permanently disable it for ever?
Mutie  [author] 4 Aug, 2024 @ 1:45am 
@rawgu, Scavenging Skill provides extra loot based on your skill. Scrounging rolls the loot table again (and removes items over a certain weight threshold, configurable in Sandbox options). Crucially, Scavenging is (to my knowledge) once per container, and Scrounging is repeatable after a delay (set in Sandbox options).
rawgu 4 Aug, 2024 @ 1:14am 
hi, what is the difference between this and scavenging skill? :lunar2019piginablanket: