Documentation

Picking a Lock

How the lockpicking minigame plays.

An attempt is started by another resource, for example when a player uses a pick on a locked vehicle with Vehicle Keys. The player needs a usable pick and a tension_wrench. For a local practice lock, see Commands.

#The Close-Up

The camera moves in on a cutaway lock at the target, such as the door handle. The player's character is hidden while the close-up is open. A hint shows the key for the details panel.

#Apply Tension

Hold Space to add tension and release it to let tension ease off. The dial below the lock shows the tension. Keep its needle in the brass band: left is slack, and red is overload. Tap Space to stay in the band.

Pins only bind and set inside the band. Above it, the pick strains and wears.

#Find the Binding Pin

Move the pick between pins with A / D or the arrow keys, and lift the selected pin with W. The pick takes a moment to travel to the next pin.

Only one pin binds at a time, in a random order. The binding pin rises with steady resistance. Wrong pins chatter and resist, and forcing them wears the pick.

#Set the Pin

Lift the binding pin until it clicks and stays up, then stop lifting it. Forcing a set pin makes the pick tremble and wear. Then find the next binding pin.

Lifting too far jams the pin. A jam blocks the lock until tension is released with Q, or eases off below Config.Gameplay.holdTension. Releasing tension also drops every set pin, so the lock starts over. Lower the pick with S to back off a pin before it jams.

#Open the Lock

Setting every pin turns the plug. The close-up holds the turned lock briefly, then closes, and the resource that started the attempt acts on the result.

If the pick snaps, the attempt ends. The pick stays in the inventory at 0 durability, or is removed with Config.Items.removeBroken = true.

#Details Panel

Press H to open the details panel with the controls, technique tips, and wear stages. The attempt pauses while it is open.

#Ending Early

Press Backspace or Esc to put the tools away. The attempt is also cancelled when the player takes damage, ragdolls, falls, dies, enters a vehicle, moves more than 1.5 metres, or takes longer than four minutes.

It also closes when the anchored entity is deleted or the calling resource stops or cancels it. A cancelled attempt still takes Config.Items.minDurabilityLoss from the pick.

#Pin Colors

With Config.Gameplay.showPinColors = true, the selected pin is colored for feedback: blue while searching, green for the binding pin or a set pin, amber for a wrong pin, and red for strain, a jam, or a forced set pin. Set pins show green and jammed pins red. With the setting off, the pins stay plain brass.