Skip to main content
RustDocs

M4 Shotgun

shotgun.m4

A semi automatic military issue shotgun

Attributes

Id
678,698,219
ShortName
shotgun.m4
MaxStackSize
1
Hidden
No
Flags
0
Category
0
CategoryName
Weapon
Rarity
0
RarityName
None
DespawnRarityName
VeryRare
DespawnTimeSeconds
3,600
QuickDespawn
No
Volume
0
BaseRadioactivity
0
Era
Modern
IsVehicleItem
No
OccupySlots
0
ApprovedSkinCount
0
MaxDraggable
0
Capacity
4
Weight
4.50
StorageSlots
0

ItemModsData

ItemModEntity

entityPrefab_Path
assets/prefabs/weapons/m4 shotgun/m4_shotgun.entity.prefab
playerOnlyEntity
No
destroyEntityWhenBroken
No
parentItemDefinition_ShortName
shotgun.m4

ItemModContainer

capacity
4
maxStackSize
0
containerVolume
0
canLootInWorld
No
pickupInWorldDelay
0
maxWeight
-1
worldWeightScale
1
containerFlags
96
onlyAllowedContents
1
openInDeployed
No
openInInventory
Yes
blockAmmoSource
No
parentItemDefinition_ShortName
shotgun.m4

Blueprint

Time
60
WorkbenchLevelRequired
3
AmountToCreate
1
ResearchCost
120
UserCraftable
No
IsResearchable
No
DefaultBlueprint
No
NeedsSteamItem
No
NeedsSteamDlc
No
ScrapFromRecycle
0

Ingredients

ShortName
metal.refined
DisplayName
High Quality Metal
Amount
20
ShortName
metalpipe
DisplayName
Metal Pipe
Amount
4
ShortName
metalspring
DisplayName
Metal Spring
Amount
3

RecycleReturnsUnsafe

ShortName
metal.refined
DisplayName
High Quality Metal
Amount
12
Chance
100
ShortName
metalpipe
DisplayName
Metal Pipe
Amount
2
Chance
100
ShortName
metalpipe
DisplayName
Metal Pipe
Amount
1
Chance
40
ShortName
metalspring
DisplayName
Metal Spring
Amount
1
Chance
100
ShortName
metalspring
DisplayName
Metal Spring
Amount
1
Chance
80

RecycleReturnsSafezone

ShortName
metal.refined
DisplayName
High Quality Metal
Amount
8
Chance
100
ShortName
metalpipe
DisplayName
Metal Pipe
Amount
1
Chance
100
ShortName
metalpipe
DisplayName
Metal Pipe
Amount
1
Chance
60
ShortName
metalspring
DisplayName
Metal Spring
Amount
1
Chance
100
ShortName
metalspring
DisplayName
Metal Spring
Amount
1
Chance
20

Condition

Max
100
Repairable
Yes
MaintainMaxCondition
No
OvenCondition
No
FoundFractionMin
0.01
FoundFractionMax
0.03

Combat

ProjectileVelocity
1.30
AmmoType
SHOTGUN_12GUAGE, HANDMADE_SHELL
DefaultAmmo
ammo.shotgun
NumProjectiles
14
AttackRadius
0
ExplosionRadius
0
RepeatDelay
0.30
RPM
200.00
DrawTime
0
MagazineCapacity
0
ReloadTime
5.80
Recoil
2
DamageScale
0.80
Automatic
No

DamageTypes

Type
Bullet
Amount
12

ItemMods

ItemModEntityItemBlueprintItemModContainer

RepairIngredients

ShortName
metal.refined
DisplayName
High Quality Metal
Amount
7

World Entity Properties

Attributes

Type
BaseProjectile
Path
assets/prefabs/weapons/m4 shotgun/m4_shotgun.entity.prefab
ID
2,416,998,201

Components

