Loot Chest+

by hanes

Automagically collects all the loot, on all surfaces. Useful in combination with artillery. Convenient for mods that add loot when aliens die, like Bob's mods, Necromant, Reika's EndgameCombat, Alien Loot Economy and Alien Space Science. The chest acts now as a passive provider chest and gets unlocked with logistic-robotics tech.

Content
1 year, 10 days ago
0.16 - 1.1
7.91K
Logistics Logistic network Storage

b [fixed] causes loading times up to 2 hours and beyond

3 years ago

causes loading times up to 2 hours and beyond

3 years ago

how so?

3 years ago

have multiple loot adding mods... also alien ore and stuff

3 years ago

mind to share a save?

3 years ago

Can confirm that it causes extended load times. Only relevant mod is Bob's Enemies.

3 years ago

If you have no loot chests, your global.lootChestPos just continues accumulating forever,

Resulting in like 1.8 million lines in global being stored

3 years ago

Wow, bummer... now how to stop this madness?

3 years ago

I can confirm this report: https://forums.factorio.com/viewtopic.php?f=7&t=84794&p=494712#p494712

Also, tried using your beta-release but it didn't work, it throws me an error right after game load. The game did load btw!

3 years ago

Good news everyone! With latest version 1.4.3 this should be fixed.

3 years ago

wow it took you about 7 months, can you explain how your mod did cause such trouble?

3 years ago

What Klonan wrote some posts above explains it pretty good.

3 years ago

the mod was first written by PeggyWhiskey, it used a global table with an inefficient structure that grew every time a loot was detected:

{
    [ x: foo, y: bar ],
    [ x: foo2, y: bar2],
    n
}

the new version uses an optimised structure like so:

{
    ['artifact-name'] = count,
    ['another-artifact-name'] = count
}

which only grows to as many types of artifacts as you've added to your game. it also greatly improved the performance for parsing the list, but it removed the guarantee that you'll eventually collect all the loot. this is worth it, and to exceed the collection rate takes great effort.. like a plague capsule in Space Exploration.

3 years ago

If someone urgently has to collect ALL the loot, there is always the possibility to activate the mod after you've researched logistic-robotics. That way no loot gets lost and can be collected normally by picking it up.

3 years ago

you could also put an option for number of slots in the chest, since the reason the items are lost is merely to save CPU by not subtracting what can fit from what's there, to leave the number of what's left in the queue. a larger chest would ameliorate the issue.

3 years ago

Setting is added. Merry christmas to all the hoarders. :)

New response