Skip to main content
RustDocs

Lunar New Year Spear

spear.cny

A Chinese themed New Year themed metal Spear

Attributes

Id
695,450,239
ShortName
spear.cny
MaxStackSize
1
Hidden
No
Flags
0
Category
0
CategoryName
Weapon
Rarity
0
RarityName
None
DespawnRarityName
None
DespawnTimeSeconds
300
QuickDespawn
No
Volume
0
BaseRadioactivity
0
Era
Primitive
IsVehicleItem
No
OccupySlots
0
RedirectOf
spear.wooden
ApprovedSkinCount
0
MaxDraggable
0
Capacity
0
Weight
0.50
StorageSlots
0

ItemModsData

ItemModEntity

entityPrefab_Path
assets/prefabs/weapons/cnyspear/cny_spear.entity.prefab
playerOnlyEntity
No
destroyEntityWhenBroken
No
parentItemDefinition_ShortName
spear.cny

ItemModProjectile

projectileObject_Path
assets/prefabs/weapons/cnyspear/cny_spear.projectile.prefab
ammoType
0
ammoSubType
0
numProjectiles
1
projectileSpread
1
projectileVelocity
25
projectileVelocitySpread
0
useCurve
No
barrelConditionLoss
0
category
bullet

Blueprint

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

Ingredients

ShortName
wood
DisplayName
Wood
Amount
300

RecycleReturnsUnsafe

ShortName
wood
DisplayName
Wood
Amount
180
Chance
100

RecycleReturnsSafezone

ShortName
wood
DisplayName
Wood
Amount
120
Chance
100

Condition

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

Combat

ProjectileVelocity
25
AmmoType
0
NumProjectiles
1
AttackRadius
0.20
ExplosionRadius
0
RepeatDelay
1.50
RPM
0
DrawTime
0
MagazineCapacity
0
ReloadTime
0
Recoil
0
DamageScale
0
Automatic
No

DamageTypes

Type
Arrow
Amount
40

ItemMods

ItemModEntityItemBlueprintItemModProjectile

RepairIngredients

ShortName
wood
DisplayName
Wood
Amount
60

World Entity Properties

Attributes

Type
BaseMelee
Path
assets/prefabs/weapons/cnyspear/cny_spear.entity.prefab
ID
3,814,317,397

Components

BaseMelee
Raw JSON
{
  "Id": 695450239,
  "ShortName": "spear.cny",
  "MaxStackSize": 1,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 0,
  "CategoryName": "Weapon",
  "Rarity": 0,
  "RarityName": "None",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemModEntity",
    "ItemBlueprint",
    "ItemModProjectile"
  ],
  "DespawnRarityName": "None",
  "DespawnTimeSeconds": 300,
  "QuickDespawn": false,
  "Volume": 0,
  "BaseRadioactivity": 0,
  "Era": "Primitive",
  "IsVehicleItem": false,
  "VehicleCategory": null,
  "OccupySlots": "0",
  "ParentItem": null,
  "RedirectOf": "spear.wooden",
  "ApprovedSkinCount": 0,
  "ItemModsData": {
    "ItemModEntity": {
      "entityPrefab_Path": "assets/prefabs/weapons/cnyspear/cny_spear.entity.prefab",
      "defaultBone": "",
      "playerOnlyEntity": false,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "spear.cny"
    },
    "ItemModProjectile": {
      "projectileObject_Path": "assets/prefabs/weapons/cnyspear/cny_spear.projectile.prefab",
      "ammoType": 0,
      "ammoSubType": 0,
      "numProjectiles": 1,
      "projectileSpread": 1,
      "projectileVelocity": 25,
      "projectileVelocitySpread": 0,
      "useCurve": false,
      "barrelConditionLoss": 0,
      "category": "bullet"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 0,
  "Weight": 0.5,
  "Blueprint": {
    "Time": 10,
    "WorkbenchLevelRequired": 0,
    "AmountToCreate": 1,
    "ResearchCost": 10,
    "UserCraftable": false,
    "IsResearchable": false,
    "DefaultBlueprint": false,
    "NeedsSteamItem": false,
    "NeedsSteamDlc": false,
    "RequireUnlockedItem": null,
    "AdditionalUnlocks": [],
    "ScrapFromRecycle": 0,
    "Ingredients": [
      {
        "ShortName": "wood",
        "DisplayName": "Wood",
        "Amount": 300
      }
    ],
    "RecycleReturnsUnsafe": [
      {
        "ShortName": "wood",
        "DisplayName": "Wood",
        "Amount": 180,
        "Chance": 100
      }
    ],
    "RecycleReturnsSafezone": [
      {
        "ShortName": "wood",
        "DisplayName": "Wood",
        "Amount": 120,
        "Chance": 100
      }
    ]
  },
  "Condition": {
    "Max": 100,
    "Repairable": true,
    "MaintainMaxCondition": false,
    "OvenCondition": false,
    "FoundFractionMin": 1,
    "FoundFractionMax": 1
  },
  "Combat": {
    "ProjectileVelocity": 25,
    "AmmoType": "0",
    "DefaultAmmo": null,
    "NumProjectiles": 1,
    "AttackRadius": 0.2,
    "ExplosionRadius": 0,
    "RepeatDelay": 1.5,
    "RPM": 0,
    "DrawTime": 0,
    "MagazineCapacity": 0,
    "ReloadTime": 0,
    "Recoil": 0,
    "DamageScale": 0,
    "Automatic": false,
    "DamageTypes": [
      {
        "Type": "Arrow",
        "Amount": 40
      }
    ]
  },
  "Harvest": [],
  "Consumable": null,
  "Electrical": null,
  "TechTreePaths": null,
  "Armor": null,
  "Recipe": null,
  "WeaponMod": null,
  "StorageSlots": 0,
  "RepairIngredients": [
    {
      "ShortName": "wood",
      "DisplayName": "Wood",
      "Amount": 60
    }
  ]
}