Truth is, however, I have absolutely ZERO idea how to approach having my code efficiently keep track of all the switches that can be toggled individually. and then perform all the necessary calculations for the game.
I would suggest using collection service tags (name it something like “switch”) and then giving each switch a boolean attribute named “state” to be able to quickly get the toggled state of the switches
then when implementing it for like a terminal or something like that, potentially use sub tags to be able to quickly gather all the switches related to a system