Dirt Bag: Difference between revisions

From PZwiki
m (Minor)
m (minor)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Materials|Farming materials}}
{{Header|Project Zomboid|Items|type=Construction|version=Version 41|incver=65}}
{{Page version|41.78.16}}
{{Infobox drainable
{{Infobox item
|display_name = Dirt Bag
|name=Dirt Bag
|name_colour = Construction
|model=Sandbag_Model.png
|name_text_colour = Construction
|icon=Sandbag.png
|image = Sandbag_Model.png  
|icon_name=Dirt Bag
|alternate_image = Sandbag.png
|weight=2
|alternate_name = Dirt Bag
|primary_use=Spilling dirt
|weight = 2
|max_units=4
|primary_use = Spilling dirt
|contents=Dirt
|max_units = 4
|item_id=Base.Dirtbag
|contents = Dirt
|class_name = Base.Dirtbag
}}
}}
A '''dirt bag''' is a [[sack]] that has been filled with dirt.
A '''dirt bag''' is a [[sack]] that has been filled with dirt.


==Usage==
==Usage==
A dirt bag is used to spill dirt on the ground, allowing the tile to be [[Trowel|tilled]] for [[farming]], and preventing further grass from growing.  
A dirt bag is used to spill dirt on the ground, allowing the tile to be [[Trowel|tilled]] for [[farming]], and preventing further grass from growing. A [[sack]] can be filled by right-clicking a patch of grass or dirt with both the [[sack]] and a [[shovel]] in the player's inventory, and using the action "Take some Dirt > Sack".


A dirt bag can have up to 4 tiles of dirt. To fill a dirt bag with more dirt, a [[shovel]] must be in the player's main inventory, then a patch of grass or dirt can be right-clicked, followed by using the action "Take some Dirt > Dirt Bag".
A dirt bag can have up to 4 tiles of dirt. To fill a dirt bag with more dirt, a [[shovel]] must be in the player's main inventory, then a patch of grass or dirt can be right-clicked, followed by using the action "Take some Dirt > Dirt Bag".


==Distribution==
==Distribution==
A dirt bag cannot be found in the [[Knox Country|world]] and can only be obtained by filling a sack with dirt using a [[shovel]]. A [[sack]] can be filled by right-clicking a patch of grass or dirt with both the [[sack]] and a [[shovel]] in the player's inventory, and using the action "Take some Dirt > Sack".
A dirt bag cannot be found in the [[Knox Country|world]] and can only be obtained by filling a sack with dirt using a [[shovel]].


==Code==
==Code==
Line 28: Line 26:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 1207
   | source = items.txt
   | source = items.txt
   | retrieved = true
   | retrieved = true
   | version = 41.65
   | version = 41.78.16
   | code =
   | code =
item Dirtbag
item Dirtbag
{
{
    DisplayCategory     = Material,
    DisplayCategory = Material,
    Weight             = 2,
Weight = 2,
    Type               = Drainable,
Type = Drainable,
    UseWhileEquipped   = FALSE,
UseWhileEquipped = FALSE,
    UseDelta           = 0.25,
UseDelta = 0.25,
    DisplayName         = Dirt Bag,
DisplayName = Dirt Bag,
    Icon               = Sandbag,
Icon = Sandbag,
    ReplaceOnDeplete   = EmptySandbag,
ReplaceOnDeplete = EmptySandbag,
    ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
    ReplaceInPrimaryHand= Bag_Sandbag_RHand holdingbagright,
ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
    WorldStaticModel   = DirtBag_Ground,
WorldStaticModel = DirtBag_Ground,
    Tooltip             = Tooltip_item_empty_sack_container,
        Tooltip = Tooltip_item_empty_sack_container,
}
}
  }}
}}
}}
}}


Line 54: Line 53:
*[[Gravel Bag]]
*[[Gravel Bag]]
*[[Sand Bag]]
*[[Sand Bag]]
*[[Carpentry]]
{{Navbox items|carpentry_materials}}
[[Category:Materials]]
[[Category:Spiffo's Construction Crew (Project)]]

Latest revision as of 18:41, 19 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]
Dirt Bag
Sandbag Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
2
Function
Spilling dirt
Properties
Contents
Dirt
Capacity
4 units
Technical
Item ID
Base.Dirtbag

A dirt bag is a sack that has been filled with dirt.

Usage

A dirt bag is used to spill dirt on the ground, allowing the tile to be tilled for farming, and preventing further grass from growing. A sack can be filled by right-clicking a patch of grass or dirt with both the sack and a shovel in the player's inventory, and using the action "Take some Dirt > Sack".

A dirt bag can have up to 4 tiles of dirt. To fill a dirt bag with more dirt, a shovel must be in the player's main inventory, then a patch of grass or dirt can be right-clicked, followed by using the action "Take some Dirt > Dirt Bag".

Distribution

A dirt bag cannot be found in the world and can only be obtained by filling a sack with dirt using a shovel.

Code

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

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Dirtbag
	{
	    DisplayCategory = Material,
		Weight	=	2,
		Type	=	Drainable,
		UseWhileEquipped	=	FALSE,
		UseDelta	=	0.25,
		DisplayName	=	Dirt Bag,
		Icon	=	Sandbag,
		ReplaceOnDeplete	=	EmptySandbag,
		ReplaceInSecondHand = Bag_Sandbag_LHand holdingbagleft,
		ReplaceInPrimaryHand = Bag_Sandbag_RHand holdingbagright,
		WorldStaticModel = DirtBag_Ground,
        Tooltip = Tooltip_item_empty_sack_container,
	}

See also