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: 222
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: 189
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.
Post Reply

Return to “Modding interface requests”