Not sure whether this should go in Bug Reports or Modding Interface Requests. Either way, I'd like to hide the existing transport belts so I can add new ones for my mod. I'm hiding rather than deleting them for better compatibility, e.g. another mod may place them by script.
I understand this to be supported by the standard pattern:
data.raw.recipe["transport-belt"].hidden = true
data.raw["transport-belt"]["transport-belt"].hidden = true
data.raw.item["transport-belt"].hidden = true
However, this gives a startup error: "Error while running setup for entity prototype "transport-belt" (transport-belt): When next_upgrade is set entity mining result must not contain item product with "hidden" flag set. Mining results with no item products are allowed." It's not clear what this condition is supposed to achieve, it just forces the hidden entity to have broken functionality.
[2.0.73] Hidden minable entities are impossible?
-
thesixthroc
- Fast Inserter

- Posts: 140
- Joined: Wed Apr 29, 2020 9:53 pm
- Contact:
Re: [2.0.73] Hidden minable entities are impossible?
This means transport-belt cannot point at fast-transport-belt as next_upgrade because upgrade planner could not be configured to match default upgrade due to hidden items not being displayed as upgrade target. You can mark them as hidden but next_upgrade has to be cleared.
-
thesixthroc
- Fast Inserter

- Posts: 140
- Joined: Wed Apr 29, 2020 9:53 pm
- Contact:
Re: [2.0.73] Hidden minable entities are impossible?
Ah, for the upgrade planner. Thanks, that makes sense.
