Sand Bag: Difference between revisions

From PZwiki
(Headee)
m (Insert empty line above each {{Navbox}})
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Materials}}
{{Header/sandbox2|Project Zomboid|Items|type=Construction}}
{{Page version|41.78.16}}
{{page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Sand Bag
|name=Sand Bag
|model=Sandbag_Model.png  
|model=Sandbag_Model.png
|icon=Sandbag.png
|icon=Sandbag.png
|icon_name=Sand Bag
|icon_name=Sand Bag
Line 19: Line 18:
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==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|Sandbag|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>Sandbag distribution
!Container
        <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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Sandbag">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="5"|factory
    |+ {{ll|Containers}}
| [[crate]]
    ! Building / Room
| 4
    ! Container
| 1
    ! Rolls
|-
    ! Chance
|[[crate]]
    |-
|4
    | all
|1
    | {{ll|crate}}
|-
    | 1
|[[crate]]
    | 0.5
|4
    |-
|2
    | factory
|-
    | {{ll|crate}}
|[[crate]]
    | 4
|4
    | 50.0
|2
    |-
|-
    | factory
|[[crate]]
    | {{ll|crate}}
|4
    | 4
|5
    | 10.0
|-
    |-
| rowspan="2"|farmstorage  
    | factory
| [[crate]]
    | {{ll|crate}}
| 4  
    | 4
| 1
    | 20.0
|-
    |-
|[[crate]]
    | farmstorage
|4
    | {{ll|crate}}
|2
    | 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==
Line 78: Line 87:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
item Sandbag
item Sandbag
{
{
    DisplayCategory = Material,
    DisplayCategory = Material,
Line 93: Line 102:
Tooltip = Tooltip_item_empty_sack_container,
Tooltip = Tooltip_item_empty_sack_container,
}
}
  }}
}}
}}
}}


Line 102: 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