Maggots: Difference between revisions

From PZwiki
m (Faalagorn moved page Maggots to Maggots: In-game name)
(→‎Code: Add code)
Line 25: Line 25:


== Code ==
== Code ==
'''''From ?.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''


''Maggots''
''Maggots''
{{Retrieved|version=40|incver=43}}
{{Retrieved|version=41|incver=78.16}}
<pre>
<pre>
Type = Normal,
item Maggots
DisplayName = Magoots,
{
Icon = ,
DisplayName = Maggots,
Weight = 0.000,</pre>     
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,
}
</pre>     


== See also ==
== See also ==
* [[Fishing]]
* [[Fishing]]
* [[Zombie]]
* [[Zombie]]

Revision as of 02:27, 30 January 2023

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