Maggots: Difference between revisions

From PZwiki
m (Update version)
(Minor updates)
Line 22: Line 22:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Maggots Base.Maggots2
|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]].
}}'''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.


==Usage==
==Usage==
Line 30: Line 30:


==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 on the settings).


==Code==
==Code==
Line 81: Line 81:
*[[Worm]]
*[[Worm]]


{{Navbox_food}}{{Navbox_animal}}
{{Navbox_food}}


[[Category:Animal]]
[[Category:Animal]]

Revision as of 02:42, 30 January 2023

Template:Infobox normalMaggots 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. They are the only insects that can't be cooked.

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

     

See also