This logic is a bit complicated, it's good because Toggle Cube doesn't work well with levers
To do this logic you need:
- Levers
- Negate Cubes
- Another element that you want, in this case we will explain to models using the Cube Model Hider
Steps[]
Levers[]
- Place two Levers.
You can find them in the inventory on the advanced logic tab.
Optional (Lever)[]
You can leave it ON in the Settings tab by right clicking on it
Negate Cubes[]
- Place six Negate Cubes.
You can find them in the inventory on the advanced logic tab.
- Connect the Red Logic Connectors of the two first Negate Cubes to the Blue Logic Connector of the levers.
- Connect the Red Logic Connector of the third Negate Cube to the Blue Logic Connector of the two first Negate Cubes.
- Connect the Red Logic Connector of the two penultimate Negate Cubes to the Blue Logic Connector of the three first Negate Cubes.
- Connect the Red Logic Connector of the last Negate Cube to the Blue Logic Connector of the two penultimate Negate Cubes.
Cube Model Hider[]
- Place two Cube Model Hiders.
You can find them in the inventory on the advanced logic tab.
- Connect the Yellow Model Connector of the Cube Model Hider to the Door Closed model and connect the Red Logic Connector to the Blue Logic Connector of the last Negate Cube
- Connect the Yellow Model Connector of the another Cube Model Hider to the Door Opened model and connect the Red Logic Connector to the Blue Logic Connector of the two penultimate Negate Cube
Optional (Cube Model Hider)[]
You can show a outline in the connected model in the Settings tab by right clicking on it.
Explaining[]
When no levers are ON, the door closes. When only one lever is ON, the door opens. When the two levers are ON, the door closes.
Easier Alternative[]
If you connect your two inputs (I1 and I2) to a negate (henceforth N1) and an and box (henceforth A), then connect both to another negate (N2), then that negate's output is the output of your xor gate.
I1 and I2 -> A and N1 -> N2