Loot Pickup Question

Place to get help with not working mods / modding interface.
Post Reply
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Loot Pickup Question

Post by TheSAguy »

Someone asked me for some options on the loot that drops from my NE Enemies mod.
Could you add mod configuration checkbox for aliens' artifacts auto-collection on player movement near them?
Current behavior (with auto-collect enabled) has bad logic for remotely controlled cars (AAI mod for example): if car moved near those artifacts, them disappear, but not collected in its inventory.
I want to keep them on the ground, with ability collect them manually later, like other ores or items dropped on the ground.

may be better to add a drop-down component into configuration with items:
- auto-collect (current behavior)
- manual collect (as described above)
- auto-collect into player's inventory (if player is near, higher priority), or into near car's inventory.
I've not seen loot pickup options in the API.
Does anyone know if the above is possible?


Thanks.

Bilka
Factorio Staff
Factorio Staff
Posts: 3158
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Loot Pickup Question

Post by Bilka »

I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Modding help”