Compost Bag

From PZwiki
(Redirected from Compost Bag)
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Compost Bag
Compost Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
2.0
Function
Fertilizing crops
Properties
Contents
Compost
Capacity
4.0 units
Technical
Item ID
CompostBag

A compost bag is a drainable item that can be used to fertilize player grown crops. A compost bag can be used 4 times before it is drained. Once the compost bag is drained, an empty Sack is left. The sack can be used to create another Compost Bag from a composter as long as the Composter is at least 10% full.

Usage

The player can use a compost bag to fertilize crops to increase the rate at which crops grow. The player can fertilize a crop multiple times, but if fertilized too many times, the plant may rot.

It is possible to use the empty sack as a container afterward.

Distribution

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

CompostBag 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
Farmer crate 3.98%
Farmer metal_shelves 3.98%
closet crate 3.98%
factory crate 3.98%
factory metal_shelves 3.98%
farmstorage crate 3.98%
farmstorage metal_shelves 3.98%
garagestorage crate 3.98%
generalstore metal_shelves 3.98%
generalstore shelves 3.98%
generalstorestorage metal_shelves 3.98%
generalstorestorage shelves 3.98%
gigamart shelves 3.98%
shed crate 3.98%
storageunit crate 3.98%
storageunit metal_shelves 3.98%
toolstore metal_shelves 3.98%
toolstore shelves 3.98%
toolstorestorage metal_shelves 3.98%
warehouse crate 3.98%
warehouse metal_shelves 3.98%
Vehicles
Type Container Effective chance
Farmer Trunk 23.28%

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item CompostBag
    {
        DisplayCategory = Gardening,
        Type				=		Drainable,
        DisplayName			=		Compost Bag,
        Icon				=		Compost,
        Weight				=		2.0,
        UseDelta			=		0.25,
        UseWhileEquipped	=	    false,
        ReplaceOnDeplete	=	EmptySandbag,
        Tooltip = Tooltip_Fertilizer,
        SurvivalGear = TRUE,
        ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
        WorldStaticModel = CompostBag,
    }

See also