Sand Bag: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
(42 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{Notice|Future}}
{{Header|Project Zomboid|Items|Materials}}
{{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 = 9
|sandbag_wall
}}
}}


A bag of sand. Created by ?????.  
==Distribution==
The loot distributions can be found in the table(s) below.


== Crafting ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--list of crafting recipes the item is used in-->
! colspan="4" | Containers
Sandbags can be used in the following recipes:
|-
 
! Building/Room
{| class="wikitable" width="550" style="text-align:center;"
! 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
|-
|-
! Ingredients || Other Items || Output || Description
|rowspan="2"|farmstorage
|[[crate]]
|4
|1
|-
|-
| 6x Sandbag || None || [[Sandbag Wall]] || a wall of sandbags.
|[[crate]]
|4
|2
|}
|}


== Code ==
==Code==
<nowiki>item Sandbag
{{CodeBox
{
| {{CodeSnip
Weight = 9,
  | lang = java
  | line = true
  | start = 1223
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Sandbag
{
    DisplayCategory = Material,
Weight = 2,
Type = Drainable,
Type = Drainable,
UseWhileEquipped = FALSE,
UseWhileEquipped = FALSE,
UseDelta = 0.25,
UseDelta = 0.25,
DisplayName = Sand bag,
DisplayName = Sand Bag,
Icon = Sandbag,
Icon = Sandbag,
}</nowiki>
ReplaceOnDeplete = EmptySandbag,
ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
WorldStaticModel = SandBag,
Tooltip = Tooltip_item_empty_sack_container,
}
}}
}}
 
==See also==
*[[Dirt Bag]]
*[[Gravel Bag]]
*[[Carpentry]]


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

Revision as of 11:45, 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]
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.

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

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