Hi,
If possible, i would love for logistical chests (Prototype/LogisticContainer) to be ignored by the logistic network logic when the entity's active state is set to false.
But the player should still be able to use the chest, as in store items manually and set logistical requests, scripts getting the logistical requests of the entity should still return the logistical request slots even if the active is set to false.
Setting a logistic chest active to false should make the logistic network ignore the chest
Re: Setting a logistic chest active to false should make the logistic network ignore the chest
Logistic chests don't support the concept of "active". They are not updatable entities and so setting them active/inactive is a does-nothing function call.
So, there's no way to make it work like you describe.
So, there's no way to make it work like you describe.
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 45
- Joined: Tue Mar 26, 2019 4:43 am
- Contact:
Re: Setting a logistic chest active to false should make the logistic network ignore the chest
They are turned off when they are marked for deconstruction. Requesters cancel their requests and providers cancel their pickups. Could it simulate the mark-for-deconstruction behavior?
-
- Inserter
- Posts: 45
- Joined: Tue Mar 26, 2019 4:43 am
- Contact:
Re: Setting a logistic chest active to false should make the logistic network ignore the chest
This was implemented in 2.0 by the LuaLogisticPoint.enabled field
https://lua-api.factorio.com/latest/cla ... ml#enabled
https://lua-api.factorio.com/latest/cla ... ml#enabled