Sand Bag: Difference between revisions

From PZwiki
m (→‎Crafting: [BOT] duplicate file fix, replaced: File:Sandbag_wallB.png → File:SandbagWall_Carpentry.png)
m (Automated Formatting)
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|type=Construction|version=Version 39|incver=67.5}}{{Infobox drainable
{{Page version|41.78.16}}
|display_name = Sand Bag
{{Infobox item
|name_colour = Construction
|name=Sand Bag
|name_text_colour = Construction
|model=Sandbag_Model.png
|image = Sandbag.png
|icon=Sandbag.png
|weight = 2
|icon_name=Sand Bag
|primary_use = Laying sand
|weight=2
|secondary_use = Make [[Sandbag Wall|sandbag wall]]
|primary_use=Laying sand
|max_units = 4
|secondary_use=Make [[Sandbag Wall|sandbag wall]]
|contents = Sand
|max_units=4
|class_name = Base.Sandbag
|contents=Sand
}}A '''sand bag''' is a [[sack]] that has been filled with sand.
|item_id=Base.Sandbag
}}
A '''sand bag''' is a [[sack]] that has been filled with sand.


==Usage==
==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.
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.  
By having a [[shovel]] equipped, a sack can be used to pick up and spill sand on the ground.


== Crafting ==
==Crafting==
{{Crafting header|ing=1}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 1018 -->
{{Crafting/sandbox2
{{Crafting/core|ing=1
|sandbag_wall
| product_image = [[File:SandbagWall_Carpentry.png]] | product_name = [[Sandbag Wall]] |q2=x1 | product_quantity =
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:SandbagZ.png|link=Sandbag|Sandbag]] | i1 = [[Sandbag]] | 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;"
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
|-
|rowspan="2"|farmstorage
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|}


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=39|incver=67.5}}
| {{CodeSnip
<nowiki> item Sandbag
  | lang = java
Weight = 2,
  | line = true
Type = Drainable,
  | start = 1223
UseWhileEquipped = FALSE,
  | source = items.txt
UseDelta = 0.25,
  | retrieved = true
DisplayName = Sand Bag,
  | version = 41.78.16
Icon = Sandbag,
  | code =
ReplaceOnDeplete = EmptySandbag,</nowiki>
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==
==See also==
* [[Carpentry Guide]]
*[[Dirt Bag]]
* [[Dirt Bag]]
*[[Gravel Bag]]
* [[Gravel Bag]]
*[[Carpentry]]


[[Category:Spiffo's Construction Crew (Project)]]
[[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