Garbage Bag: Difference between revisions

From PZwiki
m (fixed container links)
m (Automated Formatting)
(46 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 39|incver=52}}
{{Infobox item
{{Items
|name=Garbage Bag
| image = Garbagebag_120px.png  
|model=Garbagebag_Model.png
| weight = 0.1
|icon=Garbagebag.png
|icon_name=Garbage Bag
|category=Container
|weight=0.1
|equipped=One-handed
|capacity=20
|weight_reduction=10
|item_id=Base.Garbagebag
}}
}}
'''Garbage bags''' are a baggage item added in [[Version history|build 21]] and are often found in kitchen [[Containers#Counters|counters]] and [[Containers#Bins|bins]]. They are required to craft [[Rain Collector Barrel|rain collector barrels]].
A '''garbage bag''' is a container [[Items|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 (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]].


{| class="wikitable sortable" style="text-align:center"
'''Garbage bags can spawn with:'''
{|
|[[File:Tissue.png|link=Tissue]] || [[Tissue]] || style="width:80px;" |
|[[File:SocksAnim.gif|link=Socks]] || [[Socks]]
|-
|-
! class="unsortable" | Item
|[[File:Lighter.png|link=Lighter]] || [[Lighter]] ||
! class="unsortable" | Description
|[[File:Lollipop.png|link=Lollipop]] || [[Lollipop]]
! class="sortable" | Weight
! class="sortable" | Weight Reduction
! class="sortable" | Capacity
! class="unsortable" | Classname
|-
|-
| [[File:Garbagebag.png|32px|link=Garbage Bag|Garbage Bag]] <br> [[Garbage Bag|Garbage Bag]]
|[[File:Battery.png|link=Battery]] || [[Battery]] ||
| -
|[[File:MintCandy.png|link=Mint Candy]] || [[Mint Candy]]
| 0.1
| 10
| 20
| Base.Garbagebag
|-
|-
|[[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]]
|-
|[[File:Pop_empty.png|link=Empty Pop Bottle]] || [[Empty Pop Bottle]]
|-
|[[File:WaterBottle_Empty.png|link=Empty Bottle (Water)]] || [[Empty Bottle (Water)]]
|-
|[[File:WhiskeyEmpty.png|link=Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]] || [[Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]]
-->
|}
|}


<br><br><br><br>
==Crafting==
{{Crafting/sandbox2
|rain_collector_barrel_small
|rain_collector_barrel_large
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.


==Crafting==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
{| class="wikitable sortable" style="text-align:center;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|closet
|[[crate]]
|4
|1
|-
|drugshack
|[[counter]]
|4
|1
|-
|kitchen
|[[counter]]
|4
|1
|-
|mechanic
|[[wardrobe]]
|4
|1
|-
|-
! Name
|morgue
! class="unsortable" | Recipe
|[[counter]]
! class="unsortable" | Description
|4
! class="unsortable" | Level
|1
{{RecipeLookup|Rain Collector Barrel}}
|}
|}


===Buildings===
{| class="wikitable theme-red" style="text-align:center;"
|-
!Building/Room
!Container
!Rolls
!Chance
|-
|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 ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
<nowiki>
| {{CodeSnip
item Garbagebag
  | lang = java
WeightReduction = 10,
  | line = true
Weight = 0.1,
  | start = 294
Type = Container,
  | source = clothing_bags.txt
Capacity = 20,
  | retrieved = true
DisplayName = Garbage Bag,
  | version = 41.78.16
Icon = Garbagebag,
  | code =
</nowiki>
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==
== See Also ==
*[[Water]]
*[[Water]]
*[[Carpentry]]
*[[Carpentry]]
*[[Items#Baggage|Other Baggage Items]]
*[[Items#Baggage|Other Baggage Items]]


{{Navbox/Baggage}}
{{Navbox items|containers}}
 
 
[[Category:Materials]]
[[Category:Carpentry materials]]

Revision as of 08:44, 14 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.

Containers
Building/Room Container Rolls Chance
closet crate 4 1
drugshack counter 4 1
kitchen counter 4 1
mechanic wardrobe 4 1
morgue counter 4 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