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
4 days ago
0.16 - 2.0
8.64K
Logistics Logistic network Storage

g Doesn't pick up Alien Tissues

5 years ago
(updated 5 years ago)

From Endgame Combat
https://mods.factorio.com/mod/EndgameCombat

Picks up all the other drops but ignores alien tissues. Using NE and Alien Loot Economy as well but LootChest+ does pick up everything that's dropped except "Alien Tissue". Works especially great with Alien Loot Economy.

Seems to work fine picking everything up cept for tissues.

5 years ago

NM. Fixed.

Even tho name is "Alien Tissue", internally it's "biter-flesh". Which is why neither adding "Alien" or "Tissue" worked. Added "flesh" and LootChest+ picks up Tissues now.

5 years ago

Can you please explain where to add this?

5 years ago
(updated 5 years ago)

Nice one, OhMods. I got that to work.

naanodesuu, I pretty much just copied the author's code. I got it to work by adding this to line 93 of the control.lua file:

if item.valid and item.stack.valid then
if string.find(item.stack.name,"flesh") then
table.insert(artifactList, {name = item.stack.name, count = item.stack.count})
item.destroy()
end
end

5 years ago

Thanks guys, it is now added in latest release 1.0.11.

New response