Page 1 of 1

[Scripting] ability to disable certain entities just like how freezing works

Posted: Thu Mar 20, 2025 12:46 am
by protocol_1903
Certain prototypes are not writeable with disabled_by_script, even though they have frozen variations that operate exactly like their disabled counterparts would be expected to operate. Specifically, transport-belt, splitter, underground-belt, pipe-to-ground, and pipe, although the list is likely longer. I would like for disabled_by_script support to be added, so that scripting can manually disable those entities without having to do anything extremely janky. I would also like consideration to be given to any other prototypes/entities that have frozen but not disabled variants. The only other one that has shown up from my testing is the storage-tank, but i suspect that the loader and lane splitter prototypes also do not support this property.