Gun Case

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 small gun case. For large gun case, see Gun Case (large).
Gun Case
PistolCase Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
0.5 (empty)
3.95 (full)
Equipped
One-handed
Properties
Capacity
4
Run speed
99% (disabled)
Technical
Item ID

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

Usage

The gun case is a small 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' can spawn as one of 6 variants (Not including the Gun Case (large) and its 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.PistolCase1 M9 Pistol M9 Magazine 9mm Round
Base.PistolCase2 M1911 Pistol M1911 Auto Magazine .45 Auto Round
Base.PistolCase3 D-E Pistol D-E Magazine .44 Magnum Round
Base.RevolverCase1 M36 Revolver - .38 Special Round
Base.RevolverCase2 M625 Revolver - .45 Auto Round
Base.RevolverCase3 Magnum - .44 Magnum Round

Distribution

Gun cases can be found in bedroom dressers, side tables, garages, home office desks, and pawn shops.

Trivia

  • Only the 9mm gun case can be found in pawn shops.

Code

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

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

Retrieved: Build 41.78.16
item PistolCase1
    {
        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.PistolCase2
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item PistolCase2
    {
        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.PistolCase3
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item PistolCase3
    {
        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.RevolverCase1
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.RevolverCase2
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item RevolverCase2
    {
        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.RevolverCase3
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item RevolverCase3
    {
        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,
    }

See also