Plastic Bag: Difference between revisions

From PZwiki
m (Automated Formatting for Infobox and Section Headers)
m (Remove lines))
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{Infobox item
{{Infobox item
|name=Plastic Bag
|name=Plastic Bag
|name_colour=Container
|name_text_colour=Container
|model=Plasticbag_Model.png
|model=Plasticbag_Model.png
| icon= Plasticbag.png
|icon=Plasticbag.png
| icon_name= Plastic Bag
|icon_name=Plastic Bag
|category=Container
|category=Container
|weight=0.1
|weight=0.1
Line 15: Line 13:
|item_id=Base.Plasticbag
|item_id=Base.Plasticbag
}}
}}
 
A '''plastic bag''' is a common container [[Items|item]].
A '''plastic bag''' is a common container [[items|item]].


==Usage==
==Usage==
Line 32: Line 29:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
|-
| rowspan="5"|artstore
|rowspan="5"|artstore
| [[counter]]
|[[counter]]
| 4
|4
| 1
|1
|-
|-
|[[counter]]
|[[counter]]
Line 58: Line 55:
|5
|5
|-
|-
| rowspan="4"|bookstore
|rowspan="4"|bookstore
| [[counter]]
|[[counter]]
| 4
|4
| 1
|1
|-
|-
|[[counter]]
|[[counter]]
Line 75: Line 72:
|2
|2
|-
|-
| drugshack
|drugshack
| [[counter]]
|[[counter]]
| 4
|4
| 8
|8
|-
|-
| kitchen
|kitchen
| [[counter]]
|[[counter]]
| 4
|4
| 8
|8
|}
|}
===Buildings===
===Buildings===
{| class="wikitable theme-red" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
Line 153: 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 159: 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 179: 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