Plastic Bag: Difference between revisions

From PZwiki
(Removed redirect and wrote a full article)
m (Remove lines))
(36 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Equipment|Container items|Handheld containers|type=Baggage}}
{{languages|Plastic Bag}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Baggage|version=Version 39|incver=67.5}}{{Baggage
{{Infobox item
| image = Plasticbag_120px.png
|name=Plastic Bag
| equippable = One Hand
|model=Plasticbag_Model.png
| weight = 0.1
|icon=Plasticbag.png
| capacity = 8
|icon_name=Plastic Bag
| weight_reduction = 30
|category=Container
| class_name = Base.BigHikingBag
|weight=0.1
}}'''Plastic bags''' are a common baggage item which has a poor weight and average weight reduction. It has the best item weight reduction and capacity of all the bags. They can be found in most kitchens and vehicles, making them a good substitute until something better is found. They must be equipped in either the primary or secondary hand to be accessed and can usually be dropped if a [[backpack]] is found.
|equipped=One-handed
|capacity=8
|weight_reduction=30
|item_id=Base.Plasticbag
}}
A '''plastic bag''' is a common container [[Items|item]].


'''Plastic Bag can spawn with:'''
==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:'''
{|
{|
|[[File:Plasticbag.png|link=Plastic Bag]] || Plastic Bag
|[[File:Plasticbag.png|link=Plastic Bag]] || Plastic Bag
|}
|}


==Item 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" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
|-
|-
!Building/Room
!Building/Room
Line 35: Line 102:
|-
|-
<!--|All-->
<!--|All-->
|[[Plastic Bag|Plastic Bag]]
|Plastic Bag
|3
|3
|5 (x4)
|5 (x4)
|-
|-
<!--|All-->
<!--|All-->
|[[Tote Bag|Tote Bag]]
|[[Tote Bag]]
|10
|10
|50 (x7 +55)
|50 (x7 +55)
Line 63: Line 130:
|2
|2
|0.5
|0.5
|-
|}
|}


===Vehicles===
===Vehicles===
{| class="wikitable" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
|-
|-
!Profession
!Profession
Line 73: Line 139:
!Rolls
!Rolls
!Chance
!Chance
|-
|All
|[[Glove Box]]
|1
|3
|-
|-
|All
|All
|[[Trunk]]
|[[Trunk]]
|2
|4
|3
|10
|-
|All
|[[Seat]]
|1
|1
|-
|}
|}


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
<nowiki>
| {{CodeSnip
item BigHikingBag
  | lang = java
WeightReduction = 30,
  | line = true
Weight         = 0.1,
  | start = 280
Type         = Container,
  | source = clothing_bags.txt
Capacity = 8,
  | retrieved = true
DisplayName = Plastic Bag,
  | version = 41.78.16
Icon         = Plasticbag,
  | code =
</nowiki>
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==
==See also==
* [[Garbage Bag]]
*[[Garbage Bag]]
* [[Tote Bag]]
*[[Tote Bag]]


{{Navbox/Baggage}}
{{Navbox items|containers}}
[[Category:Baggage]]
[[Category:Items]]

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