Plastic Bag

From PZwiki
Revision as of 01:16, 1 April 2023 by Carina (talk | contribs) (Updated code section, and vehicle distribution)
The Game WorldItemsBaggagePlastic Bag
Plastic Bag
Plastic Bag
General
Category Container
Encumbrance
Heavy Load
0.1
Body location One-handed
Capacity 8
Encumbrance reduction 30%
Technical details
Item ID Base.Plasticbag

A plastic bag is a common container item.

Usage

A plastic bag has a poor capacity and average weight reduction. It can be found in most kitchens and vehicles, making it a good substitute until something better is found. It must be equipped in either the primary or secondary hand to be accessed and can usually be dropped if a backpack is found.

Plastic bags can spawn with:

Plasticbag.png Plastic Bag

Distribution

Buildings

Building/Room Container Rolls Chance
All Male Corpse 1 0.1
Female Corpse 1 0.1
Plastic Bag 3 5 (x4)
Tote Bag 10 50 (x7 +55)
Kitchen Counter 2 9
Spiffo's Kitchen Counter 6 3 (x2)
Pile-o-crepe Kitchen Counter 6 3 (x3)
Motel Room (occupied) Other 2 0.5

Vehicles

Profession Container Rolls Chance
All Trunk 4 10

Code

From clothing_bags.txt (Project Zomboid directory/media/scripts/clothing) Retrieved: Build 41.78

	    item Plasticbag
    {
        DisplayCategory = Container,
        WeightReduction	=	30,
        Weight	=	0.1,
        Type	=	Container,
        Capacity	=	8,
        DisplayName	=	Plastic Bag,
        Icon	=	Plasticbag,
        ReplaceInSecondHand = Bag_Plasticbag_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Plasticbag_RHand holdingbagright,
        WorldStaticModel = PlasticBag_Ground,
        SoundParameter = EquippedBaggageContainer PlasticBag,
    }

See also