Sand Bag: Difference between revisions

From PZwiki
m (added pic)
m (Insert empty line above each {{Navbox}})
(45 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{Notice|Future}}
{{Header|Project Zomboid|Items|Materials}}
{{Notice|Improve}}
{{Page version|41.78.16}}
{{Infobox item
|name=Sand Bag
|model=Sandbag_Model.png
|icon=Sandbag.png
|icon_name=Sand Bag
|weight=2
|primary_use=Laying sand
|secondary_use=Make [[Sandbag Wall|sandbag wall]]
|max_units=4
|contents=Sand
|item_id=Base.Sandbag
}}
A '''sand bag''' is a [[sack]] that has been filled with sand.
 
==Usage==
A sand bag is a heavy but very sturdy bag of sand that can withstand gunshots. Stacking three of these bags together will create a protective, bulletproof, [[Sandbag Wall|sandbag wall]] that can be hopped over by holding <code>E</code> or “Climb Through” with the right-click menu.
 
By having a [[shovel]] equipped, a sack can be used to pick up and spill sand on the ground.


{{Items
==Crafting==
|image = SandbagZ.png
{{Crafting/sandbox2
|weight = ?
|sandbag_wall
}}
}}


A bag of sand. Created by ?????.  
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Sandbag|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Sandbag distribution
        <span class="mw-customtoggle-togglebox-Sandbag" 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-Sandbag">
    <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
    | 0.5
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | farmstorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | farmstorage
    | {{ll|crate}}
    | 4
    | 20.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Sandbag" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Sandbag|41.78.16-->
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1223
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Sandbag
{
    DisplayCategory = Material,
Weight = 2,
Type = Drainable,
UseWhileEquipped = FALSE,
UseDelta = 0.25,
DisplayName = Sand Bag,
Icon = Sandbag,
ReplaceOnDeplete = EmptySandbag,
ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
WorldStaticModel = SandBag,
Tooltip = Tooltip_item_empty_sack_container,
}
}}
}}


== Crafting ==
==See also==
<!--list of crafting recipes the item is used in-->
*[[Dirt Bag]]
Sandbags can be used in the following recipes:
*[[Gravel Bag]]
*[[Carpentry]]


{| class="wikitable" width="550" style="text-align:center;"
[[Category:Spiffo's Construction Crew (Project)]]
|-
[[Category:Carpentry materials]]
! Ingredients || Other Items || Output || Description
|-
| 6x Sandbag || None || [[Sandbag Wall]] || a wall of sandbags.
|}


[[Category:items]]
{{Navbox items|carpentry_materials}}

Revision as of 15:44, 25 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]
Sand Bag
Sandbag Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
2
Function
Laying sand
Make sandbag wall
Properties
Contents
Sand
Capacity
4 units
Technical
Item ID
Base.Sandbag

A sand bag is a sack that has been filled with sand.

Usage

A sand bag is a heavy but very sturdy bag of sand that can withstand gunshots. Stacking three of these bags together will create a protective, bulletproof, sandbag wall that can be hopped over by holding E or “Climb Through” with the right-click menu.

By having a shovel equipped, a sack can be used to pick up and spill sand on the ground.

Crafting

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

Distribution

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

Sandbag distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all crate 1 0.5
factory crate 4 50.0
factory crate 4 10.0
factory crate 4 20.0
farmstorage crate 4 10.0
farmstorage crate 4 20.0

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 Sandbag
	{
	    DisplayCategory = Material,
		Weight	=	2,
		Type	=	Drainable,
		UseWhileEquipped	=	FALSE,
		UseDelta	=	0.25,
		DisplayName	=	Sand Bag,
		Icon	=	Sandbag,
		ReplaceOnDeplete	=	EmptySandbag,
		ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
		ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
		WorldStaticModel = SandBag,
		Tooltip = Tooltip_item_empty_sack_container,
	}

See also