Kogama Wiki
Advertisement

This logic is a bit complicated, it's good because Toggle Cube doesn't work well with levers

To do this logic you need:

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.

XORgate1

  • Connect the Red Logic Connector of the third Negate Cube to the Blue Logic Connector of the two first Negate Cubes.

XORgate2

  • Connect the Red Logic Connector of the two penultimate Negate Cubes to the Blue Logic Connector of the three first Negate Cubes.

XORgate3

  • Connect the Red Logic Connector of the last Negate Cube to the Blue Logic Connector of the two penultimate Negate Cubes.

XORgate4

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

XORgate5

  • 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

XORgate6

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

Advertisement