Maggots: Difference between revisions
(→Code: Add code) |
(Some improvements) |
||
Line 2: | Line 2: | ||
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal | {{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal | ||
|display_name=Maggots | |display_name=Maggots | ||
|name_colour= | |name_colour=Food | ||
|name_text_colour= | |name_text_colour=Food | ||
|image = Insect_Maggots.png | |image= | ||
| | |alternate_image=Insect_Maggots.png | ||
| | |alternate_name=Maggots | ||
|weight= | |alternate_link= | ||
| | <!--GENERAL--> | ||
|class_name=Base.Maggots | |category=Food | ||
}}''' | |weight=0.01 | ||
|function=• Bait in [[Fishing]] | |||
<!--NUTRITION--> | |||
|hunger_change=-1 | |||
|calories=1.5 | |||
|lipids=0.05 | |||
|proteins=0.25 | |||
|carbohydrates=0 | |||
<!--EFFECT--> | |||
|unhappy_change=+20 | |||
<!--TECHNICAL DETAILS--> | |||
|class_name=Base.Maggots Base.Maggots2 | |||
}}'''Maggots''' spawn on killed [[zombie]]s. Killed zombies can cause sickness if you stick around them for too long, but maggots found there can be used as bait for [[fishing]]. | |||
==Usage== | |||
== Usage == | |||
===Fishing=== | ===Fishing=== | ||
{{Main|Fishing}} | {{Main|Fishing}} | ||
A cockroach can be used as bait for [[Fishing|fishing]] to catch [[bass]], [[catfish]], [[crappie]], [[perch]], [[sunfish]] and [[trout]]. | |||
==Distribution== | |||
== Distribution == | |||
Maggots can be found on or around killed [[zombie]]s (depending the the settings). | Maggots can be found on or around killed [[zombie]]s (depending the the settings). | ||
== Code == | ==Code== | ||
'''''From items_food.txt (Project Zomboid directory/media/scripts/)''''' | '''''From items_food.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=41|incver=78.16}} | {{Retrieved|version=41|incver=78.16}} | ||
<pre> | <pre> | ||
Line 69: | Line 76: | ||
</pre> | </pre> | ||
== See also == | ==See also== | ||
* [[Fishing]] | *[[Fishing]] | ||
* [[Zombie]] | *[[Zombie]] | ||
*[[Worm]] | |||
{{Navbox_food}}{{Navbox_animal}} | |||
[[Category:Animal]] |
Revision as of 02:33, 30 January 2023
Maggots | ||
---|---|---|
| ||
General | ||
Category | Food | |
Encumbrance | 0.01 | |
Function | • Bait in Fishing | |
Technical details | ||
Base ID | Base.Maggots Base.Maggots2 |
Maggots spawn on killed zombies. Killed zombies can cause sickness if you stick around them for too long, but maggots found there can be used as bait for fishing.
Usage
Fishing
- Main article: Fishing
A cockroach can be used as bait for fishing to catch bass, catfish, crappie, perch, sunfish and trout.
Distribution
Maggots can be found on or around killed zombies (depending the the settings).
Code
From items_food.txt (Project Zomboid directory/media/scripts/)
Retrieved: Build 41.78.16
item Maggots { DisplayName = Maggots, DisplayCategory = Food, Type = Food, Weight = 0.01, Icon = Insect_Maggots, FishingLure = true, HungerChange = -1, UnhappyChange = 20, Calories = 1.5, Carbohydrates = 0, Lipids = 0.05, Proteins = 0.25, WorldStaticModel = Maggots_Ground, } item Maggots2 { DisplayName = Maggots, DisplayCategory = Food, Type = Food, Weight = 0.01, Icon = Insect_Maggots, FishingLure = true, HungerChange = -1, UnhappyChange = 20, Calories = 1.5, Carbohydrates = 0, Lipids = 0.05, Proteins = 0.25, WorldStaticModel = Maggots_Ground, /*PoisonDetectionLevel = 1,*/ PoisonPower = 3, /*Tags = NoDetect,*/ OBSOLETE = true, }