Gravel Bag: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
(33 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Materials}}
{{languages|Gravel_Bag}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Gravel Bag
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Construction|Construction]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Gravelbag_Model.png
|icon=Gravelbag.png
|icon_name=Gravel Bag
|weight=2
|primary_use=Laying gravel
|max_units=4
|contents=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.


{{Items
==Usage==
|image = Gravel_bag.png
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.
|weight = 2.0
 
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/sandbox2
|gravel_bag_wall
}}
}}


A Gravel Bag is a [[Empty_Sand_Bag|Empty Sandbag]] that has been filled with gravel. Gamewise at Version 34.28, there is no code differences between a Gravelbag and a [[Sandbag]].
==Distribution==
The loot distributions can be found in the table(s) below.


A heavy but very sturdy bag of gravel that can withstand gunshots. Stacking three of these bags together will create a protective, bulletproof, gravelbag wall that can be hopped over by holding E or Climbing Through with the right-click menu.
<!--BOT FLAG|Gravelbag|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Gravelbag distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Gravelbag">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|crate}}
    | 1
    | 2.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 50.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | ConstructionWorkerTruckBed
    | 4
    | 10
    |}
</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-->


[[Empty_Sand_Bag|Empty sandbags]] usually are found in wooden storage crates, which are mostly found in warehouses.  
==Code==
{{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,
}
}}
}}


== Crafting ==
==See also==
{| class="wikitable sortable" style="text-align:centre;"
*[[Carpentry]]
|-
*[[Sand Bag]]
! Name
*[[Dirt Bag]]
! class="unsortable" | Recipe
! class="unsortable" | Description
|-
{{RecipeLookup|1027}}
|}


== Code ==
<nowiki> item Gravelbag
Weight = 2,
Type = Drainable,
UseWhileEquipped = FALSE,
UseDelta = 0.25,
DisplayName = Gravel Bag,
Icon = Gravelbag,
ReplaceOnDeplete = EmptySandbag,
</nowiki>
<nowiki>
</nowiki>
[[Category:Items]]
[[Category:Version 34.28]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Carpentry materials]]
{{Navbox items|carpentry_materials}}

Revision as of 15:39, 24 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
Containers
Building / Room Container Rolls Chance
all crate 1 2.0
factory crate 4 20.0
factory crate 4 10.0
factory crate 4 50.0
Vehicles
Vehicle Type/Location Rolls Chance
ConstructionWorkerTruckBed 4 10

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