Sack: Difference between revisions

From PZwiki
No edit summary
(Update distribution file)
 
(58 intermediate revisions by 15 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Equipment|Handheld containers}}
{{languages|Empty Sand Bag}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Baggage|version=Version 37|incver=13}}
{{Infobox item
|name=Sack
|model=SandbagEmpty_Model.png
|icon=SandbagEmpty.png
|icon_name=Sack
|equipped=One-handed
|weight=0.1
|capacity=15
|weight_reduction=10
|run_speed=0.99
|item_id=Base.EmptySandbag
}}
A '''sack''', previously called an '''empty sand bag''', is a container [[Items|item]].


{{Items
==Usage==
| image = BAGEmptySandBag.png
===Container===
| weight = 0.1
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===
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 [[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]] 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.
 
''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]].
 
===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.


==Description==
In some cases, the items would weight less unpacked (ex, Cabbage) while in others it would be more beneficial to sack them (ex, Cherries).
An Empty Sand Bag can be filled with dirt to create a [[Dirt Bag]]. A dirt bag is used to spread dirt over a tile, allowing the tile to be [[Trowel|tilled]] for [[Farming|farming]]. A sand bag can be filled by right-clicking a patch of grass with both the Empty Sand Bag and a [[Spade]] in the player's inventory, and using the action "Take Dirt > Empty Sand Bag".


There seems to be some difficulty with this function as several players are reporting it doesn't work.
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 sortable" style="text-align:center"
{| class="wikitable theme-red sortable"
|+ Sack of 'x'
|-
|-
! class="unsortable" | Item
! Food !! Encumbrance<br>in sack form !! Capacity !! Loose encumbrance
! class="unsortable" | Description
! class="sortable" | Weight
! class="sortable" | Weight Reduction
! class="sortable" | Capacity
! class="unsortable" | Classname
|-
|-
| [[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
|-
| [[Lettuce]] || 2.0 || 8 || ''<span style="color: #ff0000">1.6</span>''
|-
| [[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 || ''<span style="color: #ff0000">1.2</span>''
|-
| [[Strawberry]] || 2.0 || 16 || ''<span style="color: #ff0000">1.6</span>''
|-
| [[Tomato]] || 2.0 || 12 || 2.4
|}
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|EmptySandbag|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>EmptySandbag distribution
        <span class="mw-customtoggle-togglebox-EmptySandbag" 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-EmptySandbag">
    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:50%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|crate}}
    | 0.53%
    |-
    | burgerkitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | cafeteriakitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | deepfry_kitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | dinerkitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | farmstorage
    | {{ll|crate}}
    | 6.29%
    |-
    | farmstorage
    | {{ll|metal_shelves}}
    | 6.29%
    |-
    | fishchipskitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | jayschicken_kitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | kitchen_crepe
    | {{ll|counter}}
    | 12.41%
    |-
    | restaurantkitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | seafoodkitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | spiffoskitchen
    | {{ll|counter}}
    | 12.41%
    |-
    | toolstore
    | {{ll|counter}}
    | 6.29%
    |-
    | toolstore
    | {{ll|shelves}}
    | 6.29%
    |-
    | westernkitchen
    | {{ll|counter}}
    | 12.41%
    |}
</div>
<div id="vehicles" style="flex-basis:50%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
        |-
        | Ambulance
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Carpenter
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Clothing
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Construction Worker
        | {{ll|Truck Bed}}
        | 23.28%
        |-
        | Distillery
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Doctor
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Electrician
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Farmer
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Fire
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Fisherman
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Fossoil
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Golf
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Groceries
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Heralds
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Mass Gen Fac
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | McCoy
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Metal Welder
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Painter
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Police
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Postal
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Ranger
        | {{ll|Truck Bed}}
        | 23.28%
        |-
        | Ranger
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Survivalist
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Taxi
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Transit
        | {{ll|Truck Bed}}
        | 10.78%
        |-
        | Heavy
        | {{ll|Trunk}}
        | 10.78%
        |-
        | Sports
        | {{ll|Trunk}}
        | 10.78%
        |-
        | Standard
        | {{ll|Trunk}}
        | 10.78%
        |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-EmptySandbag" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|EmptySandbag|41.78.16-->


| [[File:BAGEmptySandBag.png|32px|link=Empty Sand Bag]] <br> [[Empty Sand Bag]]
===Vehicles===
| -
{| class="wikitable theme-red" style="text-align:center;"
| 0.1
|-
| 10
!Profession
| 15
!Container
| Base.EmptySandbag
!Rolls
!Chance
|-
|[[Occupation#Construction Worker|Construction Worker]]
|[[Trunk]]
|5
|2
|-
|}
|}


==Code==
==Code==
<nowiki>item EmptySandbag
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 342
  | source = clothing_bags.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item EmptySandbag
     {
     {
        DisplayCategory = Container,
         Weight = 0.1,
         Weight = 0.1,
         Type = Container,
         Type = Container,
         WeightReduction = 10,
         WeightReduction = 10,
         Capacity = 15,
         Capacity = 15,
         DisplayName = Empty Sand bag,
         DisplayName = Sack,
         Icon = SandbagEmpty,
         Icon = SandbagEmpty,
     }</nowiki>
        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}}
 


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

Latest revision as of 05:33, 30 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.

EmptySandbag distribution Show / Hide
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.
Containers
Building/Room Container Effective chance
all crate 0.53%
burgerkitchen counter 12.41%
cafeteriakitchen counter 12.41%
deepfry_kitchen counter 12.41%
dinerkitchen counter 12.41%
farmstorage crate 6.29%
farmstorage metal_shelves 6.29%
fishchipskitchen counter 12.41%
jayschicken_kitchen counter 12.41%
kitchen_crepe counter 12.41%
restaurantkitchen counter 12.41%
seafoodkitchen counter 12.41%
spiffoskitchen counter 12.41%
toolstore counter 6.29%
toolstore shelves 6.29%
westernkitchen counter 12.41%
Vehicles
Type Container Effective chance
Ambulance Trunk 10.78%
Carpenter Trunk 10.78%
Clothing Trunk 10.78%
Construction Worker Trunk 23.28%
Distillery Trunk 10.78%
Doctor Trunk 10.78%
Electrician Trunk 10.78%
Farmer Trunk 10.78%
Fire Trunk 10.78%
Fisherman Trunk 10.78%
Fossoil Trunk 10.78%
Golf Trunk 10.78%
Groceries Trunk 10.78%
Heralds Trunk 10.78%
Mass Gen Fac Trunk 10.78%
McCoy Trunk 10.78%
Metal Welder Trunk 10.78%
Painter Trunk 10.78%
Police Trunk 10.78%
Postal Trunk 10.78%
Ranger Trunk 23.28%
Ranger Trunk 10.78%
Survivalist Trunk 10.78%
Taxi Trunk 10.78%
Transit Trunk 10.78%
Heavy Trunk 10.78%
Sports Trunk 10.78%
Standard Trunk 10.78%

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