Skip to main content
RustDocs

Speargun

Common

speargun

A speargun which can only be fired underwater. Excellent for hunting Sharks.

Attributes

Id
-1,517,740,219
ShortName
speargun
MaxStackSize
1
Hidden
No
Flags
0
Category
0
CategoryName
Weapon
Rarity
1
RarityName
Common
DespawnRarityName
Common
DespawnTimeSeconds
300
QuickDespawn
No
Volume
0
BaseRadioactivity
0
Era
Primitive
IsVehicleItem
No
OccupySlots
0
ApprovedSkinCount
0
MaxDraggable
0
Capacity
0
Weight
1
StorageSlots
0

ItemModsData

ItemModEntity

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

Blueprint

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

Ingredients

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
75
ShortName
propanetank
DisplayName
Empty Propane Tank
Amount
1

RecycleReturnsUnsafe

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
45
Chance
100
ShortName
propanetank
DisplayName
Empty Propane Tank
Amount
1
Chance
60

RecycleReturnsSafezone

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
30
Chance
100
ShortName
propanetank
DisplayName
Empty Propane Tank
Amount
1
Chance
40

Condition

Max
100
Repairable
Yes
MaintainMaxCondition
No
OvenCondition
No
FoundFractionMin
0.20
FoundFractionMax
0.50

Combat

ProjectileVelocity
1
AmmoType
SPEARGUN_BOLT
DefaultAmmo
speargun.spear
NumProjectiles
1
AttackRadius
1
ExplosionRadius
0
RepeatDelay
1
RPM
60
DrawTime
0
MagazineCapacity
0
ReloadTime
3.60
Recoil
-3
DamageScale
1
Automatic
No

DamageTypes

Type
Arrow
Amount
50

ItemMods

ItemModEntityItemBlueprint

TechTreePaths

TreeName
techtree
NodeID
122
CumulativeScrapCost
60
TreeName
techtree
NodeID
122
CumulativeScrapCost
60
TreeName
techtree
NodeID
122
CumulativeScrapCost
60

RepairIngredients

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
35

World Entity Properties

Attributes

Type
Speargun
Path
assets/prefabs/weapons/speargun/speargun.entity.prefab
ID
4,262,383,355

Components

SpeargunModel
Raw JSON
{
  "Id": -1517740219,
  "ShortName": "speargun",
  "MaxStackSize": 1,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 0,
  "CategoryName": "Weapon",
  "Rarity": 1,
  "RarityName": "Common",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemModEntity",
    "ItemBlueprint"
  ],
  "DespawnRarityName": "Common",
  "DespawnTimeSeconds": 300,
  "QuickDespawn": false,
  "Volume": 0,
  "BaseRadioactivity": 0,
  "Era": "Primitive",
  "IsVehicleItem": false,
  "VehicleCategory": null,
  "OccupySlots": "0",
  "ParentItem": null,
  "RedirectOf": null,
  "ApprovedSkinCount": 0,
  "ItemModsData": {
    "ItemModEntity": {
      "entityPrefab_Path": "assets/prefabs/weapons/speargun/speargun.entity.prefab",
      "defaultBone": "",
      "playerOnlyEntity": false,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "speargun"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 0,
  "Weight": 1,
  "Blueprint": {
    "Time": 30,
    "WorkbenchLevelRequired": 1,
    "AmountToCreate": 1,
    "ResearchCost": 15,
    "UserCraftable": true,
    "IsResearchable": true,
    "DefaultBlueprint": false,
    "NeedsSteamItem": false,
    "NeedsSteamDlc": false,
    "RequireUnlockedItem": null,
    "AdditionalUnlocks": [],
    "ScrapFromRecycle": 0,
    "Ingredients": [
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 75
      },
      {
        "ShortName": "propanetank",
        "DisplayName": "Empty Propane Tank",
        "Amount": 1
      }
    ],
    "RecycleReturnsUnsafe": [
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 45,
        "Chance": 100
      },
      {
        "ShortName": "propanetank",
        "DisplayName": "Empty Propane Tank",
        "Amount": 1,
        "Chance": 60
      }
    ],
    "RecycleReturnsSafezone": [
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 30,
        "Chance": 100
      },
      {
        "ShortName": "propanetank",
        "DisplayName": "Empty Propane Tank",
        "Amount": 1,
        "Chance": 40
      }
    ]
  },
  "Condition": {
    "Max": 100,
    "Repairable": true,
    "MaintainMaxCondition": false,
    "OvenCondition": false,
    "FoundFractionMin": 0.2,
    "FoundFractionMax": 0.5
  },
  "Combat": {
    "ProjectileVelocity": 1,
    "AmmoType": "SPEARGUN_BOLT",
    "DefaultAmmo": "speargun.spear",
    "NumProjectiles": 1,
    "AttackRadius": 1,
    "ExplosionRadius": 0,
    "RepeatDelay": 1,
    "RPM": 60,
    "DrawTime": 0,
    "MagazineCapacity": 0,
    "ReloadTime": 3.6,
    "Recoil": -3,
    "DamageScale": 1,
    "Automatic": false,
    "DamageTypes": [
      {
        "Type": "Arrow",
        "Amount": 50
      }
    ]
  },
  "Harvest": null,
  "Consumable": null,
  "Electrical": null,
  "TechTreePaths": [
    {
      "TreeName": "techtree",
      "NodeID": 122,
      "Inputs": [
        23
      ],
      "CumulativeScrapCost": 60
    },
    {
      "TreeName": "techtree",
      "NodeID": 122,
      "Inputs": [
        23
      ],
      "CumulativeScrapCost": 60
    },
    {
      "TreeName": "techtree",
      "NodeID": 122,
      "Inputs": [
        23
      ],
      "CumulativeScrapCost": 60
    }
  ],
  "Armor": null,
  "Recipe": null,
  "WeaponMod": null,
  "StorageSlots": 0,
  "RepairIngredients": [
    {
      "ShortName": "metal.fragments",
      "DisplayName": "Metal Fragments",
      "Amount": 35
    }
  ]
}