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

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
protocol_1903
Fast Inserter
Fast Inserter
Posts: 204
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

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

Post 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.
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Post Reply

Return to “Modding interface requests”