Gardening Spray Can: Difference between revisions

From PZwiki
(→‎Code: added source and retrieved)
No edit summary
Line 9: Line 9:
|secondary_use = Make pesticides
|secondary_use = Make pesticides
|can_store_water=True
|can_store_water=True
|class_name = Base.GardeningSprayEmpty
|class_name = farming.GardeningSprayEmpty
}}{{Infobox drainable
}}{{Infobox drainable
|display_name=Gardening Spray Can<br>(Full)
|display_name=Gardening Spray Can<br>(Full)
Line 22: Line 22:
|can_boil_water=False
|can_boil_water=False
|rain_factor=0
|rain_factor=0
|class_name=Base.GardeningSprayFull
|class_name=farming.GardeningSprayFull
}}A '''gardening spray can''' is a [[water]] containers used in [[farming]].
}}A '''gardening spray can''' is a [[water]] containers used in [[farming]].



Revision as of 18:06, 13 August 2018

The Game WorldItemsToolsGardening Spray Can

Template:Infobox normalTemplate:Infobox drainableA gardening spray can is a water containers used in farming.

Usage

Water

For main article, see: Water

A gardening spray can has the highest water capacity, holding up to 40 units of water, which is equal to the watering can.

A full gardening spray can can then be used to water crops.

Pesticides

For main article, see: Farming

A gardening spray can is required to make pesticides.

Item Description
File:Gardening spray can.png

Mildew Spray

Mildew causes your plants to mature more slowly. Treat affected plants with Mildew Spray to counteract this. With a Gardening Spray Can and a Milk in main inventory, right click on either item to show the option to 'Create Mildew Cure.' Note: even Rotten Milk can be used to make Mildew Spray, so do not trash it if you are growing plants.
File:Gardening spray can.png

Insecticide Spray

Pest Flies cause a growing plant to consume more water; affected plants will need considerably more water and attention. To cure this, make 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 are required to craft these items. Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Distribution

Only empty gardening spray cans can be found in the world, inside garages, crates, and sheds.

Code

From farming.txt (Project Zomboid directory/media/scripts/)

Empty Gardening Spray Can (Empty) TZ GardeningSprayCan.png Retrieved: Build 39.67.5

	item GardeningSprayEmpty
   		Type 			= Normal,
   		DisplayName 		= Gardening Spray Can (Empty),
   		Icon 			= TZ_GardeningSprayCan,
   		Weight 			= 0.3,
   		ReplaceOnUseOn  	= WaterSource-GardeningSprayFull,
		CanStoreWater		= true,

Gardening Spray Can (Full) TZ GardeningSprayCan.png Retrieved: Build 39.67.5

	item GardeningSprayFull
		Type			= Drainable,
		DisplayName		= Gardening Spray Can (Full),
		Icon			= TZ_GardeningSprayCan,
		Weight			= 1.0,
    		UseDelta		= 0.025,
    		ReplaceOnUseOn 		= WaterSource-GardeningSprayFull,
    		ReplaceOnDeplete 	= GardeningSprayEmpty,
    		IsWaterSource		= true,
		CanStoreWater		= true,
		UseWhileEquipped	= false,

See also

Template:Navbox/Tools