Project Zomboid

Project Zomboid

BAG Oct 30, 2023 @ 2:16am
Item on floor - delete not working
Hello,

I'm having a little issue with the items to be deleted after X hours. They dont...
I am not sure if that's what makes my game's save file to grow fairly big, but it seems to be some issue. The loading time becomes somehow long now.

I had it set to 24.0 hours before. was not working.
I now changed to 1 hours, doesnt work either.
IS there a fix for this please?
Last edited by BAG; Oct 30, 2023 @ 2:17am
< >
Showing 1-8 of 8 comments
yayie Oct 30, 2023 @ 2:44am 
have you tried dump it in a trash can/bin and click "delete all".
1ostcat Oct 30, 2023 @ 2:52am 
Not all items are de-spawned by default. Some items, like eyeglasses (things that get knocked off when attacking) will stick around, if I recall correctly.

In the sandbox settings you can list the items you want to de-spawn after time.
BAG Oct 30, 2023 @ 2:57am 
it is all the backpacks I sometimes leave on ground (checking for the content) the broken weapons, some craps here and there.
Yes I do use a trash mod, but those items should be removed automatically.

I would have to add tons of things to be deleted in the sandbox settings if I have to do it manually :-(
1ostcat Oct 30, 2023 @ 3:40am 
Do you mean the mod is supposed to remove containers?
Unless it explicitly says it will remove specific containers (e.g. backpacks, tote bags, paper bags) I would be surprised if it did so. Those are all considered containers, and having a paper bag filled with non-perishable cookies de-spawn would ruin somebody's day.
BAG Oct 30, 2023 @ 7:49am 
No-no, vanilla game, for items on floor. Those are not deleted, unlike the game settings are supposed.
(I use a trash mod for the items I want to delete when I am in my shelter only)

Anyway, seem to be a bug (damn me). I will try to never again drop something on floor by my own, or put it into a Z body.
Shady Allie Oct 30, 2023 @ 12:06pm 
Originally posted by BAG:
No-no, vanilla game
(I use a trash mod...)

Anyway, seem to be a bug (damn me)...

Have you tried without any mods? Does sound a bug, a bug from modding.

Trying to use vanilla code (the item on ground despawn timer) along with any bespoke code that messes with item removal would be my first test. Then test against all your mods you have installed.
Prowler™ Oct 30, 2023 @ 1:41pm 
To delete dropped items you need to add the items ID to the delete list. Its in the game options menus. All base game item IDs are on the wiki page. Mod items will be on the mod page...maybe.
Items are only deleted when not loaded, you have to move away from the area. Nothing will be deleted if you are in the area.
I would strongly suggest you don't add too much to the delete list, you will regret it lol
You game save file is large because the game records every area you visit and makes a new folder of data for each region. This means your save will be gigantic if you drive around the game world. You can manually delete this data if you wish and when you visit the region again it will be re-loaded. :waytohell:
BAG Oct 30, 2023 @ 4:27pm 
@Prowler
Hey, thank you, this seem my issue. I have couple of questions please:

1. How do I delete a region I visited

2. If I delete a visited region, will the game keep the loots in the various storage and reload it properly on my next visit, or will it be either deleted or regenerated?
I have loot option --> no respawn. I'de like to keep the items as per the first visit.

3. Can I delete all regions, even the one I am currently in?
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Oct 30, 2023 @ 2:16am
Posts: 8