Skip to main content
RustDocs

Longsword

Uncommon

longsword

A powerful 2-handed melee weapon with good range and high damage.

Attributes

Id
-1,469,578,201
ShortName
longsword
MaxStackSize
1
Hidden
No
Flags
0
Category
0
CategoryName
Weapon
Rarity
2
RarityName
Uncommon
DespawnRarityName
Uncommon
DespawnTimeSeconds
1,200
QuickDespawn
No
Volume
0
BaseRadioactivity
0
Era
Primitive
IsVehicleItem
No
OccupySlots
0
ApprovedSkinCount
0
MaxDraggable
0
Capacity
0
Weight
0.60
StorageSlots
0

ItemModsData

ItemModEntity

entityPrefab_Path
assets/prefabs/weapons/sword big/longsword.entity.prefab
playerOnlyEntity
No
destroyEntityWhenBroken
No
parentItemDefinition_ShortName
longsword

ItemModProjectile

projectileObject_Path
assets/prefabs/weapons/sword big/longsword.projectile.prefab
ammoType
0
ammoSubType
0
numProjectiles
1
projectileSpread
1
projectileVelocity
18
projectileVelocitySpread
0
useCurve
No
barrelConditionLoss
0
category
bullet

Blueprint

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

Ingredients

ShortName
metalblade
DisplayName
Metal Blade
Amount
2
ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
100

RecycleReturnsUnsafe

ShortName
metalblade
DisplayName
Metal Blade
Amount
1
Chance
100
ShortName
metalblade
DisplayName
Metal Blade
Amount
1
Chance
20
ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
60
Chance
100

RecycleReturnsSafezone

ShortName
metalblade
DisplayName
Metal Blade
Amount
1
Chance
80
ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
40
Chance
100

Condition

Max
250
Repairable
Yes
MaintainMaxCondition
No
OvenCondition
No
FoundFractionMin
1
FoundFractionMax
1

Combat

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

DamageTypes

Type
Slash
Amount
30

ItemMods

ItemModEntityItemBlueprintItemModProjectile

Harvest

Type
Flesh
GatherDamage
10
DestroyFraction
0.10
ConditionLost
0.50
HitsPerMinute
30

TechTreePaths

TreeName
techtree
NodeID
82
CumulativeScrapCost
0
TreeName
techtree
NodeID
82
CumulativeScrapCost
0
TreeName
techtree
NodeID
82
CumulativeScrapCost
0

RepairIngredients

ShortName
metal.fragments
DisplayName
Metal Fragments
Amount
32

World Entity Properties

Attributes

Type
BaseMelee
Path
assets/prefabs/weapons/sword big/longsword.entity.prefab
ID
3,395,979,968

Components

BaseMelee
Raw JSON
{
  "Id": -1469578201,
  "ShortName": "longsword",
  "MaxStackSize": 1,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 0,
  "CategoryName": "Weapon",
  "Rarity": 2,
  "RarityName": "Uncommon",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemModEntity",
    "ItemBlueprint",
    "ItemModProjectile"
  ],
  "DespawnRarityName": "Uncommon",
  "DespawnTimeSeconds": 1200,
  "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/sword big/longsword.entity.prefab",
      "defaultBone": "",
      "playerOnlyEntity": false,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "longsword"
    },
    "ItemModProjectile": {
      "projectileObject_Path": "assets/prefabs/weapons/sword big/longsword.projectile.prefab",
      "ammoType": 0,
      "ammoSubType": 0,
      "numProjectiles": 1,
      "projectileSpread": 1,
      "projectileVelocity": 18,
      "projectileVelocitySpread": 0,
      "useCurve": false,
      "barrelConditionLoss": 0,
      "category": "bullet"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 0,
  "Weight": 0.6,
  "Blueprint": {
    "Time": 30,
    "WorkbenchLevelRequired": 2,
    "AmountToCreate": 1,
    "ResearchCost": 30,
    "UserCraftable": true,
    "IsResearchable": true,
    "DefaultBlueprint": false,
    "NeedsSteamItem": false,
    "NeedsSteamDlc": false,
    "RequireUnlockedItem": null,
    "AdditionalUnlocks": [],
    "ScrapFromRecycle": 0,
    "Ingredients": [
      {
        "ShortName": "metalblade",
        "DisplayName": "Metal Blade",
        "Amount": 2
      },
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 100
      }
    ],
    "RecycleReturnsUnsafe": [
      {
        "ShortName": "metalblade",
        "DisplayName": "Metal Blade",
        "Amount": 1,
        "Chance": 100
      },
      {
        "ShortName": "metalblade",
        "DisplayName": "Metal Blade",
        "Amount": 1,
        "Chance": 20
      },
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 60,
        "Chance": 100
      }
    ],
    "RecycleReturnsSafezone": [
      {
        "ShortName": "metalblade",
        "DisplayName": "Metal Blade",
        "Amount": 1,
        "Chance": 80
      },
      {
        "ShortName": "metal.fragments",
        "DisplayName": "Metal Fragments",
        "Amount": 40,
        "Chance": 100
      }
    ]
  },
  "Condition": {
    "Max": 250,
    "Repairable": true,
    "MaintainMaxCondition": false,
    "OvenCondition": false,
    "FoundFractionMin": 1,
    "FoundFractionMax": 1
  },
  "Combat": {
    "ProjectileVelocity": 18,
    "AmmoType": "0",
    "DefaultAmmo": null,
    "NumProjectiles": 1,
    "AttackRadius": 0.3,
    "ExplosionRadius": 0,
    "RepeatDelay": 2,
    "RPM": 0,
    "DrawTime": 0,
    "MagazineCapacity": 0,
    "ReloadTime": 0,
    "Recoil": 0,
    "DamageScale": 0,
    "Automatic": false,
    "DamageTypes": [
      {
        "Type": "Slash",
        "Amount": 30
      }
    ]
  },
  "Harvest": [
    {
      "Type": "Flesh",
      "GatherDamage": 10,
      "DestroyFraction": 0.1,
      "ConditionLost": 0.5,
      "HitsPerMinute": 30
    }
  ],
  "Consumable": null,
  "Electrical": null,
  "TechTreePaths": [
    {
      "TreeName": "techtree",
      "NodeID": 82,
      "Inputs": [
        84
      ],
      "CumulativeScrapCost": 0
    },
    {
      "TreeName": "techtree",
      "NodeID": 82,
      "Inputs": [
        84
      ],
      "CumulativeScrapCost": 0
    },
    {
      "TreeName": "techtree",
      "NodeID": 82,
      "Inputs": [
        84
      ],
      "CumulativeScrapCost": 0
    }
  ],
  "Armor": null,
  "Recipe": null,
  "WeaponMod": null,
  "StorageSlots": 0,
  "RepairIngredients": [
    {
      "ShortName": "metal.fragments",
      "DisplayName": "Metal Fragments",
      "Amount": 32
    }
  ]
}