Sand Bag: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
(→Code: Updated code) |
||
Line 28: | Line 28: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1223 | |||
| source = items.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item Sandbag | item Sandbag | ||
Weight | { | ||
Type | DisplayCategory = Material, | ||
UseWhileEquipped = FALSE, | Weight = 2, | ||
UseDelta | Type = Drainable, | ||
DisplayName | UseWhileEquipped = FALSE, | ||
Icon | UseDelta = 0.25, | ||
ReplaceOnDeplete = EmptySandbag, | 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== |
Revision as of 05:52, 13 January 2024
Sand Bag | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 2 | |
Function |
Laying sand Make sandbag wall | |
Capacity | 4 units | |
Contents | Sand | |
Technical details | ||
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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Sandbag Wall |
1.25 Carpentry | none | Hammer (tag) (keep) |
Sand Bag x3 (consumed) |
Distribution
Usually found in wooden storage crates, which are mostly found in warehouses.
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,
}