Minimal example:
Code: Select all
data.raw["assembling-machine"]["assembling-machine-3"].minable = nil
Code: Select all
data.raw["assembling-machine"]["assembling-machine-3"].minable = nil
Thanks for the hint (works! :)). I rememberd the recent report about non-deconstructibility of entities without a mining result, but couldn't find the thread anymore. And i assumed that as my entity also has neither a mining_time nor hardness it would be unrelated. Using a special flag for that certainly is difficult to discover :/.Rseding91 wrote:Thanks for the report. That's working as intended: robots can deconstruct things regardless of them having a mining result. If you don't want robots to be able to deconstruct an entity you can use the "not-deconstructable" entity prototype flag.