Gravel Bag: Difference between revisions

From PZwiki
(adjustments to layout. Added new infobox and header)
m (Distribution table fix)
 
(36 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Gravel Bag}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|type=Construction|version=Version 39|incver=67.5}}{{Infobox drainable
{{Page version|41.78.16}}
|display_name = Gravel Bag
{{Infobox item
|name_colour = Construction
|name=Gravel Bag
|name_text_colour = Construction
|model=Gravelbag_Model.png
|image = Gravelbag.png
|icon=Gravelbag.png
|weight = 2
|icon_name=Gravel Bag
|primary_use = Laying gravel
|weight=2
|max_units = 4
|primary_use=Laying gravel
|contents = Gravel
|max_units=4
|class_name = Base.Gravelbag
|contents=Gravel
}}A '''gravel bag''' is effectively a [[sack]] that has been filled with gravel.
|item_id=Base.Gravelbag
}}
A '''gravel bag''' is a [[sack]] or similar container that has been filled with gravel. These bags can be used to either create gravel paths, or stacked together to create durable gravel barricades.


==Usage==
==Usage==
A gravel bag is a heavy but very sturdy bag of gravel that can withstand gunshots. Stacking three of these bags together will create a protective, bulletproof, [[Gravel Bag Wall|gravel bag wall]] that can be hopped over by holding <code>E</code> or "Climb Through" with the right-click menu.
A gravel bag is a heavy, but very sturdy, [[sack]] containing gravel. It can be used to path gravel paths. Users can path up to four tiles of gravel with a full bag of gravel.


Gravel bags can also withstand gunshots. Stacking three of these bags together will craft a protective and bulletproof [[Gravel Bag Wall|gravel bag wall]] that can be hopped over by holding <code>E</code> or "Climb Through" with the right-click menu.


== Crafting ==
==Crafting==
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|1027}}
|gravel_bag_wall
{{Crafting table footer}}
}}


==Distribution==
==Distribution==
Gravel bags are usually found in [[Containers#Crates|wooden storage crates]], which are mostly found in warehouses.  
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Gravelbag|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=39|incver=67.5}}
<div class="togglebox theme-red">
<nowiki> item Gravelbag
    <div>Gravelbag distribution
Weight = 2,
        <span class="mw-customtoggle-togglebox-Gravelbag" 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>
Type = Drainable,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Gravelbag">
UseWhileEquipped = FALSE,
    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">
UseDelta = 0.25,
<div class="pz-container">
DisplayName = Gravel Bag,
<div id="containers" style="flex-basis:30%">
Icon = Gravelbag,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
ReplaceOnDeplete = EmptySandbag,</nowiki>
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|crate}}
    | 1.61%
    |-
    | factory
    | {{ll|crate}}
    | 23.28%
    |-
    | factory
    | {{ll|crate}}
    | 41.14%
    |-
    | factory
    | {{ll|crate}}
    | 76.55%
    |-
    | farmstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | farmstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | farmstorage
    | {{ll|crate}}
    | 76.55%
    |-
    | farmstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | farmstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | farmstorage
    | {{ll|metal_shelves}}
    | 76.55%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | garagestorage
    | {{ll|crate}}
    | 76.55%
    |-
    | gardenstore
    | {{ll|crate}}
    | 23.28%
    |-
    | gardenstore
    | {{ll|crate}}
    | 41.14%
    |-
    | gardenstore
    | {{ll|crate}}
    | 76.55%
    |-
    | shed
    | {{ll|crate}}
    | 23.28%
    |-
    | shed
    | {{ll|crate}}
    | 41.14%
    |-
    | shed
    | {{ll|crate}}
    | 76.55%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|crate}}
    | 41.14%
    |-
    | storageunit
    | {{ll|crate}}
    | 76.55%
    |-
    | warehouse
    | {{ll|crate}}
    | 23.28%
    |-
    | warehouse
    | {{ll|crate}}
    | 41.14%
    |-
    | warehouse
    | {{ll|crate}}
    | 76.55%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Construction Worker
    | {{ll|Truck Bed}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Gravelbag" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Gravelbag|41.78.16-->


== See also ==
==Code==
*[[Carpentry Guide]]
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 811
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Gravelbag
{
    DisplayCategory = Material,
Weight = 2,
Type = Drainable,
UseWhileEquipped = FALSE,
UseDelta = 0.25,
DisplayName = Gravel Bag,
Icon = Gravelbag,
ReplaceOnDeplete = EmptySandbag,
ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
WorldStaticModel = GravelBag,
Tooltip = Tooltip_item_empty_sack_container,
}
}}
}}


{{Navbox/Construction}}
==See also==
*[[Carpentry]]
*[[Sand Bag]]
*[[Dirt Bag]]


[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Carpentry materials]]
{{Navbox items|carpentry_materials}}

Latest revision as of 19:17, 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]
Gravel Bag
Gravelbag Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
2
Function
Laying gravel
Properties
Contents
Gravel
Capacity
4 units
Technical
Item ID
Base.Gravelbag

A gravel bag is a sack or similar container that has been filled with gravel. These bags can be used to either create gravel paths, or stacked together to create durable gravel barricades.

Usage

A gravel bag is a heavy, but very sturdy, sack containing gravel. It can be used to path gravel paths. Users can path up to four tiles of gravel with a full bag of gravel.

Gravel bags can also withstand gunshots. Stacking three of these bags together will craft a protective and bulletproof gravel bag wall that can be hopped over by holding E or "Climb Through" with the right-click menu.

Crafting

Product Ingredients Tools Requirements Workstation XP
SandbagWall Carpentry.png
Gravel Bag Wall
Gravelbag.png Gravel Bag ×3
Hammer.png
Hammer (tag)
none none 1.25 Carpentry

Distribution

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

Gravelbag 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 crate 1.61%
factory crate 23.28%
factory crate 41.14%
factory crate 76.55%
farmstorage crate 23.28%
farmstorage crate 41.14%
farmstorage crate 76.55%
farmstorage metal_shelves 23.28%
farmstorage metal_shelves 41.14%
farmstorage metal_shelves 76.55%
garagestorage crate 23.28%
garagestorage crate 41.14%
garagestorage crate 76.55%
gardenstore crate 23.28%
gardenstore crate 41.14%
gardenstore crate 76.55%
shed crate 23.28%
shed crate 41.14%
shed crate 76.55%
storageunit crate 23.28%
storageunit crate 41.14%
storageunit crate 76.55%
warehouse crate 23.28%
warehouse crate 41.14%
warehouse crate 76.55%
Vehicles
Type Container Effective chance
Construction Worker Trunk 23.28%

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Gravelbag
	{
	    DisplayCategory = Material,
		Weight	=	2,
		Type	=	Drainable,
		UseWhileEquipped	=	FALSE,
		UseDelta	=	0.25,
		DisplayName	=	Gravel Bag,
		Icon	=	Gravelbag,
		ReplaceOnDeplete	=	EmptySandbag,
		ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
		ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
		WorldStaticModel = GravelBag,
		Tooltip = Tooltip_item_empty_sack_container,
	}

See also