Combo entity: accum + chest. How?
Combo entity: accum + chest. How?
How can I create (or simulate) an entity, that consumes energy while being charged and can get items like chest (to put and pick items with inserters and loaders)? And power consumption should be calculated correctly to be shown in energy stats window.
Re: Combo entity: accum + chest. How?
Nobody knows? Maybe I should just spawn chest-like entity and hidden accu with output=0 in the same position?
Re: Combo entity: accum + chest. How?
Yes, using script to place another hidden entity should be the only solution right now.
If your chest will constantly consume a fixed amount of energy, I would suggest using entities that have the drain property, like assembling-machine.
If the amount of energy consumption will change in runtime, you will have to use electric-energy-interface.
Remember to set destructible and minable to false for the hidden entity.
If your chest will constantly consume a fixed amount of energy, I would suggest using entities that have the drain property, like assembling-machine.
If the amount of energy consumption will change in runtime, you will have to use electric-energy-interface.
Remember to set destructible and minable to false for the hidden entity.