Sand Bag: Difference between revisions
m (Changed "empty sand bag" to "sack", changed shovel link) |
(Update distribution file) |
||
(35 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{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. | |||
A | ==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. | |||
==Crafting== | |||
{{Crafting/sandbox2 | |||
|sandbag_wall | |||
}} | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|Sandbag|41.78.16--> | ||
{| class="wikitable | {{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"> | |||
! | Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | ||
|- | <div class="pz-container"> | ||
{{ | <div id="containers" style="flex-basis:30%"> | ||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| all | |||
| {{ll|crate}} | |||
| 0.71% | |||
|- | |||
| factory | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| factory | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| factory | |||
| {{ll|crate}} | |||
| 76.55% | |||
|- | |||
| farmstorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| farmstorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| farmstorage | |||
| {{ll|crate}} | |||
| 76.55% | |||
|- | |||
| farmstorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| farmstorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| farmstorage | |||
| {{ll|metal_shelves}} | |||
| 76.55% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 76.55% | |||
|- | |||
| gardenstore | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| gardenstore | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| gardenstore | |||
| {{ll|crate}} | |||
| 76.55% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 76.55% | |||
|- | |||
| warehouse | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| warehouse | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| warehouse | |||
| {{ll|crate}} | |||
| 76.55% | |||
|} | |||
</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== | ||
*[[Dirt Bag]] | |||
*[[Gravel Bag]] | |||
*[[Carpentry]] | |||
[[Category:Spiffo's Construction Crew (Project)]] | |||
[[Category:Carpentry materials]] | |||
{{Navbox items|carpentry_materials}} | |||
Latest revision as of 13:45, 30 April 2024
Make sandbag wall
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 |
---|---|---|---|---|---|
Sandbag Wall |
Sand Bag ×3 | Hammer (tag) |
none | none | 1.25 Carpentry |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
all | crate | 0.71% |
factory | crate | 23.28% |
factory | crate | 41.14% |
factory | crate | 76.55% |
farmstorage | crate | 23.28% |
farmstorage | crate | 41.14% |
farmstorage | crate | 76.55% |
farmstorage | metal_shelves | 23.28% |
farmstorage | metal_shelves | 41.14% |
farmstorage | metal_shelves | 76.55% |
garagestorage | crate | 23.28% |
garagestorage | crate | 41.14% |
garagestorage | crate | 76.55% |
gardenstore | crate | 23.28% |
gardenstore | crate | 41.14% |
gardenstore | crate | 76.55% |
storageunit | crate | 23.28% |
storageunit | crate | 41.14% |
storageunit | crate | 76.55% |
warehouse | crate | 23.28% |
warehouse | crate | 41.14% |
warehouse | crate | 76.55% |
Code
Source: ProjectZomboid\media\scripts\items.txt
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,
}