Dirt Bag: Difference between revisions

From PZwiki
mNo edit summary
m (minor)
 
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Dirt Bag}}
{{Header|Project Zomboid|Items|Materials|Farming materials}}
{{header|The Game World|Items|type=Construction|version=Version 39|incver=67.5}}{{Infobox drainable
{{Page version|41.78.16}}
|display_name = Dirt Bag
{{Infobox item
|name_colour = Construction
|name=Dirt Bag
|name_text_colour = Construction
|model=Sandbag_Model.png
|image = Sandbag.png
|icon=Sandbag.png
|weight = 2
|icon_name=Dirt Bag
|primary_use = Spilling dirt
|weight=2
|max_units = 4
|primary_use=Spilling dirt
|contents = Dirt
|max_units=4
|class_name = Base.Dirtbag
|contents=Dirt
}}A '''dirt bag''' is a [[sack]] that has been filled with dirt.
|item_id=Base.Dirtbag
}}
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|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==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=39|incver=67.5}}
| {{CodeSnip
<nowiki> item Dirtbag
  | lang = java
Weight = 2,
  | line = true
Type = Drainable,
  | start = 1207
UseWhileEquipped = FALSE,
  | source = items.txt
UseDelta = 0.25,
  | retrieved = true
DisplayName = Dirt Bag,
  | version = 41.78.16
Icon = Dirtbag,
  | code =
ReplaceOnDeplete = EmptyDirtbag,</nowiki>
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==
==See also==
*[[Gravel Bag]]
*[[Gravel Bag]]
*[[Sand Bag]]
*[[Sand Bag]]
*[[Carpentry]]


[[Category:items]]
{{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