Gravel Bag: Difference between revisions

From PZwiki
m (minor)
m (Distribution table update)
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Materials}}
{{Header/sandbox2|Project Zomboid|Items|type=Construction}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name = Gravel Bag
|name=Gravel Bag
|model = Gravelbag_Model.png
|model=Gravelbag_Model.png
|icon = Gravelbag.png
|icon=Gravelbag.png
|icon_name = Gravel Bag
|icon_name=Gravel Bag
|weight = 2
|weight=2
|primary_use = Laying gravel
|primary_use=Laying gravel
|max_units = 4
|max_units=4
|contents = Gravel
|contents=Gravel
|item_id = Base.Gravelbag
|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.
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.
Line 21: Line 20:


==Crafting==
==Crafting==
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting carpentry|206|ing=2}}
|gravel_bag_wall
|}
}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
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;"
<!--BOT FLAG|Gravelbag|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>Gravelbag distribution
!Container
        <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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Gravelbag">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="5"|factory
    |+ {{ll|Containers}}
| [[crate]]
    ! Building / Room
| 4
    ! Container
| 1
    ! Rolls
|-
    ! Chance
|[[crate]]
    |-
|4
    | all
|1
    | {{ll|crate}}
|-
    | 1
|[[crate]]
    | 2.0
|4
    |-
|2
    | factory
|-
    | {{ll|crate}}
|[[crate]]
    | 4
|4
    | 20.0
|2
    |-
|-
    | factory
|[[crate]]
    | {{ll|crate}}
|4
    | 4
|5
    | 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-->


==Code==
==Code==
Line 62: Line 82:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 811
   | source = items.txt
   | source = items.txt
   | retrieved = true
   | retrieved = true
Line 68: Line 89:
   | code =
   | code =
item Gravelbag
item Gravelbag
{
{
    DisplayCategory       = Material,
    DisplayCategory = Material,
    Weight               = 2,
Weight = 2,
    Type                 = Drainable,
Type = Drainable,
    UseWhileEquipped     = FALSE,
UseWhileEquipped = FALSE,
    UseDelta             = 0.25,
UseDelta = 0.25,
    DisplayName           = Gravel Bag,
DisplayName = Gravel Bag,
    Icon                 = Gravelbag,
Icon = Gravelbag,
    ReplaceOnDeplete     = EmptySandbag,
ReplaceOnDeplete = EmptySandbag,
    ReplaceInSecondHand   = Bag_Sandbag_LHand holdingbagleft,
ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
    ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
    WorldStaticModel     = GravelBag,
WorldStaticModel = GravelBag,
    Tooltip               = Tooltip_item_empty_sack_container,
Tooltip = Tooltip_item_empty_sack_container,
}
}
  }}
}}
}}
}}


Line 91: Line 112:


[[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