BaseProjectileModel
Raw JSON
{
  "Id": 678698219,
  "ShortName": "shotgun.m4",
  "MaxStackSize": 1,
  "Hidden": false,
  "Flags": 0,
  "FlagNames": [],
  "Category": 0,
  "CategoryName": "Weapon",
  "Rarity": 0,
  "RarityName": "None",
  "SteamDlcItem": null,
  "ItemMods": [
    "ItemModEntity",
    "ItemBlueprint",
    "ItemModContainer"
  ],
  "DespawnRarityName": "VeryRare",
  "DespawnTimeSeconds": 3600,
  "QuickDespawn": false,
  "Volume": 0,
  "BaseRadioactivity": 0,
  "Era": "Modern",
  "IsVehicleItem": false,
  "VehicleCategory": null,
  "OccupySlots": "0",
  "ParentItem": null,
  "RedirectOf": null,
  "ApprovedSkinCount": 0,
  "ItemModsData": {
    "ItemModEntity": {
      "entityPrefab_Path": "assets/prefabs/weapons/m4 shotgun/m4_shotgun.entity.prefab",
      "defaultBone": "",
      "playerOnlyEntity": false,
      "destroyEntityWhenBroken": false,
      "parentItemDefinition_ShortName": "shotgun.m4"
    },
    "ItemModContainer": {
      "capacity": 4,
      "maxStackSize": 0,
      "containerVolume": 0,
      "canLootInWorld": false,
      "pickupInWorldDelay": 0,
      "maxWeight": -1,
      "worldWeightScale": 1,
      "containerFlags": 96,
      "onlyAllowedContents": 1,
      "openInDeployed": false,
      "openInInventory": true,
      "blockAmmoSource": false,
      "parentItemDefinition_ShortName": "shotgun.m4"
    }
  },
  "MaxDraggable": 0,
  "Capacity": 4,
  "Weight": 4.5,
  "Blueprint": {
    "Time": 60,
    "WorkbenchLevelRequired": 3,
    "AmountToCreate": 1,
    "ResearchCost": 120,
    "UserCraftable": false,
    "IsResearchable": false,
    "DefaultBlueprint": false,
    "NeedsSteamItem": false,
    "NeedsSteamDlc": false,
    "RequireUnlockedItem": null,
    "AdditionalUnlocks": [],
    "ScrapFromRecycle": 0,
    "Ingredients": [
      {
        "ShortName": "metal.refined",
        "DisplayName": "High Quality Metal",
        "Amount": 20
      },
      {
        "ShortName": "metalpipe",
        "DisplayName": "Metal Pipe",
        "Amount": 4
      },
      {
        "ShortName": "metalspring",
        "DisplayName": "Metal Spring",
        "Amount": 3
      }
    ],
    "RecycleReturnsUnsafe": [
      {
        "ShortName": "metal.refined",
        "DisplayName": "High Quality Metal",
        "Amount": 12,
        "Chance": 100
      },
      {
        "ShortName": "metalpipe",
        "DisplayName": "Metal Pipe",
        "Amount": 2,
        "Chance": 100
      },
      {
        "ShortName": "metalpipe",
        "DisplayName": "Metal Pipe",
        "Amount": 1,
        "Chance": 40
      },
      {
        "ShortName": "metalspring",
        "DisplayName": "Metal Spring",
        "Amount": 1,
        "Chance": 100
      },
      {
        "ShortName": "metalspring",
        "DisplayName": "Metal Spring",
        "Amount": 1,
        "Chance": 80
      }
    ],
    "RecycleReturnsSafezone": [
      {
        "ShortName": "metal.refined",
        "DisplayName": "High Quality Metal",
        "Amount": 8,
        "Chance": 100
      },
      {
        "ShortName": "metalpipe",
        "DisplayName": "Metal Pipe",
        "Amount": 1,
        "Chance": 100
      },
      {
        "ShortName": "metalpipe",
        "DisplayName": "Metal Pipe",
        "Amount": 1,
        "Chance": 60
      },
      {
        "ShortName": "metalspring",
        "DisplayName": "Metal Spring",
        "Amount": 1,
        "Chance": 100
      },
      {
        "ShortName": "metalspring",
        "DisplayName": "Metal Spring",
        "Amount": 1,
        "Chance": 20
      }
    ]
  },
  "Condition": {
    "Max": 100,
    "Repairable": true,
    "MaintainMaxCondition": false,
    "OvenCondition": false,
    "FoundFractionMin": 0.01,
    "FoundFractionMax": 0.03
  },
  "Combat": {
    "ProjectileVelocity": 1.3,
    "AmmoType": "SHOTGUN_12GUAGE, HANDMADE_SHELL",
    "DefaultAmmo": "ammo.shotgun",
    "NumProjectiles": 14,
    "AttackRadius": 0,
    "ExplosionRadius": 0,
    "RepeatDelay": 0.3,
    "RPM": 199.999985,
    "DrawTime": 0,
    "MagazineCapacity": 0,
    "ReloadTime": 5.8,
    "Recoil": 2,
    "DamageScale": 0.8,
    "Automatic": false,
    "DamageTypes": [
      {
        "Type": "Bullet",
        "Amount": 12
      }
    ]
  },
  "Harvest": null,
  "Consumable": null,
  "Electrical": null,
  "TechTreePaths": null,
  "Armor": null,
  "Recipe": null,
  "WeaponMod": null,
  "StorageSlots": 0,
  "RepairIngredients": [
    {
      "ShortName": "metal.refined",
      "DisplayName": "High Quality Metal",
      "Amount": 7
    }
  ]
}