|An electronic lock. Locked and unlocked with four-digit code.|
|Time To Craft||30 s|
The owner can change the 4 digit PIN or remove the lock by holding the 'use' button (e). Any player can enter a PIN into the lock by holding the 'use' button. If the correct PIN is used the lock will remember the PIN and the door can simply be opened by pressing the 'use' key when facing the door, rather than the Code Lock itself. When entering a code, the player can press 'C' to clear the code.
You can upgrade the door after placing the code lock on it. Once placed, the lock itself cannot be destroyed. It has to either be removed by an owner or the door it is attached to must be destroyed.
The Code Lock's display glows green when unlocked and red when locked.
When a player enters the PIN incorrectly they receive an electric shock in an attempt to deter brute force attacks. The damage increases in increments of 5 (starting at 5 damage) for every failed attempt.
The Code Lock can be crafted with:
- 100 Metal Fragments
- It takes 30 seconds to craft one lock.