Gravel Bag: Difference between revisions

From PZwiki
m (→‎Code: Bump to .16, minor cleanup)
m (Automated Formatting)
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Gravel Bag}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|type=Construction|version=Version 41|incver=78}}{{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 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.
|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, [[Sack|sack]] containing gravel. It can be used to pathe gravel paths. Users can pathe up to four tiles of gravel with a full bag of gravel.
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.
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/sandbox2
{{Crafting header|ing=1}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 1027 -->
|gravel_bag_wall
{{Crafting/core|ing=1
| product_image = [[File:SandbagWall_Carpentry.png]] | product_name = [[Gravel_Bag_Wall|Gravel Bag Wall]] |q2=x1 | product_quantity =
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:Gravel_bag.png]] | i1 = [[Gravel_Bag|Gravel Bag]] | q1 = x3 | tag1 = (consumed)
}}
}}
|}


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


==Distribution==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
Gravel bags are usually found in [[Containers#Crates|wooden storage crates]], which are mostly found in warehouses.
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="5"|factory
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|5
|}


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
item Gravelbag
  | line = true
  | start = 811
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Gravelbag
{
{
    DisplayCategory = Material,
    DisplayCategory = Material,
Line 52: Line 82:
Tooltip = Tooltip_item_empty_sack_container,
Tooltip = Tooltip_item_empty_sack_container,
}
}
</pre>
}}
 
}}
== See also ==
*[[Carpentry Guide]]


{{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}}

Revision as of 08:56, 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]
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.

Containers
Building/Room Container Rolls Chance
factory crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5

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