Maggots: Difference between revisions

From PZwiki
No edit summary
m (Remove lines))
 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Protein|Insects}}
{{header|The Game World|Items|version=Version 41|incver=78.16}}{{Infobox normal
{{Page version|41.78.16}}
|display_name=Maggots
{{Infobox item
|name_colour=Food
|name=Maggots
|name_text_colour=Food
|model=Insect_Maggots_Model.png
|image=
|icon=Insect_Maggots.png
|alternate_image=Insect_Maggots.png
|icon_name=Maggots
|alternate_name=Maggots
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.01
|weight=0.01
|function=&bull; Bait in [[Fishing]]
|function=&bull; Bait in [[fishing]]
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-1
|hunger_change=-1
Line 21: Line 19:
|unhappy_change=+20
|unhappy_change=+20
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Maggots Base.Maggots2
|item_id=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]]. They are the only [[insects]] that can't be cooked.
}}
'''Maggots''' are an [[Insects|insect]], non-perishable [[food]] [[Items|item]], and [[fishing]] bait.


==Usage==
==Usage==
===Fishing===
===Fishing===
{{Main|Fishing}}
{{Main|Fishing}}
Maggots can be used as bait for [[Fishing|fishing]] to catch [[bass]], [[catfish]], [[crappie]], [[perch]], [[sunfish]] and [[trout]].
Maggots can be used as bait for [[fishing]] to catch [[bass]], [[catfish]], [[crappie]], [[perch]], [[sunfish]], and [[trout]].


==Distribution==
==Distribution==
Maggots can be found on or around killed [[zombie]]s (depending on the settings).
Maggots can be found on or around killed [[zombie]]s (depending on the settings). They have a reduced chance to spawn during Spring and Fall, and will not spawn at all during Winter.
 
==Trivia==
*While the obsolete {{ID|Maggots2}} were poisonous, the regular maggots are not. The obsolete ones can no longer be obtained.


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
 
{{CodeSnip
{{Retrieved|version=41|incver=78.16}}
  | lang = java
<pre>
  | line = true
item Maggots
  | start = 8847
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Maggots
{
{
DisplayName = Maggots,
DisplayName = Maggots,
Line 53: Line 60:
WorldStaticModel = Maggots_Ground,
WorldStaticModel = Maggots_Ground,
}
}
 
}}
item Maggots2
{{CodeSnip
  | lang = java
  | line = true
  | start = 8864
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Maggots2
{
{
DisplayName = Maggots,
DisplayName = Maggots,
Line 74: Line 89:
OBSOLETE = true,
OBSOLETE = true,
}
}
</pre>     
}}
}}


==See also==
==See also==
Line 81: Line 97:
*[[Worm]]
*[[Worm]]


{{Navbox_food}}
{{Navbox items|meat}}
 


[[Category:Animal]]
[[Category:Non-perishable food]]

Latest revision as of 07:09, 15 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Maggots
Insect Maggots Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.01
Function
• Bait in fishing
Nutrition
HungerMoodle Icon Hungry.png
-1
CaloriesCalories
1.5
CarbohydratesCarbohydrates
0
ProteinsProteins
0.25
FatFat
0.05
Effect
UnhappinessMoodle Icon Unhappy.png
+20
Technical
Item ID
Base.Maggots Base.Maggots2

Maggots are an insect, non-perishable food item, and fishing bait.

Usage

Fishing

Main article: Fishing

Maggots 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 on the settings). They have a reduced chance to spawn during Spring and Fall, and will not spawn at all during Winter.

Trivia

  • While the obsolete Maggots2 were poisonous, the regular maggots are not. The obsolete ones can no longer be obtained.

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

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,
	}

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
	}

See also