Plastic Bag: Difference between revisions

From PZwiki
m (Minor fixes)
m (Remove lines))
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Equipment|Container items|Handheld containers|type=Baggage}}
{{Header|Project Zomboid|Items|Baggage|type=Baggage|version=Version 41|incver=78.16}}
{{Page version|41.78.16}}
{{Infobox container
{{Infobox item
|display_name=Plastic Bag
|name=Plastic Bag
|name_colour=Container
|model=Plasticbag_Model.png
|name_text_colour=Container
|icon=Plasticbag.png
|image=Plasticbag_Model.png
|icon_name=Plastic Bag
| alternate_image= Plasticbag.png
| alternate_name= Plastic Bag
|category=Container
|category=Container
|weight=0.1
|weight=0.1
Line 13: Line 11:
|capacity=8
|capacity=8
|weight_reduction=30
|weight_reduction=30
|class_name=Base.Plasticbag
|item_id=Base.Plasticbag
}}
}}
A '''plastic bag''' is a common container [[item]].
A '''plastic bag''' is a common container [[Items|item]].


==Usage==
==Usage==
Line 26: Line 24:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="5"|artstore
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|2
|-
|[[counter]]
|4
|2
|-
|[[counter]]
|4
|5
|-
|rowspan="4"|bookstore
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|2
|-
|[[counter]]
|4
|2
|-
|drugshack
|[[counter]]
|4
|8
|-
|kitchen
|[[counter]]
|4
|8
|}
===Buildings===
===Buildings===
{| class="wikitable theme-red" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
Line 94: Line 151:
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start =  
   | start = 280
   | source = clothing_bags.txt
   | source = clothing_bags.txt
   | retrieved = true
   | retrieved = true
Line 100: Line 157:
   | code =
   | code =
item Plasticbag
item Plasticbag
{
    {
    DisplayCategory = Container,
        DisplayCategory = Container,
    WeightReduction = 30,
        WeightReduction = 30,
    Weight = 0.1,
        Weight = 0.1,
    Type = Container,
        Type = Container,
    Capacity = 8,
        Capacity = 8,
    DisplayName = Plastic Bag,
        DisplayName = Plastic Bag,
    Icon = Plasticbag,
        Icon = Plasticbag,
    ReplaceInSecondHand = Bag_Plasticbag_LHand holdingbagleft,
        ReplaceInSecondHand = Bag_Plasticbag_LHand holdingbagleft,
    ReplaceInPrimaryHand = Bag_Plasticbag_RHand holdingbagright,
        ReplaceInPrimaryHand = Bag_Plasticbag_RHand holdingbagright,
    WorldStaticModel = PlasticBag_Ground,
        WorldStaticModel = PlasticBag_Ground,
    SoundParameter = EquippedBaggageContainer PlasticBag,
        SoundParameter = EquippedBaggageContainer PlasticBag,
}
    }
  }}
}}
}}
}}


Line 120: Line 177:
*[[Tote Bag]]
*[[Tote Bag]]


{{Navbox equipment}}
{{Navbox items|containers}}

Revision as of 07:17, 15 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Plastic Bag
Plasticbag Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
0.1 (empty)
5.63 (full)
Equipped
One-handed
Properties
Capacity
8
Technical
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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
artstore counter 4 1
counter 4 1
counter 4 2
counter 4 2
counter 4 5
bookstore counter 4 1
counter 4 1
counter 4 2
counter 4 2
drugshack counter 4 8
kitchen counter 4 8

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

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

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

Retrieved: Build 41.78.16
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