Insecticide Spray: Difference between revisions
m (Remove stub) |
(→Code: code box update) |
||
Line 23: | Line 23: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = farming.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 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, | |||
StaticModel = GardenSpray, | |||
WorldStaticModel = GardenSprayGround, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 08:06, 8 January 2024
Insecticide Spray | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance |
Empty: 0.3 Full: 1.0 | |
Function | Cure flies infected crops | |
Capacity | 10 units | |
Technical details | ||
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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Insecticide Spray |
0 XP | none | OR |
Gardening Spray Can (Empty) (consumed) |
Water (3 units) (consumed) |
Cigarettes x5 (consumed) |
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,
StaticModel = GardenSpray,
WorldStaticModel = GardenSprayGround,
}