Insecticide Spray: Difference between revisions
(Crafting recipe and code secion added, infobox updated.) |
m (Remove lines)) |
||
(17 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Equipment|Tools|Farming tools}} | ||
{{Page version|41.78.16}} | |||
{{Infobox item | |||
{{Infobox | |name=Insecticide Spray | ||
| | |model=GardenSpray_Model.png | ||
| | |icon=TZ_GardeningSprayCan.png | ||
|icon_name=Gardening Spray Can | |||
| | |||
| | |||
|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 | ||
| | |item_id=Base.GardeningSprayEmpty<br>Base.GardeningSprayCigarettes | ||
}} | }} | ||
'''Insecticide | '''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. | |||
{{Crafting/sandbox2 | |||
|insecticide_spray | |||
}} | |||
{{ | ==Code== | ||
{{ | {{CodeBox | ||
| | | {{CodeSnip | ||
| lang = java | |||
= | | line = true | ||
| start = 695 | |||
| source = farming.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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 | ==See also== | ||
*[[Mildew Spray]] | |||
[[Category:Farming]] | [[Category:Tools]] | ||
[[Category:Farming materials]] | |||
{{Navbox items|farming_materials}} |
Revision as of 07:05, 15 April 2024
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 |
---|---|---|---|---|---|
Insecticide Spray |
Gardening Spray Can (Empty) ×1 Water ×3 unit(s) Cigarettes ×5 |
none | Farmer occupation (or) The Farming Magazine |
none | none |
Code
Source: ProjectZomboid\media\scripts\farming.txt
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,
}