Skip to main content
RustDocs

Key Lock

lock.key

Place on a door to prevent unwelcome guests. You can create a key to share with your friends, don't let it fall in the wrong hands!

Attributes

Id
-850,982,208
ShortName
lock.key
MaxStackSize
10
Hidden
No
Flags
0
Category
1
CategoryName
Construction
Rarity
0
RarityName
None
DespawnRarityName
None
DespawnTimeSeconds
300
QuickDespawn
No
Volume
0
BaseRadioactivity
0
Era
None
IsVehicleItem
No
OccupySlots
0
ApprovedSkinCount
0
MaxDraggable
0
Capacity
0
Weight
1
StorageSlots
0

ItemModsData

ItemModDeployable

entityPrefab_Path
assets/prefabs/locks/keylock/lock.key.prefab
showCrosshair
No
UnlockAchievement
PLACE_LOCK

ItemModEntity

entityPrefab_Path
assets/prefabs/tools/deploy (obsolete)/generic_deploy.prefab
playerOnlyEntity
No
destroyEntityWhenBroken
No
parentItemDefinition_ShortName
lock.key

Blueprint

Time
15
WorkbenchLevelRequired
0
AmountToCreate
1
ResearchCost
10
UserCraftable
Yes
IsResearchable
Yes
DefaultBlueprint
Yes
NeedsSteamItem
No
NeedsSteamDlc
No
ScrapFromRecycle
0

Ingredients

ShortName
wood
DisplayName
Wood
Amount
75

RecycleReturnsUnsafe

ShortName
wood
DisplayName
Wood
Amount
45
Chance
100

RecycleReturnsSafezone

ShortName
wood
DisplayName
Wood
Amount
30
Chance
100

ItemMods

ItemModDeployableItemBlueprintItemModEntity

RepairIngredients

ShortName
wood
DisplayName
Wood
Amount
15

World Entity Properties

Attributes

Type
KeyLock
Path
assets/prefabs/locks/keylock/lock.key.prefab
ID
2,106,860,026

Components

KeyLock
Raw JSON
{
  "Id": -850982208,
  "ShortName": "lock.key",
  "MaxStackSize": 10,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 1,
  "CategoryName": "Construction",
  "Rarity": 0,
  "RarityName": "None",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemModDeployable",
    "ItemBlueprint",
    "ItemModEntity"
  ],
  "DespawnRarityName": "None",
  "DespawnTimeSeconds": 300,
  "QuickDespawn": false,
  "Volume": 0,
  "BaseRadioactivity": 0,
  "Era": "None",
  "IsVehicleItem": false,
  "VehicleCategory": null,
  "OccupySlots": "0",
  "ParentItem": null,
  "RedirectOf": null,
  "ApprovedSkinCount": 0,
  "ItemModsData": {
    "ItemModDeployable": {
      "entityPrefab_Path": "assets/prefabs/locks/keylock/lock.key.prefab",
      "showCrosshair": false,
      "UnlockAchievement": "PLACE_LOCK"
    },
    "ItemModEntity": {
      "entityPrefab_Path": "assets/prefabs/tools/deploy (obsolete)/generic_deploy.prefab",
      "defaultBone": "",
      "playerOnlyEntity": false,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "lock.key"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 0,
  "Weight": 1,
  "Blueprint": {
    "Time": 15,
    "WorkbenchLevelRequired": 0,
    "AmountToCreate": 1,
    "ResearchCost": 10,
    "UserCraftable": true,
    "IsResearchable": true,
    "DefaultBlueprint": true,
    "NeedsSteamItem": false,
    "NeedsSteamDlc": false,
    "RequireUnlockedItem": null,
    "AdditionalUnlocks": [],
    "ScrapFromRecycle": 0,
    "Ingredients": [
      {
        "ShortName": "wood",
        "DisplayName": "Wood",
        "Amount": 75
      }
    ],
    "RecycleReturnsUnsafe": [
      {
        "ShortName": "wood",
        "DisplayName": "Wood",
        "Amount": 45,
        "Chance": 100
      }
    ],
    "RecycleReturnsSafezone": [
      {
        "ShortName": "wood",
        "DisplayName": "Wood",
        "Amount": 30,
        "Chance": 100
      }
    ]
  },
  "Condition": null,
  "Combat": null,
  "Harvest": null,
  "Consumable": null,
  "Electrical": null,
  "TechTreePaths": null,
  "Armor": null,
  "Recipe": null,
  "WeaponMod": null,
  "StorageSlots": 0,
  "RepairIngredients": [
    {
      "ShortName": "wood",
      "DisplayName": "Wood",
      "Amount": 15
    }
  ]
}