Skip to main content
RustDocs

Weapon flashlight

Uncommon

weapon.mod.flashlight

Attaches to a weapon. Provides user with a beam of light. Pressing F (default) to toggle light.

Attributes

Id
952,603,248
ShortName
weapon.mod.flashlight
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
UnderBarrel
ApprovedSkinCount
0
MaxDraggable
0
Capacity
0
Weight
1
StorageSlots
0

ItemModsData

ItemModEntity

entityPrefab_Path
assets/prefabs/weapon mods/flashlight/flashlight.entity.prefab
defaultBone
flashlight.attachment
playerOnlyEntity
No
destroyEntityWhenBroken
No
parentItemDefinition_ShortName
weapon.mod.flashlight

ItemModSound

effect_Path
assets/prefabs/weapon mods/mod_attach.fx.prefab
actionType
0
parentItemDefinition_ShortName
weapon.mod.flashlight

Blueprint

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

Ingredients

ShortName
metal.refined
DisplayName
High Quality Metal
Amount
3

RecycleReturnsUnsafe

ShortName
metal.refined
DisplayName
High Quality Metal
Amount
1
Chance
100
ShortName
metal.refined
DisplayName
High Quality Metal
Amount
1
Chance
80

RecycleReturnsSafezone

ShortName
metal.refined
DisplayName
High Quality Metal
Amount
1
Chance
100
ShortName
metal.refined
DisplayName
High Quality Metal
Amount
1
Chance
20

WeaponMod

IsSilencer
No
IsScope
No
IsLight
Yes
IsMuzzleBrake
No
IsMuzzleBoost
No
ZoomAmount
0
BurstCount
-1
ConditionLossMultiplier
1

Modifiers

ItemMods

ItemBlueprintItemModEntityItemModSound

TechTreePaths

TreeName
techtree
NodeID
100
CumulativeScrapCost
405
TreeName
techtree
NodeID
100
CumulativeScrapCost
375
TreeName
techtree
NodeID
100
CumulativeScrapCost
345

RepairIngredients

ShortName
metal.refined
DisplayName
High Quality Metal
Amount
1

World Entity Properties

Attributes

Type
ProjectileWeaponMod
Path
assets/prefabs/weapon mods/flashlight/flashlight.entity.prefab
ID
3,357,772,531

Components

ProjectileWeaponMod
Raw JSON
{
  "Id": 952603248,
  "ShortName": "weapon.mod.flashlight",
  "MaxStackSize": 1,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 0,
  "CategoryName": "Weapon",
  "Rarity": 2,
  "RarityName": "Uncommon",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemBlueprint",
    "ItemModEntity",
    "ItemModSound"
  ],
  "DespawnRarityName": "Uncommon",
  "DespawnTimeSeconds": 1200,
  "QuickDespawn": false,
  "Volume": 0,
  "BaseRadioactivity": 0,
  "Era": "Primitive",
  "IsVehicleItem": false,
  "VehicleCategory": null,
  "OccupySlots": "UnderBarrel",
  "ParentItem": null,
  "RedirectOf": null,
  "ApprovedSkinCount": 0,
  "ItemModsData": {
    "ItemModEntity": {
      "entityPrefab_Path": "assets/prefabs/weapon mods/flashlight/flashlight.entity.prefab",
      "defaultBone": "flashlight.attachment",
      "playerOnlyEntity": false,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "weapon.mod.flashlight"
    },
    "ItemModSound": {
      "effect_Path": "assets/prefabs/weapon mods/mod_attach.fx.prefab",
      "actionType": 0,
      "parentItemDefinition_ShortName": "weapon.mod.flashlight"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 0,
  "Weight": 1,
  "Blueprint": {
    "Time": 30,
    "WorkbenchLevelRequired": 1,
    "AmountToCreate": 1,
    "ResearchCost": 30,
    "UserCraftable": true,
    "IsResearchable": true,
    "DefaultBlueprint": false,
    "NeedsSteamItem": false,
    "NeedsSteamDlc": false,
    "RequireUnlockedItem": null,
    "AdditionalUnlocks": [],
    "ScrapFromRecycle": 0,
    "Ingredients": [
      {
        "ShortName": "metal.refined",
        "DisplayName": "High Quality Metal",
        "Amount": 3
      }
    ],
    "RecycleReturnsUnsafe": [
      {
        "ShortName": "metal.refined",
        "DisplayName": "High Quality Metal",
        "Amount": 1,
        "Chance": 100
      },
      {
        "ShortName": "metal.refined",
        "DisplayName": "High Quality Metal",
        "Amount": 1,
        "Chance": 80
      }
    ],
    "RecycleReturnsSafezone": [
      {
        "ShortName": "metal.refined",
        "DisplayName": "High Quality Metal",
        "Amount": 1,
        "Chance": 100
      },
      {
        "ShortName": "metal.refined",
        "DisplayName": "High Quality Metal",
        "Amount": 1,
        "Chance": 20
      }
    ]
  },
  "Condition": null,
  "Combat": null,
  "Harvest": null,
  "Consumable": null,
  "Electrical": null,
  "TechTreePaths": [
    {
      "TreeName": "techtree",
      "NodeID": 100,
      "Inputs": [
        96
      ],
      "CumulativeScrapCost": 405
    },
    {
      "TreeName": "techtree",
      "NodeID": 100,
      "Inputs": [
        96
      ],
      "CumulativeScrapCost": 375
    },
    {
      "TreeName": "techtree",
      "NodeID": 100,
      "Inputs": [
        96
      ],
      "CumulativeScrapCost": 345
    }
  ],
  "Armor": null,
  "Recipe": null,
  "WeaponMod": {
    "IsSilencer": false,
    "IsScope": false,
    "IsLight": true,
    "IsMuzzleBrake": false,
    "IsMuzzleBoost": false,
    "ZoomAmount": 0,
    "BurstCount": -1,
    "ConditionLossMultiplier": 1,
    "Modifiers": {}
  },
  "StorageSlots": 0,
  "RepairIngredients": [
    {
      "ShortName": "metal.refined",
      "DisplayName": "High Quality Metal",
      "Amount": 1
    }
  ]
}