What is or-Lock?

In game design, an Or-Lock refers to a branching decision point or game mechanic that presents players with a mutually exclusive choice or set of options.

Or-Lock diagram example

Public diagram from the Machinations Community. Open it on its own page

In game design, an or-lock refers to any lock (object, system or mechanic that restricts player progression) which can be opened with any key of a specific type or a range of types. These locks require only one key to be opened, but this key may be duplicated or can be replaced by another one to open this lock. Or-locks add an extra layer of significance and utility to items and inventory management, as in some cases players have to make a trade-off between consuming the key for one door or another one.

In game design, an or-lock is a type of lock (object, system or mechanic that restricts player progression) which can be opened with any key of a specific type or a range of types.

Throughout the game, the player may gather a number of keys, some of which are associated with a linear-lock which means that it requires only one key to open the lock, and that key is unique. Or-locks also require one key to open the lock, but the key is not unique. This means that this key may be duplicated or can be replaced by another one to open this lock. Or-locks add an extra layer of significance and utility to items and inventory management, as in some cases players have to make a trade-off between consuming the key for one door or another one.

In some cases, game designers may present an interesting mechanic where the number of keys that can be found of a type is less than the number of locks that they may open, making them choose and manage how to use their keys. This should only be used in situations where these locks are not an obstacle for the main quest, such as chests that give out different rewards with a given chance. However, narrative storytellers may introduce these locks when they want the player to choose one storyline over the other.

One example of or-locks is implemented in Elden Ring, where players can open doors locked by Imp Statue Seals with Stonesword keys. They may find more keys than actual locks, although they are not easy to find. However, if the player reaches an Imp Statue sealed door, they have to choose whether to consume one or two stonesword keys or leave it for another door, as each one gives a reward that might not be relevant for their build.

See or-Lock in a system you can Play

Build the rules in a Machinations diagram, change a value and Play it to watch how the system responds.