Gardening Spray Can: Difference between revisions

From PZwiki
m (lowercase build)
m (Remove lines))
 
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Equipment|Tools|Farming tools}}
{{Header|The Game World|Items|Tools|Farming Tools|type=Tool|version=Version 41|incver=65}}
{{Page version|41.65}}
{{Infobox drainable
{{Infobox item
|display_name=Gardening Spray Can
|name=Gardening Spray Can
|name_colour=Tool
|model=GardenSpray_Model.png
|name_text_colour=Tool
|icon=TZ_GardeningSprayCan.png
|image=GardenSpray Model.png
|icon_name=Gardening Spray Can
|image_width=200px
|alternate_image=TZ_GardeningSprayCan.png
|alternate_name=Gardening Spray Can
|alternate_link=
|weight='''Empty:''' 0.3<br>'''Full:''' 1.0
|weight='''Empty:''' 0.3<br>'''Full:''' 1.0
|function=[[Cooking]] utensil
|function=[[Cooking]] utensil
Line 16: Line 12:
|can_boil_water=False
|can_boil_water=False
|rain_factor=0.2
|rain_factor=0.2
|class_name=Base.GardeningSprayEmpty<br>Base.GardeningSprayFull
|item_id=farming.GardeningSprayEmpty<br>farming.GardeningSprayFull
}}
}}
A '''gardening spray can''' is a [[water]] container used in [[farming]].
A '''gardening spray can''' is a [[water]] container used in [[farming]].
Line 22: Line 18:
==Usage==
==Usage==
===Water storage===
===Water storage===
The gardening spray can be used to have the highest water capacity, holding up to 40 units of water, which is equal to the [[Watering Can|watering can]].
The gardening spray can hold up to 10 units of water.


As of build 41, this is no longer the case and now holds 10 units of water.
Prior to build 41, it held 40 units of water – equal to the [[Watering Can|watering can]], which has the highest water capacity in the game.


===Farming===
===Farming===
Line 30: Line 26:


====Pesticides====
====Pesticides====
A gardening spray can is required to make pesticides.  
A gardening spray can is required to make pesticides.


;[[Mildew Spray]]: Mildew causes plants to mature slower. Affected plants can be treated with mildew spray to counteract this. With a gardening spray can and [[milk]] (fresh or rotten) in the main inventory, right-click on either item to show the option to "Create Mildew Cure".  
;[[Mildew Spray]]: Mildew causes plants to mature slower. Affected plants can be treated with mildew spray to counteract this. With a gardening spray can and [[milk]] (fresh or rotten) in the main inventory, right-click on either item to show the option to "Create Mildew Cure".


;[[Insecticide Spray]]: Pest flies cause a growing plant to consume more water; affected plants will need considerably more water and attention. This can be cured by making an insecticide spray by placing a gardening spray can, five [[cigarettes]] and three units of [[water]] in your main inventory; right-click on an ingredient to show the option "Create Flies Cure".
;[[Insecticide Spray]]: Pest flies cause a growing plant to consume more water; affected plants will need considerably more water and attention. This can be cured by making an insecticide spray by placing a gardening spray can, five [[cigarettes]] and three units of [[water]] in your main inventory; right-click on an ingredient to show the option "Create Flies Cure".
Line 39: Line 35:
===Making pesticides===
===Making pesticides===
Either the gardening [[trait]] or the farmer [[occupation]] is required to craft these items.
Either the gardening [[trait]] or the farmer [[occupation]] is required to craft these items.
{{Crafting header|ing=3}}
{{Crafting/sandbox2
{{Crafting farming|001|ing=3}}
|insecticide_spray
{{Crafting farming|002|ing=3}}
|mildew_spray
|}
}}


==Distribution==
==Distribution==
Line 48: Line 44:


