Entity::update_connection to add fluid inputs to miners

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 513
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

Entity::update_connection to add fluid inputs to miners

Post by Mylon »

Feature request: Provide a way to add fluid boxes to a miner after placement. Either via entity::update_connection or entity.active = false ; entity.active = true

Use case: on_resource_depleted, I spawn a new resource that requires a fluid to mine. The miner stops working and must be destroyed and replaced before it will spawn the fluid boxes and allow mining again.

Post Reply

Return to “Modding interface requests”