Sack: Difference between revisions

From PZwiki
(Updated layout and changed infobox)
m (Remove lines))
(42 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{languages|Sack}}
{{Header|Project Zomboid|Items|Equipment|Handheld containers}}
{{header|The Game World|Items|Baggage|type=Baggage|version=Version 40|incver=6}}{{Infobox container
{{Page version|41.78.16}}
| display_name = Sack
{{Infobox item
| name_colour = Container
|name=Sack
| name_text_colour = Container
|model=SandbagEmpty_Model.png
| image = SandbagEmpty_120px.png
|icon=SandbagEmpty.png
| equipped = One-handed
|icon_name=Sack
| weight = 0.1
|equipped=One-handed
| capacity = 15
|weight=0.1
| weight_reduction = 10
|capacity=15
| class_name = Base.EmptySandbag
|weight_reduction=10
}}A '''sack''', previously called an '''empty sand bag''', is a container [[item]].  
|run_speed=0.99
|item_id=Base.EmptySandbag
}}
A '''sack''', previously called an '''empty sand bag''', is a container [[Items|item]].


==Usage==
==Usage==
===Container===
===Container===
A sack has poor capacity and weight reduction, and is exceeded by the much more common [[Garbage Bag|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]].
A sack has poor capacity and weight reduction, and is exceeded by the much more common [[Garbage Bag|garbage bag]]. Unlike the other [[Bags|baggage items]], a sack cannot be found with items spawned inside, but its filled variants (excluding the compost bag) can be found throughout the [[Knox Country|world]].


