Sand Bag: Difference between revisions

From PZwiki
mNo edit summary
m (Insert empty line above each {{Navbox}})
 
(27 intermediate revisions by 6 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 table header}}
{{Crafting/sandbox2
{{RecipeLookup|1018}}
|sandbag_wall
{{Crafting table footer}}
}}


== Distribution ==
==Distribution==
Usually found in [[Containers#Crates|wooden storage crates]], which are mostly found in warehouses.
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Sandbag|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{clear}}
{{Retrieved|version=39|incver=67.5}}
<div class="togglebox theme-red">
<nowiki> item Sandbag
    <div>Sandbag distribution
Weight = 2,
        <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>
Type = Drainable,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Sandbag">
UseWhileEquipped = FALSE,
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
UseDelta = 0.25,
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
DisplayName = Sand Bag,
    |+ {{ll|Containers}}
Icon = Sandbag,
    ! Building / Room
ReplaceOnDeplete = EmptySandbag,</nowiki>
    ! 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,
}
}}
}}


==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}}

Latest 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