Page 1 of 1

Add expire time for items on ground to despawn them

Posted: Mon Aug 23, 2021 1:13 pm
by ZwerOxotnik
TL;DR
Add expire time for items on ground to despawn them.
What ?
Add expire_time for "item-on-ground"
https://wiki.factorio.com/Prototype/ItemEntity
I don't want to affect items on belts etc though.
Why ?
Some mods add so much loot that players don't pick them up. It piles up more and more without any limit.

Image
Image
Image
Image
It's much more noticeable on servers with many players.
Sometimes players losing so much, some stuff generated by scripts don't have any "cleaning".
The more people on a server, the more such cases.
There are quite a lot of mods with loot: https://mods.factorio.com/query/loot?version=1.1
I'm not sure how much it affect on some stuff and on save file size.

Re: Add expire time for items on ground to despawn them

Posted: Wed Aug 25, 2021 8:59 am
by ssilk
Thats a problem of that mods, not a Factorio problem. Moving to not implement.

I can recommend to use additional mods, that picks up items from the ground.
https://mods.factorio.com/mod/SchallPickupTower
https://mods.factorio.com/mod/Item_Collector_Updated

And then put the items into some void chest, like
https://mods.factorio.com/mod/VoidChestPlus