Code: Select all
/c game.player.selected.active=false
Code: Select all
/c game.player.print(tostring(game.player.selected.active))
Expected: doing the same thing to, for example, an assembling machine changes its state to "disabled by script".
Code: Select all
/c game.player.selected.active=false
Code: Select all
/c game.player.print(tostring(game.player.selected.active))
This should be moved to documentation requests. https://lua-api.factorio.com/latest/cla ... tml#active mentions some cases where it has no effect but not roboports.Rseding91 wrote: Sat Feb 22, 2025 2:30 am Thanks for the report however that is working as intended. Roboports manage their own active state and mods are not allowed to touch them.