Maggots: Difference between revisions

From PZwiki
m (Minor cleanup)
No edit summary
Line 29: Line 29:


==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.


==Code==
==Code==

Revision as of 03:58, 16 June 2023

Maggots
Maggots
General
Category Food
Encumbrance
Heavy Load
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. They are the only insects that can't be cooked.

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.

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