Insecticide Spray: Difference between revisions
m (Automated {{Languages}} removal.) |
m (Remove lines)) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Header | {{Header|Project Zomboid|Items|Equipment|Tools|Farming tools}} | ||
{{Page version|41.78.16}} | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=Insecticide Spray | |name=Insecticide Spray | ||
|model=GardenSpray_Model.png | |model=GardenSpray_Model.png | ||
|icon=TZ_GardeningSprayCan.png | |icon=TZ_GardeningSprayCan.png | ||
|icon_name=Gardening Spray Can | |icon_name=Gardening Spray Can | ||
Line 19: | Line 16: | ||
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 | {{Crafting/sandbox2 | ||
|insecticide_spray | |||
}} | |||
==Code== | ==Code== | ||
Line 28: | Line 25: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 695 | ||
| source = farming.txt | | source = farming.txt | ||
| retrieved = true | | retrieved = true | ||
Line 34: | Line 31: | ||
| code = | | code = | ||
item GardeningSprayCigarettes | item GardeningSprayCigarettes | ||
{ | { | ||
DisplayCategory = Gardening, | |||
Type = Drainable, | |||
DisplayName = Insecticide Spray, | |||
Icon = TZ_GardeningSprayCan, | |||
Weight = 1.0, | |||
UseDelta = 0.1, | |||
ReplaceOnDeplete = GardeningSprayEmpty, | |||
UseWhileEquipped = false, | |||
StaticModel = GardenSpray, | UseWhileEquipped = false, | ||
StaticModel = GardenSpray, | |||
} | WorldStaticModel = GardenSprayGround, | ||
} | |||
}} | |||
}} | }} | ||
Line 54: | Line 52: | ||
[[Category:Tools]] | [[Category:Tools]] | ||
[[Category:Farming materials]] | [[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,
}