Sand Bag: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
m (Insert empty line above each {{Navbox}})
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|type=Construction|version=Version 39|incver=67.5}}{{Infobox drainable
{{Header|Project Zomboid|Items|Materials}}
|display_name=Sand Bag
{{Page version|41.78.16}}
|name_colour=Construction
{{Infobox item
|name_text_colour=Construction
|name=Sand Bag
|image=Sandbag_Model.png  
|model=Sandbag_Model.png
|alternate_image=Sandbag.png
|icon=Sandbag.png
|alternate_name=Sand Bag
|icon_name=Sand Bag
|weight=2
|weight=2
|primary_use=Laying sand
|primary_use=Laying sand
Line 11: Line 11:
|max_units=4
|max_units=4
|contents=Sand
|contents=Sand
|class_name=Base.Sandbag
|item_id=Base.Sandbag
}}A '''sand bag''' is a [[sack]] that has been filled with sand.
}}
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=2}}
{{Crafting/sandbox2
{{Crafting carpentry|205|ing=2}}
|sandbag_wall
|}
}}


==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.
 
<!--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==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=39|incver=67.5}}
| {{CodeSnip
<pre>
  | lang = java
item Sandbag
  | line = true
Weight = 2,
  | start = 1223
Type = Drainable,
  | source = items.txt
UseWhileEquipped = FALSE,
  | retrieved = true
UseDelta = 0.25,
  | version = 41.78.16
DisplayName = Sand Bag,
  | code =
Icon = Sandbag,
item Sandbag
ReplaceOnDeplete = EmptySandbag,
{
</pre>
    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==
Line 47: Line 111:


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