Dirt Bag: Difference between revisions

From PZwiki
m (changed shovel link)
m (minor)
 
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<!--this section is for the infobox which will be positioned on the right of the page. Image.png is the default question mark image-->
{{Header|Project Zomboid|Items|Materials|Farming materials}}
{{languages|Dirt Bag}}
{{Page version|41.78.16}}
{{VersionNotice|version=2.9.9.17(11)}}
{{Infobox item
{{Items
|name=Dirt Bag
|image = Sandbag.png
|model=Sandbag_Model.png
|weight = 2.0
|icon=Sandbag.png
}} <!--/infobox-->
|icon_name=Dirt Bag
A '''dirt bag''' is used to spread dirt over a tile, allowing the tile to be [[Trowel|tilled]] for [[Farming|farming]], and preventing further grass from growing. A [[sack]] can be filled by right-clicking a patch of grass with both the [[Empty Sand Bag|sack]] and a [[shovel]] in the player's inventory, and using the action "Take some Dirt > Sack". Bags can be filled with 4 'tiles' of dirt, then spilled on the ground afterwards by right-clicking a ground tile, and selecting "Pour out Dirt > Dirt Bag".
|weight=2
|primary_use=Spilling dirt
|max_units=4
|contents=Dirt
|item_id=Base.Dirtbag
}}
A '''dirt bag''' is a [[sack]] that has been filled with dirt.


[[Category:items]]
==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 [[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 [[Knox Country|world]] and can only be obtained by filling a sack with dirt using a [[shovel]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1207
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
*[[Gravel 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