Gun Case (large)

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
PlushSpiffo.pngThis article is about large gun case. For small gun case, see Gun Case.
Gun Case (large)
GuitarCase02 Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
1 (empty)
5.9 (full)
Equipped
One-handed
Properties
Capacity
7
Run speed
97% (disabled)
Technical
Item ID

A gun case (large) is a container item that can spawn with a firearm stored inside it.

Usage

The gun case (large) is a small (in capacity) container item that can be used to hold items. It has a low capacity and encumbrance reduction. It cannot be equipped on the player's back. It is mostly useful to find a weapon stored inside.

Types

The 'Gun Case (large)' can spawn as one of 5 variants (Not including the gun case (small) and it's variants). Each variant has its own gun type, and will only spawn with ammunition and magazines (where applicable) for that weapon type. All possible types are as follows:

Item ID Weapon Magazine Ammo type
Base.RifleCase1 MSR700 Rifle MSR700 Magazine .223 Round
Base.RifleCase2 MSR788 Rifle MSR788 Magazine .308 Round
Base.RifleCase3 M14 Rifle M14 Magazine .308 Round
Base.ShotgunCase1 JS-2000 Shotgun - Shotgun Shells
Base.ShotgunCase2 Double Barrel Shotgun - Shotgun Shells

Distribution

Gun cases (large) can most commonly be found in closets, wardrobes, garages, and hunting lockers.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Base.RifleCase1
Source: ProjectZomboid\media\scripts\newBags.txt

Retrieved: Build 41.78.16
item RifleCase1
    {
        DisplayCategory = Container,
        WeightReduction	=	20,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	7,
        DisplayName	=	Gun Case,
        Icon	=	GuitarCase02,
        RunSpeedModifier = 0.97,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ReplaceInSecondHand = Bag_FlightCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_FlightCase_RHand holdingbagright,
        WorldStaticModel = GuitarCase_Ground,
    }

Base.RifleCase2
Source: ProjectZomboid\media\scripts\newBags.txt

Retrieved: Build 41.78.16
item RifleCase2
    {
        DisplayCategory = Container,
        WeightReduction	=	20,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	7,
        DisplayName	=	Gun Case,
        Icon	=	GuitarCase02,
        RunSpeedModifier = 0.97,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ReplaceInSecondHand = Bag_FlightCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_FlightCase_RHand holdingbagright,
        WorldStaticModel = GuitarCase_Ground,
    }

Base.RifleCase3
Source: ProjectZomboid\media\scripts\newBags.txt

Retrieved: Build 41.78.16
item RifleCase3
    {
        DisplayCategory = Container,
        WeightReduction	=	20,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	7,
        DisplayName	=	Gun Case,
        Icon	=	GuitarCase02,
        RunSpeedModifier = 0.97,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ReplaceInSecondHand = Bag_FlightCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_FlightCase_RHand holdingbagright,
        WorldStaticModel = GuitarCase_Ground,
    }

Base.ShotgunCase1
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item RevolverCase1
    {
        DisplayCategory = Container,
        WeightReduction	=	5,
        Weight	=	0.5,
        Type	=	Container,
        Capacity	=	4,
        DisplayName	=	Gun Case,
        Icon	=	PistolCase,
        RunSpeedModifier = 0.99,
        MetalValue = 15,
        ReplaceInSecondHand = Bag_PistolCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_PistolCase_RHand holdingbagright,
        WorldStaticModel = GunCase_Ground,
    }

Base.ShotgunCase2
Source: ProjectZomboid\media\scripts\newBags.txt

Retrieved: Build 41.78.16
item ShotgunCase2
    {
        DisplayCategory = Container,
        WeightReduction	=	20,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	7,
        DisplayName	=	Gun Case,
        Icon	=	GuitarCase02,
        RunSpeedModifier = 0.97,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ReplaceInSecondHand = Bag_FlightCase_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_FlightCase_RHand holdingbagright,
        WorldStaticModel = GuitarCase_Ground,
    }

See also