Garbage Bag: Difference between revisions

From PZwiki
m (added header type)
m (Automated Formatting)
(41 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|type=Baggage|version=Version 39|incver=67.2}}{{Baggage
{{Infobox item
| image = Garbagebag_120px.png
|name=Garbage Bag
| equippable = Hand
|model=Garbagebag_Model.png
| weight = 0.1
|icon=Garbagebag.png
| capacity = 20
|icon_name=Garbage Bag
| weight_reduction = 10
|category=Container
| class_name = Base.GarbageBag
|weight=0.1
}}'''Garbage bags''' are a [[:Category:Baggage|baggage]] item added in [[Version history#21|build 21]] which have a poor weight reduction, however a high capacity, making up for it. They are very common and usually a good substitute until a [[Backpack (disambiguation)|backpack]] is found, as they must be equipped in the hand. Four garbage bags are required to craft a [[Rain Collector Barrel|rain collector barrel]].
|equipped=One-handed
|capacity=20
|weight_reduction=10
|item_id=Base.Garbagebag
}}
A '''garbage bag''' is a container [[Items|item]].


'''First aid kits can spawn with:'''
==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]].
 
'''Garbage bags can spawn with:'''
{|
{|
|[[File:Tissue.png|link=Tissue]] || [[Tissue]] || style="width:80px;" |
|[[File:Tissue.png|link=Tissue]] || [[Tissue]] || style="width:80px;" |
|[[File:SocksAnim.gif|link=Socks]] || [[Socks]]
|[[File:SocksAnim.gif|link=Socks]] || [[Socks]]
|-
|-
|[[File:Lighter.png|link=Lighter]] || [[Lighter]] ||  
|[[File:Lighter.png|link=Lighter]] || [[Lighter]] ||
|[[File:Lollipop.png|link=Lollipop]] || [[Lollipop]]
|[[File:Lollipop.png|link=Lollipop]] || [[Lollipop]]
|-
|-
|[[File:Battery.png|link=Battery]] || [[Battery]] ||  
|[[File:Battery.png|link=Battery]] || [[Battery]] ||
|[[File:MintCandy.png|link=Mint Candy]] || [[Mint Candy]]
|[[File:MintCandy.png|link=Mint Candy]] || [[Mint Candy]]
|-
|-
|[[File:Pen.png|link=Pen]] || [[Pen]] ||  
|[[File:Pen.png|link=Pen]] || [[Pen]] ||
|[[File:Cigarettes.png|link=Cigarettes]] || [[Cigarettes]]
|[[File:IckySticks.png|link=Cigarettes]] || [[Cigarettes]]
|-
|-
|[[File:BluePen.png|link=Pen|Blue Pen]] || [[Pen|Blue Pen]] ||  
|[[File:BluePen.png|link=Pen|Blue Pen]] || [[Pen|Blue Pen]] ||
|[[File:Paper.png|link=Sheet of Paper]] || [[Sheet of Paper]]
|[[File:Paper.png|link=Sheet of Paper]] || [[Sheet of Paper]]
|-
|-
|[[File:RedPen.png|link=Pen|Red Pen]] || [[Pen|Red Pen]] ||  
|[[File:RedPen.png|link=Pen|Red Pen]] || [[Pen|Red Pen]] ||
|[[File:Pop_empty.png|link=Empty Pop Bottle]] || [[Empty Pop Bottle]]
|[[File:Pop_empty.png|link=Empty Pop Bottle]] || [[Empty Pop Bottle]]
|-
|-
|[[File:Pencil.png|link=Pencil]] || [[Pencil]] ||  
|[[File:Pencil.png|link=Pencil]] || [[Pencil]] ||
|[[File:WaterBottle_Empty.png|link=Empty Bottle (Water)]] || [[Empty Bottle (Water)]]
|[[File:WaterBottle_Empty.png|link=Empty Bottle (Water)]] || [[Empty Bottle (Water)]]
|-
|-
|[[File:Magazine.png|link=Tissue]] || [[Magazine]] ||  
|[[File:Magazine.png|link=Tissue]] || [[Magazine]] ||
|[[File:WhiskeyEmpty.png|link=Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]] || [[Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]]
|[[File:WhiskeyEmpty.png|link=Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]] || [[Empty Bottle (Alcohol)|Empty Bottle (Whiskey)]]
|-
|-
|[[File:Newspaper.png|link=Lighter]] || [[Newspaper]] ||  
|[[File:Newspaper.png|link=Lighter]] || [[Newspaper]] ||
<!--
<!--
|-
|-
Line 45: Line 53:
|[[File:MintCandy.png|link=Mint Candy]] || [[Mint Candy]]
|[[File:MintCandy.png|link=Mint Candy]] || [[Mint Candy]]
|-
|-
|[[File:Cigarettes.png|link=Cigarettes]] || [[Cigarettes]]
|[[File:IckySticks.png|link=Cigarettes]] || [[Cigarettes]]
|-
|-
|[[File:Paper.png|link=Sheet of Paper]] || [[Sheet of Paper]]
|[[File:Paper.png|link=Sheet of Paper]] || [[Sheet of Paper]]
Line 57: Line 65:
|}
|}


==Item distribution==
==Crafting==
{{Crafting/sandbox2
|rain_collector_barrel_small
|rain_collector_barrel_large
}}
 
==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
|-
|closet
|[[crate]]
|4
|1
|-
|drugshack
|[[counter]]
|4
|1
|-
|kitchen
|[[counter]]
|4
|1
|-
|mechanic
|[[wardrobe]]
|4
|1
|-
|morgue
|[[counter]]
|4
|1
|}
 
===Buildings===
===Buildings===
{| class="wikitable" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
|-
|-
!Building/Room
!Building/Room
Line 125: Line 175:
|6
|6
|3
|3
|-
|}
==Crafting==
{| class="wikitable sortable" style="text-align:center;"
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
! class="unsortable" | Skill Level
{{RecipeLookup|Rain Collector Barrel}}
|}
|}


== Code ==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
<nowiki> item Garbagebag
| {{CodeSnip
WeightReduction = 10,
  | lang = java
Weight = 0.1,
  | line = true
Type = Container,
  | start = 294
Capacity = 20,
  | source = clothing_bags.txt
DisplayName = Garbage Bag,
  | retrieved = true
Icon = Garbagebag,</nowiki>
  | 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 ==
==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