Sack: Difference between revisions
No edit summary |
(Update code section) |
||
Line 8: | Line 8: | ||
|capacity=15 | |capacity=15 | ||
|weight_reduction=10 | |weight_reduction=10 | ||
|run_speed=0.99 | |||
|class_name=Base.EmptySandbag | |class_name=Base.EmptySandbag | ||
}}A '''sack''', previously called an '''empty sand bag''', is a container [[item]]. | }}A '''sack''', previously called an '''empty sand bag''', is a container [[item]]. | ||
==Usage== | ==Usage== | ||
Line 104: | Line 105: | ||
==Code== | ==Code== | ||
'''''From items.txt (Project Zomboid directory/media/scripts/)''''' | '''''From items.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version= | {{Retrieved|version=41|incver=78.16}} | ||
<pre> item EmptySandbag | <pre> | ||
item EmptySandbag | |||
{ | |||
DisplayCategory = Container, | |||
Weight = 0.1, | |||
Type = Container, | |||
WeightReduction = 10, | |||
Capacity = 15, | |||
DisplayName = Sack, | |||
Icon = SandbagEmpty, | |||
RunSpeedModifier = 0.99, | |||
ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft, | |||
ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright, | |||
WorldStaticModel = SandBag_Ground, | |||
Tooltip = Tooltip_item_empty_sack_container, | |||
Tags = HoldDirt, | |||
} | |||
</pre> | |||
==See also== | ==See also== |
Revision as of 20:26, 2 April 2023
Sack | |
---|---|
General | |
Category | Container |
Encumbrance | 0.1 |
Body location | One-handed |
Capacity | 15 |
Encumbrance reduction | 10% |
Speed | |
Run speed | 99% |
Technical details | |
Item ID | Base.EmptySandbag |
A sack, previously called an empty sand bag, is a container item.
Usage
Container
A sack has poor capacity and weight reduction, and is exceeded by the much more common garbage bag. Unlike the other baggage items, a sack cannot be found with items spawned inside, but its filled variants (excluding the compost bag) can be found throughout the world.
Filling with terrain
If the player has a spade shovel, a sack can be filled with dirt, sand, or gravel. To do so, right-click a patch of grass/dirt, sand, or gravel, and select "Take some [Material]". One sack can be filled with 4 tiles of material, and will be turned into the respective material bag.
- The dirt bag can be used to spread dirt over a tile, allowing it to be tilled for farming.
- The sand bag is used in a carpentry recipe, constructing a bulletproof sandbag wall.
- The gravel bag is also used in a carpentry recipe, constructing a bulletproof gravel bag wall.
Any bag can be emptied onto a tile, changing it to the contained material. Once the bag is emptied, the sack will be returned to the player.
Right-clicking on a full composter while the sack is in the player's hand will display the option to "take compost", upon which the sack will be replaced with a compost bag.
Distribution
Buildings
Building/Room | Container | Rolls | Chance |
---|---|---|---|
All | Crate | 1 | 2.5 |
Farm Storage | All | 3 | 3 |
Fishing Storage | Crate | 10 | 1 |
Garage Storage | All | 2 | 2 |
Grocery | Counter | 4 | 4 |
Grocery Storage | Other | 3 | 3 |
Logging Factory | Crate | 1 | 2.5 |
Shed | Counter | 1 | 3 |
Storage Unit | All | 3 | 2 |
Tool Store | Shelves | 5 | 2 |
Vehicles
Profession | Container | Rolls | Chance |
---|---|---|---|
Construction Worker | Trunk | 5 | 2 |
Code
From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.78.16
item EmptySandbag { DisplayCategory = Container, Weight = 0.1, Type = Container, WeightReduction = 10, Capacity = 15, DisplayName = Sack, Icon = SandbagEmpty, RunSpeedModifier = 0.99, ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft, ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright, WorldStaticModel = SandBag_Ground, Tooltip = Tooltip_item_empty_sack_container, Tags = HoldDirt, }