Garbage Bag: Difference between revisions

From PZwiki
No edit summary
m (Distribution table fix)
 
(53 intermediate revisions by 11 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Equipment|Container items|Handheld containers}}
{{languages|Garbage Bag}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Baggage|version=Version 37|incver=13}}
{{Infobox item
|name=Garbage Bag
|model=Garbagebag_Model.png
|icon=Garbagebag.png
|icon_name=Garbage Bag
|category=Container
|weight=0.1
|equipped=One-handed
|capacity=20
|weight_reduction=10
|item_id=Base.Garbagebag
}}
A '''garbage bag''' is a container [[Items|item]].


{{Items
==Usage==
| image = Garbagebag.png
A garbage bag has a poor weight reduction, but high capacity. It is very common and usually a good substitute until a [[Backpack (disambiguation)|backpack]] is found, as it must be equipped in the hand. Four garbage bags are required to craft a [[Rain Collector Barrel|rain collector barrel]].
| weight = 0.1
}}


[[Garbage Bag]]s are a type of container often found in kitchens and bins. They can be used to craft the [[Rain Collector Barrel]].
'''Garbage bags can spawn with:'''
 
{|
They were added in build 21.
|[[File:Tissue.png|link=Tissue]] || [[Tissue]] || style="width:80px;" |
 
|[[File:SocksAnim.gif|link=Socks]] || [[Socks]]
{| class="wikitable sortable" style="text-align:center"
|-
|[[File:Lighter.png|link=Lighter]] || [[Lighter]] ||
|[[File:Lollipop.png|link=Lollipop]] || [[Lollipop]]
|-
|[[File:Battery.png|link=Battery]] || [[Battery]] ||
|[[File:MintCandy.png|link=Mint Candy]] || [[Mint Candy]]
|-
|[[File:Pen.png|link=Pen]] || [[Pen]] ||
|[[File:IckySticks.png|link=Cigarettes]] || [[Cigarettes]]
|-
|[[File:BluePen.png|link=Pen|Blue Pen]] || [[Pen|Blue Pen]] ||
|[[File:Paper.png|link=Sheet of Paper]] || [[Sheet of Paper]]
|-
|[[File:RedPen.png|link=Pen|Red Pen]] || [[Pen|Red Pen]] ||
|[[File:Pop_empty.png|link=Empty Pop Bottle]] || [[Empty Pop Bottle]]
|-
|[[File:Pencil.png|link=Pencil]] || [[Pencil]] ||
|[[File:WaterBottle_Empty.png|link=Empty Bottle (Water)]] || [[Empty Bottle (Water)]]
|-
|[[File:Magazine.png|link=Tissue]] || [[Magazine]] ||
|[[File:WhiskeyEmpty.png|link=Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]] || [[Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]]
|-
|[[File:Newspaper.png|link=Lighter]] || [[Newspaper]] ||
<!--
|-
|[[File:SocksAnim.gif|link=Socks]] || [[Socks]]
|-
|[[File:Lollipop.png|link=Lollipop]] || [[Lollipop]]
|-
|[[File:MintCandy.png|link=Mint Candy]] || [[Mint Candy]]
|-
|[[File:IckySticks.png|link=Cigarettes]] || [[Cigarettes]]
|-
|[[File:Paper.png|link=Sheet of Paper]] || [[Sheet of Paper]]
|-
|-
! class="unsortable" | Item
|[[File:Pop_empty.png|link=Empty Pop Bottle]] || [[Empty Pop Bottle]]
! class="unsortable" | Description
! class="sortable" | Weight
! class="sortable" | Weight Reduction
! class="sortable" | Capacity
! class="unsortable" | Classname
|-
|-
 
|[[File:WaterBottle_Empty.png|link=Empty Bottle (Water)]] || [[Empty Bottle (Water)]]
| [[File:MATERIALGarbageBag.png|32px|link=Garbage Bag|Garbage Bag]] <br> [[Garbage Bag|Garbage Bag]]
| -
| 0.1
| 10
| 20
| Base.Garbagebag
|-
|-
|[[File:WhiskeyEmpty.png|link=Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]] || [[Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]]
-->
|}
|}


