Insecticide Spray: Difference between revisions

From PZwiki
m (Remove stub)
m (Remove lines))
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Tools|Farming Tools|type=Tool|version=Version 41|incver=78.16}}
{{Header|Project Zomboid|Items|Equipment|Tools|Farming tools}}
{{Infobox drainable
{{Page version|41.78.16}}
|display_name=Insecticide Spray
{{Infobox item
|name_colour=Tool
|name=Insecticide Spray
|name_text_colour=Tool
|model=GardenSpray_Model.png
|image=GardenSpray_Model.png
|icon=TZ_GardeningSprayCan.png
|image_width=200px
|icon_name=Gardening Spray Can
|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
|primary_use=Cure [[Farming#Plant_Disease_Problems|flies infected crops]]
|primary_use=Cure [[Farming#Plant_Disease_Problems|flies infected crops]]
|max_units=10
|max_units=10
|class_name=Base.GardeningSprayEmpty<br>Base.GardeningSprayCigarettes
|item_id=Base.GardeningSprayEmpty<br>Base.GardeningSprayCigarettes
}}'''Insecticide Spray''' is used to cure flies infected [[farming]] crops. To make Insecticide Spray the player needs an empty [[gardening spray can]], 3 units of water and 5 [[cigarettes]].
}}
'''Insecticide spray''' is used to cure flies infected [[farming]] crops. To make insecticide spray the player needs an empty [[Gardening Spray Can|gardening spray can]], 3 units of water and 5 [[cigarettes]].


==Crafting==
==Crafting==
To craft Insecticide Spray the player needs either the [[Traits#Hobbies|gardening trait]], [[Occupation#Farmer|farmer profession]] or having read [[The Farming Magazine]] to craft it. When crafting Insecticide spray with all the required items in the player's inventory the option to '''Make Flies Cure''' will appear.
To craft Insecticide Spray the player needs either the [[Traits#Hobbies|gardening trait]], [[Occupation#Farmer|farmer profession]] or having read [[The Farming Magazine]] to craft it. When crafting Insecticide spray with all the required items in the player's inventory, the option to '''Make Flies Cure''' will appear.


{{Crafting header|ing=3}}
{{Crafting/sandbox2
{{Crafting farming|001|ing=3}}
|insecticide_spray
|}
}}


==Code==
==Code==
'''''From farming.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
    item GardeningSprayCigarettes
  | line = true
        {
  | start = 695
            DisplayCategory = Gardening,
  | source = farming.txt
            Type = Drainable,
  | retrieved = true
            DisplayName = Insecticide Spray,
  | version = 41.78.16
            Icon = TZ_GardeningSprayCan,
  | code =
            Weight = 1.0,
item GardeningSprayCigarettes
            UseDelta = 0.1,
{
            ReplaceOnDeplete = GardeningSprayEmpty,
    DisplayCategory = Gardening,
            UseWhileEquipped = false,
    Type = Drainable,
            UseWhileEquipped = false,
DisplayName = Insecticide Spray,
            StaticModel = GardenSpray,
Icon = TZ_GardeningSprayCan,
            WorldStaticModel = GardenSprayGround,
Weight = 1.0,
        }
    UseDelta = 0.1,
</pre>
    ReplaceOnDeplete = GardeningSprayEmpty,
    UseWhileEquipped = false,
    UseWhileEquipped =     false,
    StaticModel = GardenSpray,
    WorldStaticModel = GardenSprayGround,
  }
}}
}}


==See also==
==See also==
{{T|Mildew Spray}}
*[[Mildew Spray]]


[[Category:Farming]]
[[Category:Tools]]
[[Category:Farming materials]]
{{Navbox items|farming_materials}}

Revision as of 07:05, 15 April 2024

Project ZomboidItemsEquipmentToolsFarming toolsInsecticide Spray
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Insecticide Spray
GardenSpray Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
Empty: 0.3
Full: 1.0
Function
Properties
Capacity
10 units
Technical
Item ID
Base.GardeningSprayEmpty
Base.GardeningSprayCigarettes

Insecticide spray is used to cure flies infected farming crops. To make insecticide spray the player needs an empty gardening spray can, 3 units of water and 5 cigarettes.

Crafting

To craft Insecticide Spray the player needs either the gardening trait, farmer profession or having read The Farming Magazine to craft it. When crafting Insecticide spray with all the required items in the player's inventory, the option to Make Flies Cure will appear.


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

Code

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

Source: ProjectZomboid\media\scripts\farming.txt

Retrieved: Build 41.78.16
item GardeningSprayCigarettes
 	{
 	    DisplayCategory = Gardening,
    	Type				=		Drainable,
		DisplayName			=		Insecticide Spray,
		Icon				=		TZ_GardeningSprayCan,
		Weight				=		1.0,
    	UseDelta			=		0.1,
    	ReplaceOnDeplete 	= 		GardeningSprayEmpty,
	    UseWhileEquipped = false,
    	UseWhileEquipped	=	    false,
    	StaticModel = GardenSpray,
    	WorldStaticModel = GardenSprayGround,
  	}

See also