Maggots

From PZwiki
Revision as of 02:27, 30 January 2023 by Faalagorn (talk | contribs) (→‎Code: Add code)
Maggots
Maggots
General
Category Item
Encumbrance
Heavy Load
?
Function fishing
Technical details
Base ID Base.Maggots

WORK IN PROGRESS!!


Maggots spawn on killed zombies. They can cause sickness if you stick around them for too long, but it's also used as bait for fishing.

Usage

Fishing

Main article: Fishing

Maggots can be used to catch fish.


Distribution

Maggots can be found on or around killed zombies (depending the the settings).

Code

From items_food.txt (Project Zomboid directory/media/scripts/)

Maggots 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