Gardening Spray Can: Difference between revisions

From PZwiki
(combined infobox)
(Add distro table)
 
(42 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{languages|Gardening_Spray_Can}}
{{Header|Project Zomboid|Items|Equipment|Tools|Farming tools}}
{{header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=11}}{{Infobox drainable
{{Page version|41.65}}
|display_name=Gardening Spray Can
{{Infobox item
|name_colour=Tool
|name=Gardening Spray Can
|name_text_colour=Tool
|model=GardenSpray_Model.png
|image=TZ_GardeningSprayCan_120px.png
|icon=TZ_GardeningSprayCan.png
|alternate_image=TZ_GardeningSprayCan.png
|icon_name=Gardening Spray Can
|alternate_name=Gardening Spray Can (Full)
|alternate_link=
|weight='''Empty:''' 0.3<br>'''Full:''' 1.0
|weight='''Empty:''' 0.3<br>'''Full:''' 1.0
|function=[[Cooking]] utensil
|function=[[Cooking]] utensil
|max_units=40
|max_units=10
|contents=Water
|contents=Water
|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]].


==Usage==
==Usage==
===Water Storage===
===Water storage===
A gardening spray can has 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.
 
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===
{{Main|Farming}}
{{Main|Farming}}
Due to its large storage capacity and low weight, the gardening spray can is ideal for watering crops.


====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 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 34: Line 34:
==Crafting==
==Crafting==
===Making pesticides===
===Making pesticides===
Either the gardening [[trait]] or the farmer [[occupation]] are required to craft these items.
Either the gardening [[trait]] or the farmer [[occupation]] is required to craft these items.
{{Farming table header}}
{{Crafting/sandbox2
{{RecipeLookup|5016}}
|insecticide_spray
{{RecipeLookup|5017}}
|mildew_spray
{{Crafting table footer}}
}}


==Distribution==
==Distribution==
Only empty gardening spray cans can be found in the [[Knox County|world]], inside garages, [[Containers#Crates|crates]], and sheds.
Only empty gardening spray cans can be found in the [[Knox Country|world]], inside garages, [[Containers#Crates|crates]], sheds and rare chances of being found in a kitchen and in the bodies of former farmers who succumbed to the Knox infection.
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|GardeningSprayEmpty|41.78.16-->
'''''From farming.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
<div class="togglebox theme-red">
    <div>GardeningSprayEmpty distribution
        <span class="mw-customtoggle-togglebox-GardeningSprayEmpty" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-GardeningSprayEmpty">
    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.   <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis: 30%;">
    {| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Farmer
    | {{ll|crate}}
    | 15.1%
    |-
    | Farmer
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | closet
    | {{ll|crate}}
    | 15.1%
    |-
    | closet
    | {{ll|crate}}
    | 23.28%
    |-
    | factory
    | {{ll|crate}}
    | 15.1%
    |-
    | factory
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | farmstorage
    | {{ll|crate}}
    | 15.1%
    |-
    | farmstorage
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | garagestorage
    | {{ll|crate}}
    | 15.1%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | gardenstore
    | {{ll|counter}}
    | 23.28%
    |-
    | gardenstore
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | gardenstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstore
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | generalstore
    | {{ll|shelves}}
    | 15.1%
    |-
    | generalstorestorage
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 15.1%
    |-
    | gigamart
    | {{ll|shelves}}
    | 15.1%
    |-
    | kitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | livingroom
    | {{ll|counter}}
    | 15.1%
    |-
    | producestorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | shed
    | {{ll|crate}}
    | 15.1%
    |-
    | storageunit
    | {{ll|crate}}
    | 15.1%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | toolstore
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | toolstore
    | {{ll|shelves}}
    | 15.1%
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 15.1%
    |-
    | warehouse
    | {{ll|crate}}
    | 15.1%
    |-
    | warehouse
    | {{ll|metal_shelves}}
    | 15.1%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-GardeningSprayEmpty" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|GardeningSprayEmpty|41.78.16-->


''Gardening Spray Can (Empty)'' [[File:TZ_GardeningSprayCan.png]]
==Code==
{{Retrieved|version=40|incver=11}}
{{CodeBox|[[File:TZ_GardeningSprayCan.png]] {{ID|farming.GardeningSprayEmpty}}<br>
<nowiki> item GardeningSprayEmpty
{{CodeSnip
   Type = Normal,
  | lang = java
   DisplayName = Gardening Spray Can (Empty),
  | line = true
   Icon = TZ_GardeningSprayCan,
  | start = 661
   Weight = 0.3,
  | source = farming.txt
   ReplaceOnUseOn  = WaterSource-GardeningSprayFull,
  | retrieved = true
CanStoreWater = true,</nowiki>
  | 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 (Full)'' [[File:TZ_GardeningSprayCan.png]]
[[File:TZ_GardeningSprayCan.png]] {{ID|farming.GardeningSprayFull}}<br>
{{Retrieved|version=40|incver=11}}
{{CodeSnip
<nowiki> item GardeningSprayFull
  | lang = java
Type = Drainable,
  | line = true
DisplayName = Gardening Spray Can (Full),
  | start = 675
Icon = TZ_GardeningSprayCan,
  | source = farming.txt
Weight = 1.0,
  | retrieved = true
    UseDelta = 0.025,
  | version = 41.78.16
    ReplaceOnUseOn = WaterSource-GardeningSprayFull,
  | code =
    ReplaceOnDeplete = GardeningSprayEmpty,
item GardeningSprayFull
    IsWaterSource = true,
{
CanStoreWater = true,
    DisplayCategory = Gardening,
UseWhileEquipped = false,</nowiki>
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==
==See also==
*[[Trowel]]
*[[Trowel]]


{{Navbox/Tools}}
{{Navbox items|containers}}
[[Category:Farming]]
 
 
 
[[Category:Water containers]]
[[Category:Tools]]

Latest revision as of 15:05, 4 May 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. The loot distributions can be found in the table(s) below.

GardeningSprayEmpty 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 15.1%
Farmer metal_shelves 15.1%
closet crate 15.1%
closet crate 23.28%
factory crate 15.1%
factory metal_shelves 15.1%
farmstorage crate 15.1%
farmstorage metal_shelves 15.1%
garagestorage crate 15.1%
garagestorage crate 23.28%
gardenstore counter 23.28%
gardenstore metal_shelves 23.28%
gardenstore shelves 23.28%
generalstore metal_shelves 15.1%
generalstore shelves 15.1%
generalstorestorage metal_shelves 15.1%
generalstorestorage shelves 15.1%
gigamart shelves 15.1%
kitchen counter 15.1%
livingroom counter 15.1%
producestorage metal_shelves 23.28%
shed crate 15.1%
storageunit crate 15.1%
storageunit crate 23.28%
storageunit metal_shelves 15.1%
toolstore metal_shelves 15.1%
toolstore shelves 15.1%
toolstorestorage metal_shelves 15.1%
warehouse crate 15.1%
warehouse metal_shelves 15.1%

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