Maggots: Difference between revisions

From PZwiki
m (Automated infobox fix)
m (Remove lines))
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name =Maggots
|name=Maggots
|name_colour=Food
|name_text_colour=Food
|model=Insect_Maggots_Model.png
|model=Insect_Maggots_Model.png
|icon=Insect_Maggots.png
|icon=Insect_Maggots.png
|icon_name=Maggots
|icon_name=Maggots
|icon_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 22: 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''' are an [[Insects|insect]], non-perishable [[food]] [[Items|item]], and [[fishing]] bait.
'''Maggots''' are an [[Insects|insect]], [[Food#Non-Perishable|non-perishable food]] item, and [[fishing]] bait.


==Usage==
==Usage==
Line 42: Line 38:
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 8847
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item Maggots
item Maggots
    {
{
        DisplayName       = Maggots,
DisplayName = Maggots,
        DisplayCategory   = Food,
DisplayCategory = Food,
        Type               = Food,
Type = Food,
        Weight             = 0.01,
Weight = 0.01,
        Icon               = Insect_Maggots,
Icon = Insect_Maggots,
        FishingLure       = true,
FishingLure = true,
        HungerChange       = -1,
HungerChange = -1,
        UnhappyChange     = 20,
UnhappyChange = 20,
        Calories           = 1.5,
Calories = 1.5,
        Carbohydrates     = 0,
Carbohydrates = 0,
        Lipids             = 0.05,
Lipids = 0.05,
        Proteins           = 0.25,
Proteins = 0.25,
        WorldStaticModel   = Maggots_Ground,
WorldStaticModel = Maggots_Ground,
    }
}
}}
}}
{{CodeSnip
{{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 8864
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item Maggots2
item Maggots2
    {
{
        DisplayName       = Maggots,
DisplayName = Maggots,
        DisplayCategory   = Food,
DisplayCategory = Food,
        Type               = Food,
Type = Food,
        Weight             = 0.01,
Weight = 0.01,
        Icon               = Insect_Maggots,
Icon = Insect_Maggots,
        FishingLure       = true,
FishingLure = true,
        HungerChange       = -1,
HungerChange = -1,
        UnhappyChange     = 20,
UnhappyChange = 20,
        Calories           = 1.5,
Calories = 1.5,
        Carbohydrates     = 0,
Carbohydrates = 0,
        Lipids             = 0.05,
Lipids = 0.05,
        Proteins           = 0.25,
Proteins = 0.25,
        WorldStaticModel   = Maggots_Ground,
WorldStaticModel = Maggots_Ground,
        /*PoisonDetectionLevel = 1,*/
/*PoisonDetectionLevel = 1,*/
        PoisonPower       = 3,
PoisonPower = 3,
        /*Tags = NoDetect,*/
/*Tags = NoDetect,*/
        OBSOLETE           = true,
OBSOLETE = true,
    }
}
}}
}}
}}
}}
Line 99: Line 97:
*[[Worm]]
*[[Worm]]


{{Navbox food}}
{{Navbox items|meat}}
 


[[Category:Non-perishable food]]
[[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