make LuaEntity::loader_container writeable

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 228
Joined: Tue Feb 06, 2024 5:18 am
Contact:

make LuaEntity::loader_container writeable

Post by hgschmie »

Similar to LuaEntity::pickup_target and LuaEntity::drop_target, it would be useful if LuaEntity::loader_container could be set directly to the container that the loader picks up from / drops into. Currently, the field is read-only.
User avatar
PennyJim
Fast Inserter
Fast Inserter
Posts: 191
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Re: make LuaEntity::loader_container writeable

Post by PennyJim »

+1

I'm making a compound entity so I can pretend an entity has multiple energy sources. To make the internal burners accessible I'm making specific input ports out of loaders, which means they'll inevitably overlap with the main entity. There might be a specific way to get them to link to the hidden boilers I want, but it would be easier and I'd feel more confident if I could just directly set it.

I'm leaning towards making a hidden surface to put the burner boiler and loaders on (connected by linked belt) if my first attempts at getting the loader to connect to the boiler don't work.
Kabury
Inserter
Inserter
Posts: 38
Joined: Wed Apr 07, 2021 5:41 pm
Contact:

Re: make LuaEntity::loader_container writeable

Post by Kabury »

+1, I'd like to be able to have parity with inserters for compound entities.
Last edited by Kabury on Thu Sep 03, 2026 9:42 pm, edited 1 time in total.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 543
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: make LuaEntity::loader_container writeable

Post by protocol_1903 »

+1, for the exact same reasons as penny
pY and pYblock developer, wielder of fluid networks and subtick events in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903

Buy me a coffee
Post Reply

Return to “Modding interface requests”