# Code Lock (lock.code) - Rust Item ID, Recipe & Stats | Badgyver

> Code Lock in Rust: item ID 1159991980, shortname lock.code, stack size 10. Crafted from 100 Metal Fragments.

URL: https://badgyver.com/tools/rust-items/lock.code/

[← All Rust items](https://badgyver.com/tools/rust-items/)

![Code Lock](https://badgyver.com/wp-content/plugins/badgyver/assets/tools/items/lock.code.webp)An electronic lock. Locked and unlocked with four-digit code.

Shortnamelock.code

Item ID1159991980

CategoryConstruction

Stack size10

Give command: inventory.give lock.code 1

### How to craft Code Lock

- [100Metal Fragments](https://badgyver.com/tools/rust-items/metal.fragments/)

- Makes **1**
- Craft time **30 s**
- Workbench **None**
- Blueprint **Known by default**

[Work out the raw resources for any amount](https://badgyver.com/tools/rust-crafting-calculator/?craft=lock.code:1)

### For server owners

Plugins and loot tables use the shortname lock.code or the item ID 1159991980. Give it to a player from the server console with inventory.giveto <player> lock.code <amount>. Read from Rust build 26921919.
