Skip to main content
RustDocs

Hammer

hammer

A Hammer, used to upgrade building materials. Right-click for the options. You can also pick up deployed objects while the hammer is equipped.

Attributes

Id
200,773,292
ShortName
hammer
MaxStackSize
1
Hidden
No
Flags
0
Category
5
CategoryName
Tool
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
0.30
StorageSlots
0

ItemModsData

ItemModEntity

entityPrefab_Path
assets/prefabs/weapons/hammer/hammer.entity.prefab
playerOnlyEntity
No
destroyEntityWhenBroken
No
parentItemDefinition_ShortName
hammer

ItemModProjectile

ammoType
0
ammoSubType
0
numProjectiles
1
projectileSpread
1
projectileVelocity
20
projectileVelocitySpread
0
useCurve
No
barrelConditionLoss
0
category
bullet

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
100

RecycleReturnsUnsafe

ShortName
wood
DisplayName
Wood
Amount
60
Chance
100

RecycleReturnsSafezone

ShortName
wood
DisplayName
Wood
Amount
40
Chance
100

Combat

ProjectileVelocity
20
AmmoType
0
NumProjectiles
1
AttackRadius
0.30
ExplosionRadius
0
RepeatDelay
0.50
RPM
0
DrawTime
0
MagazineCapacity
0
ReloadTime
0
Recoil
0
DamageScale
0
Automatic
No

DamageTypes

Type
Blunt
Amount
0

ItemMods

ItemModEntityItemBlueprintItemModProjectile

RepairIngredients

ShortName
wood
DisplayName
Wood
Amount
20

World Entity Properties

Attributes

Type
Hammer
Path
assets/prefabs/weapons/hammer/hammer.entity.prefab
ID
388,861,612

Components

Hammer
Raw JSON
{
  "Id": 200773292,
  "ShortName": "hammer",
  "MaxStackSize": 1,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 5,
  "CategoryName": "Tool",
  "Rarity": 0,
  "RarityName": "None",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemModEntity",
    "ItemBlueprint",
    "ItemModProjectile"
  ],
  "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": {
    "ItemModEntity": {
      "entityPrefab_Path": "assets/prefabs/weapons/hammer/hammer.entity.prefab",
      "defaultBone": "",
      "playerOnlyEntity": false,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "hammer"
    },
    "ItemModProjectile": {
      "ammoType": 0,
      "ammoSubType": 0,
      "numProjectiles": 1,
      "projectileSpread": 1,
      "projectileVelocity": 20,
      "projectileVelocitySpread": 0,
      "useCurve": false,
      "barrelConditionLoss": 0,
      "category": "bullet"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 0,
  "Weight": 0.3,
  "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": 100
      }
    ],
    "RecycleReturnsUnsafe": [
      {
        "ShortName": "wood",
        "DisplayName": "Wood",
        "Amount": 60,
        "Chance": 100
      }
    ],
    "RecycleReturnsSafezone": [
      {
        "ShortName": "wood",
        "DisplayName": "Wood",
        "Amount": 40,
        "Chance": 100
      }
    ]
  },
  "Condition": null,
  "Combat": {
    "ProjectileVelocity": 20,
    "AmmoType": "0",
    "DefaultAmmo": null,
    "NumProjectiles": 1,
    "AttackRadius": 0.3,
    "ExplosionRadius": 0,
    "RepeatDelay": 0.5,
    "RPM": 0,
    "DrawTime": 0,
    "MagazineCapacity": 0,
    "ReloadTime": 0,
    "Recoil": 0,
    "DamageScale": 0,
    "Automatic": false,
    "DamageTypes": [
      {
        "Type": "Blunt",
        "Amount": 0
      }
    ]
  },
  "Harvest": [],
  "Consumable": null,
  "Electrical": null,
  "TechTreePaths": null,
  "Armor": null,
  "Recipe": null,
  "WeaponMod": null,
  "StorageSlots": 0,
  "RepairIngredients": [
    {
      "ShortName": "wood",
      "DisplayName": "Wood",
      "Amount": 20
    }
  ]
}