==Code==
==Code==
'''''From farming.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:TZ_GardeningSprayCan.png]] {{ID|farming.GardeningSprayEmpty}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 661
  | source = farming.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item GardeningSprayEmpty
  {
      DisplayCategory = Gardening,
  Type = Normal,
  DisplayName = Gardening Spray Can (Empty),
  Icon = TZ_GardeningSprayCan,
  Weight = 0.3,
  ReplaceOnUseOn  = WaterSource-GardeningSprayFull,
CanStoreWater = true,
StaticModel = GardenSpray,
WorldStaticModel = GardenSprayGround,
SurvivalGear = TRUE,
  }
}}


''Gardening Spray Can (Empty)'' [[File:TZ_GardeningSprayCan.png]]
[[File:TZ_GardeningSprayCan.png]] {{ID|farming.GardeningSprayFull}}<br>
{{Retrieved|version=41|incver=65}}
{{CodeSnip
<pre>
  | lang = java
item GardeningSprayEmpty
  | line = true
          DisplayCategory        = Gardening,
  | start = 675
  Type = Normal,
  | source = farming.txt
  DisplayName = Gardening Spray Can (Empty),
  | retrieved = true
  Icon = TZ_GardeningSprayCan,
  | version = 41.78.16
  Weight         = 0.3,
  | code =
  ReplaceOnUseOn  = WaterSource-GardeningSprayFull,
item GardeningSprayFull
CanStoreWater = true,
{
StaticModel            = GardenSpray,
    DisplayCategory = Gardening,
WorldStaticModel        = GardenSprayGround,
Type = Drainable,
SurvivalGear            = TRUE,
DisplayName = Gardening Spray Can (Full),
</pre>
Icon = TZ_GardeningSprayCan,
 
Weight = 1.0,
''Gardening Spray Can (Full)'' [[File:TZ_GardeningSprayCan.png]]
    UseDelta = 0.1,
{{Retrieved|version=41|incver=65}}
    ReplaceOnUseOn = WaterSource-GardeningSprayFull,
<pre>
    ReplaceOnDeplete = GardeningSprayEmpty,
item GardeningSprayFull
    IsWaterSource = true,
        DisplayCategory         = Gardening,
CanStoreWater = true,
Type = Drainable,
FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
DisplayName = Gardening Spray Can (Full),
FillFromTapSound = GetWaterFromTapPlasticMedium,
Icon = TZ_GardeningSprayCan,
UseWhileEquipped =     false,
Weight = 1.0,
StaticModel = GardenSpray,
            UseDelta = 0.1,
WorldStaticModel = GardenSprayGround,
            ReplaceOnUseOn = WaterSource-GardeningSprayFull,
Tooltip = Tooltip_item_OnlyPurifyMicrowave,
            ReplaceOnDeplete = GardeningSprayEmpty,
}
            IsWaterSource = true,
}}
CanStoreWater = true,
}}
UseWhileEquipped = false,
StaticModel             = GardenSpray,
WorldStaticModel       = GardenSprayGround,
</pre>


==See also==
==See also==
*[[Trowel]]
*[[Trowel]]


{{Navbox equipment}}
{{Navbox items|containers}}
{{Navbox food}}
 
 


[[Category:Farming]]
[[Category:Water containers]]
[[Category:Tools]]

Latest revision as of 06:58, 15 April 2024

Project ZomboidItemsEquipmentToolsFarming toolsGardening Spray Can
Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Gardening Spray Can
GardenSpray Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
Empty: 0.3
Full: 1.0
Function
Cooking utensil
Properties
Contents
Water
Capacity
10 units
Can boil water
False
Rain factor
0.2
Technical
Item ID
farming.GardeningSprayEmpty
farming.GardeningSprayFull

A gardening spray can is a water container used in farming.

Usage

Water storage

The gardening spray can hold up to 10 units of water.

Prior to build 41, it held 40 units of water – equal to the watering can, which has the highest water capacity in the game.

Farming

Main article: Farming

Pesticides

A gardening spray can is required to make pesticides.

Mildew Spray
Mildew causes plants to mature slower. Affected plants can be treated with mildew spray to counteract this. With a gardening spray can and milk (fresh or rotten) in the main inventory, right-click on either item to show the option to "Create Mildew Cure".
Insecticide Spray
Pest flies cause a growing plant to consume more water; affected plants will need considerably more water and attention. This can be cured by making an insecticide spray by placing a gardening spray can, five cigarettes and three units of water in your main inventory; right-click on an ingredient to show the option "Create Flies Cure".

Crafting

Making pesticides

Either the gardening trait or the farmer occupation is required to craft these items.

Product Ingredients Tools Requirements Workstation XP
TZ GardeningSprayCan.png
Insecticide Spray
TZ GardeningSprayCan.png Gardening Spray Can (Empty) ×1
WaterDrop.png Water ×3 unit(s)
IckySticks.png Cigarettes ×5
none
Profession farmer2.png
Farmer occupation
(or)
MagazineFish.png
The Farming Magazine
none none
TZ GardeningSprayCan.png
Mildew Spray
TZ GardeningSprayCan.png Gardening Spray Can (Empty) ×1
Milk.png Milk ×1
none
Profession farmer2.png
Farmer occupation
(or)
MagazineFish.png
The Farming Magazine
none none

Distribution

Only empty gardening spray cans can be found in the world, inside garages, crates, sheds and rare chances of being found in a kitchen and in the bodies of former farmers who succumbed to the Knox infection.

Code

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

TZ GardeningSprayCan.png farming.GardeningSprayEmpty
Source: ProjectZomboid\media\scripts\farming.txt

Retrieved: Build 41.78.16
item GardeningSprayEmpty
  	{
  	    DisplayCategory = Gardening,
   		Type 				= 		Normal,
   		DisplayName 		= 		Gardening Spray Can (Empty),
   		Icon 				= 		TZ_GardeningSprayCan,
   		Weight 				= 		0.3,
   		ReplaceOnUseOn  	=		WaterSource-GardeningSprayFull,
		CanStoreWater		=		true,
		StaticModel = GardenSpray,
		WorldStaticModel = GardenSprayGround,
		SurvivalGear = TRUE,
  	}

TZ GardeningSprayCan.png farming.GardeningSprayFull
Source: ProjectZomboid\media\scripts\farming.txt

Retrieved: Build 41.78.16
item GardeningSprayFull
	{
	    DisplayCategory = Gardening,
		Type				=		Drainable,
		DisplayName			=		Gardening Spray Can (Full),
		Icon				=		TZ_GardeningSprayCan,
		Weight				=		1.0,
    	UseDelta			=		0.1,
    	ReplaceOnUseOn 		= 		WaterSource-GardeningSprayFull,
    	ReplaceOnDeplete 	= 		GardeningSprayEmpty,
    	IsWaterSource		=		true,
		CanStoreWater		=		true,
		FillFromDispenserSound = GetWaterFromDispenserPlasticMedium,
		FillFromTapSound = GetWaterFromTapPlasticMedium,
		UseWhileEquipped	=	    false,
		StaticModel = GardenSpray,
		WorldStaticModel = GardenSprayGround,
		Tooltip = Tooltip_item_OnlyPurifyMicrowave,
	}

See also