==Crafting==
==Crafting==
{| class="wikitable sortable" style="text-align:center;"
{{Crafting/sandbox2
|rain_collector_barrel_small
|rain_collector_barrel_large
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Garbagebag|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Garbagebag distribution
        <span class="mw-customtoggle-togglebox-Garbagebag" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Garbagebag">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|junk}}
    | 60.41%
    |-
    | bar
    | {{ll|bin}}
    | 60.41%
    |-
    | barkitchen
    | {{ll|bin}}
    | 60.41%
    |-
    | barstorage
    | {{ll|bin}}
    | 60.41%
    |-
    | beergarden
    | {{ll|bin}}
    | 60.41%
    |-
    | closet
    | {{ll|crate}}
    | 23.28%
    |-
    | drugshack
    | {{ll|counter}}
    | 23.28%
    |-
    | drugshack
    | {{ll|crate}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | livingroom
    | {{ll|counter}}
    | 23.28%
    |-
    | mechanic
    | {{ll|wardrobe}}
    | 23.28%
    |-
    | morgue
    | {{ll|counter}}
    | 23.28%
    |-
    | motelroomoccupied
    | {{ll|bin}}
    | 60.41%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Ambulance
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Carpenter
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Clothing
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Construction Worker
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Distillery
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Doctor
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Electrician
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Farmer
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Fire
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Fisherman
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Fossoil
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Golf
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Groceries
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Heralds
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Mass Gen Fac
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | McCoy
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Metal Welder
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Painter
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Police
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Postal
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Ranger
    | {{ll|Glove Box}}
    | 15.1%
    |-
    | Ranger
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Survivalist
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Taxi
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Transit
    | {{ll|Truck Bed}}
    | 15.1%
    |-
    | Heavy
    | {{ll|Trunk}}
    | 15.1%
    |-
    | Sports
    | {{ll|Trunk}}
    | 15.1%
    |-
    | Standard
    | {{ll|Trunk}}
    | 15.1%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Garbagebag" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Garbagebag|41.78.16-->
 
===Buildings===
{| class="wikitable theme-red" style="text-align:center;"
|-
|-
! Name
!Building/Room
! class="unsortable" | Recipe
!Container
! class="unsortable" | Description
!Rolls
! class="unsortable" | Level
!Chance
{{RecipeLookup|Rain Collector Barrel}}
|-
|rowspan="3"|All
|rowspan="3"|[[Containers#Bins|Bin]]
|rowspan="3"|1
|12
|-
<!--|All-->
<!--|[[Containers#Bins|Bin]]-->
<!--|1-->
|12
|-
<!--|All-->
<!--|[[Containers#Bins|Bin]]-->
<!--|1-->
|12
|-
|rowspan="3"|Bar
|rowspan="3"|[[Containers#Bins|Bin]]
|rowspan="3"|1
|12
|-
<!--|Bar-->
<!--|[[Containers#Bins|Bin]]-->
<!--|1-->
|12
|-
<!--|Bar-->
<!--|[[Containers#Bins|Bin]]-->
<!--|1-->
|12
|-
|Cafe
|[[Containers#Bins|Bin]]
|1
|12
|-
|rowspan="3"|Grocery Storage
|rowspan="3"|[[Containers#Bins|Bin]]
|rowspan="3"|1
|12
|-
<!--|Grocery Storage-->
<!--|[[Containers#Bins|Bin]]-->
<!--|1-->
|12
|-
<!--|Grocery Storage-->
<!--|[[Containers#Bins|Bin]]-->
<!--|1-->
|12
|-
|Kitchen
|[[Containers#Counters|Counter]]
|2
|9
|-
|Spiffo's Kitchen
|[[Containers#Counters|Counter]]
|6
|3
|}
|}
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 294
  | source = clothing_bags.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Garbagebag
    {
        DisplayCategory = Container,
        WeightReduction = 10,
        Weight = 0.1,
        Type = Container,
        Capacity = 20,
        DisplayName = Garbage Bag,
        Icon = Garbagebag,
        ReplaceInSecondHand = Bag_Garbagebag_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Garbagebag_RHand holdingbagright,
        WorldStaticModel = GarbageBag_Ground,
        SoundParameter = EquippedBaggageContainer GarbageBag,
    }
}}
}}
==See also==
*[[Water]]
*[[Carpentry]]
*[[Items#Baggage|Other Baggage Items]]
{{Navbox items|containers}}




{{Navbox/Baggage}}
[[Category:Materials]]
[[Category:Tools]]
[[Category:Carpentry materials]]
[[Category:Baggage]]

Latest revision as of 19:14, 30 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]
Garbage Bag
Garbagebag Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
0.1 (empty)
18.03 (full)
Equipped
One-handed
Properties
Capacity
20
Technical
Item ID
Base.Garbagebag

A garbage bag is a container item.

Usage

A garbage bag has a poor weight reduction, but high capacity. It is very common and usually a good substitute until a backpack is found, as it must be equipped in the hand. Four garbage bags are required to craft a rain collector barrel.

Garbage bags can spawn with:

Tissue.png Tissue SocksAnim.gif Socks
Lighter.png Lighter Lollipop.png Lollipop
Battery.png Battery MintCandy.png Mint Candy
Pen.png Pen IckySticks.png Cigarettes
Blue Pen Blue Pen Paper.png Sheet of Paper
Red Pen Red Pen Pop empty.png Water Bottle (Orange Soda)
Pencil.png Pencil WaterBottle Empty.png Water Bottle
Magazine.png Magazine Empty Bottle (Whiskey) Empty Bottle (Whiskey)
Newspaper.png Newspaper

Crafting

Product Ingredients Tools Requirements Workstation XP
RainCollectorBarrel Carpentry.gif
Rain Collector Barrel
Plank.png Plank ×4
Nails.png Nails ×4
Garbagebag.png Garbage Bag ×4

Hammer.png
Hammer (tag)
Carpentry 4 none 1.25 Carpentry
RainCollectorBarrel2 Carpentry.gif
Rain Collector Barrel
Plank.png Plank ×4
Nails.png Nails ×4
Garbagebag.png Garbage Bag ×4

Hammer.png
Hammer (tag)
Carpentry 7 none 1.25 Carpentry

Distribution

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

Garbagebag distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all junk 60.41%
bar bin 60.41%
barkitchen bin 60.41%
barstorage bin 60.41%
beergarden bin 60.41%
closet crate 23.28%
drugshack counter 23.28%
drugshack crate 23.28%
garagestorage crate 23.28%
kitchen counter 23.28%
livingroom counter 23.28%
mechanic wardrobe 23.28%
morgue counter 23.28%
motelroomoccupied bin 60.41%
storageunit crate 23.28%
Vehicles
Type Container Effective chance
Ambulance Trunk 15.1%
Carpenter Trunk 15.1%
Clothing Trunk 15.1%
Construction Worker Trunk 15.1%
Distillery Trunk 15.1%
Doctor Trunk 15.1%
Electrician Trunk 15.1%
Farmer Trunk 15.1%
Fire Trunk 15.1%
Fisherman Trunk 15.1%
Fossoil Trunk 15.1%
Golf Trunk 15.1%
Groceries Trunk 15.1%
Heralds Trunk 15.1%
Mass Gen Fac Trunk 15.1%
McCoy Trunk 15.1%
Metal Welder Trunk 15.1%
Painter Trunk 15.1%
Police Trunk 15.1%
Postal Trunk 15.1%
Ranger Glove Box 15.1%
Ranger Trunk 15.1%
Survivalist Trunk 15.1%
Taxi Trunk 15.1%
Transit Trunk 15.1%
Heavy Trunk 15.1%
Sports Trunk 15.1%
Standard Trunk 15.1%

Buildings

Building/Room Container Rolls Chance
All Bin 1 12
12
12
Bar Bin 1 12
12
12
Cafe Bin 1 12
Grocery Storage Bin 1 12
12
12
Kitchen Counter 2 9
Spiffo's Kitchen Counter 6 3

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 Garbagebag
    {
        DisplayCategory = Container,
        WeightReduction	=	10,
        Weight	=	0.1,
        Type	=	Container,
        Capacity	=	20,
        DisplayName	=	Garbage Bag,
        Icon	=	Garbagebag,
        ReplaceInSecondHand = Bag_Garbagebag_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Garbagebag_RHand holdingbagright,
        WorldStaticModel = GarbageBag_Ground,
        SoundParameter = EquippedBaggageContainer GarbageBag,
    }

See also