===Filling with terrain===
===Filling with terrain===
If the player has a [[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.  
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|dirt bag]] can be used to spread dirt over a tile, allowing it to be [[Trowel|tilled]] for [[farming]].
*The [[Dirt Bag|dirt bag]] can be used to spread dirt over a tile, allowing it to be [[Trowel|tilled]] for [[farming]].
*The [[Sand Bag|sand bag]] is used in a [[carpentry]] recipe, constructing a bulletproof [[Sandbag Wall|sandbag wall]].
*The [[Sand Bag|sand bag]] is used in a [[carpentry]] recipe, constructing a bulletproof [[Sandbag Wall|sandbag wall]].
*The [[Gravel Bag|gravel bag]] is also used in a [[Carpentry|carpentry]] recipe, constructing a bulletproof [[Gravel Bag Wall|gravel bag wall]].
*The [[Gravel Bag|gravel bag]] is also used in a [[carpentry]] recipe, constructing a bulletproof [[Gravel Bag Wall|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.
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 [[Containers#Composter|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|compost bag]].  
''Right-clicking'' on a full [[Containers#Composter|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|compost bag]].


==Distribution==
===Filling with food===
===Buildings===
Several foods can be stored in a sack and converted into an item with a unique name and a carry weight of 2.0: regardless of contents. This is similar to making a [[box of nails]] in that it combines the items; However, unlike the box of nails it does require the sack container.
{| class="wikitable" style="text-align:center;"
 
In some cases, the items would weight less unpacked (ex, Cabbage) while in others it would be more beneficial to sack them (ex, Cherries).
 
Food within the sack still has a spoilage rating and will still rot, but the entire container can be placed into a [[freezer]] and will be preserved like any other food. The only advantage to doing so is that combining the items into their sack form will set the spoil rate of all items to the same (appears to be an average of, further testing required).
 
{| class="wikitable theme-red sortable"
|+ Sack of 'x'
|-
! Food !! Encumbrance<br>in sack form !! Capacity !! Loose encumbrance
|-
| [[Apple]] || 2.0 || 12 || 2.4
|-
| [[Bell Pepper]] || 2.0 || 12 || 2.4
|-
| [[Broccoli]] || 2.0 || 12 || 2.4
|-
| [[Cabbage]] || 2.0 || 8 || ''<span style="color: #ff0000">1.6</span>''
|-
| [[Carrot]] || 2.0 || 12 || 2.4
|-
| [[Cherry]] || 2.0 || 16 || '''4.8'''
|-
| [[Corn]] || 2.0 || 12 || 2.4
|-
| [[Eggplant]] || 2.0 || 12 || 2.4
|-
| [[Grapes]] || 2.0 || 12 || 2.4
|-
| [[Leek]] || 2.0 || 12 || 2.4
|-
|-
!Building/Room
| [[Lettuce]] || 2.0 || 8 || ''<span style="color: #ff0000">1.6</span>''
!Container
!Rolls
!Chance
|-
|-
|All
| [[Onion]] || 2.0 || 12 || 2.4
|[[Containers#Crates|Crate]]
|1
|2.5
|-
|-
|Farm Storage
| [[Peach]] || 2.0 || 12 || 2.4
|[[Containers|All]]
|3
|3
|-
|-
|Fishing Storage
| [[Pear]] || 2.0 || 12 || 2.4
|[[Containers#Crates|Crate]]
|10
|1
|-
|-
|Garage Storage
| [[Potato]] || 2.0 || 12 || 2.4
|[[Containers|All]]
|2
|2
|-
|-
|Grocery
| [[Radish]] || 2.0 || 12 || ''<span style="color: #ff0000">1.2</span>''
|[[Containers#Counters|Counter]]
|4
|4
|-
|-
|Grocery Storage
| [[Strawberry]] || 2.0 || 16 || ''<span style="color: #ff0000">1.6</span>''
|[[Containers|Other]]
|3
|3
|-
|-
|Logging Factory
| [[Tomato]] || 2.0 || 12 || 2.4
|[[Containers#Crates|Crate]]
|}
|1
 
|2.5
==Distribution==
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;"
! colspan="4" | Containers
|-
|-
|Shed
! Building/Room
|[[Containers#Counters|Counter]]
! Container
|1
! style="width: 3.2em;" | Rolls
|3
! style="width: 3.2em;" | Chance
|-
|-
|Storage Unit
|farmstorage
|[[Containers|All]]
|[[crate]]
|3
|4
|2
|2
|-
|-
|Tool Store
|toolstore
|[[Containers#Shelves|Shelves]]
|[[counter]]
|5
|4
|2
|2
|-
|}
|}


===Vehicles===
===Vehicles===
{| class="wikitable" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
|-
|-
!Profession
!Profession
Line 94: Line 107:
!Chance
!Chance
|-
|-
|Construction Worker
|[[Occupation#Construction Worker|Construction Worker]]
|[[Trunk]]
|[[Trunk]]
|5
|5
Line 101: Line 114:
|}
|}


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=6}}
| {{CodeSnip
<pre> item EmptySandbag
  | lang = java
Weight = 0.1,
  | line = true
Type = Container,
  | start = 342
WeightReduction = 10,
  | source = clothing_bags.txt
Capacity = 15,
  | retrieved = true
DisplayName = Sack,
  | version = 41.78.16
Icon = SandbagEmpty,</pre>
  | code =
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,
    }
}}
}}
 
==See also==
*[[Bags]]
*[[Farming]]
*[[Carpentry]]
 
{{Navbox items|containers}}


== See also ==
* [[Items#Baggage|Other Baggage Items]]
* [[Farming|Farming Guide]]
* [[Carpentry|Carpentry Guide]]


{{Navbox/Baggage}}
[[Category:Farming tools]]
[[Category:Tools]]

Revision as of 07:20, 15 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]
Sack
SandbagEmpty Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1 (empty)
13.53 (full)
Equipped
One-handed
Properties
Capacity
15
Run speed
99% (disabled)
Technical
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.

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.

Filling with food

Several foods can be stored in a sack and converted into an item with a unique name and a carry weight of 2.0: regardless of contents. This is similar to making a box of nails in that it combines the items; However, unlike the box of nails it does require the sack container.

In some cases, the items would weight less unpacked (ex, Cabbage) while in others it would be more beneficial to sack them (ex, Cherries).

Food within the sack still has a spoilage rating and will still rot, but the entire container can be placed into a freezer and will be preserved like any other food. The only advantage to doing so is that combining the items into their sack form will set the spoil rate of all items to the same (appears to be an average of, further testing required).

Sack of 'x'
Food Encumbrance
in sack form
Capacity Loose encumbrance
Apple 2.0 12 2.4
Bell Pepper 2.0 12 2.4
Broccoli 2.0 12 2.4
Cabbage 2.0 8 1.6
Carrots 2.0 12 2.4
Cherry 2.0 16 4.8
Corn 2.0 12 2.4
Eggplant 2.0 12 2.4
Grapes 2.0 12 2.4
Leek 2.0 12 2.4
Lettuce 2.0 8 1.6
Onion 2.0 12 2.4
Peach 2.0 12 2.4
Pear 2.0 12 2.4
Potato 2.0 12 2.4
Radish 2.0 12 1.2
Strawberries 2.0 16 1.6
Tomato 2.0 12 2.4

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
farmstorage crate 4 2
toolstore counter 4 2

Vehicles

Profession Container Rolls Chance
Construction Worker Trunk 5 2

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

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,
    }

See also