Maggots: Difference between revisions

From PZwiki
(→‎Code: Add code)
(Some improvements)
Line 2: Line 2:
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
|display_name=Maggots
|display_name=Maggots
|name_colour=?
|name_colour=Food
|name_text_colour=?
|name_text_colour=Food
|image = Insect_Maggots.png
|image=
|alternate_image=
|alternate_image=Insect_Maggots.png
|alternate_name=?
|alternate_name=Maggots
|weight=?
|alternate_link=
|primary_use=[[fishing]]
<!--GENERAL-->
|class_name=Base.Maggots
|category=Food
}}'''WORK IN PROGRESS!!'''
|weight=0.01
|function=&bull; Bait in [[Fishing]]
<!--NUTRITION-->
|hunger_change=-1
|calories=1.5
|lipids=0.05
|proteins=0.25
|carbohydrates=0
<!--EFFECT-->
|unhappy_change=+20
<!--TECHNICAL DETAILS-->
|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]].


 
==Usage==
'''Maggots''' spawn on killed [[zombie]]s. They can cause sickness if you stick around them for too long, but it's also used as bait for [[fishing]].
 
== Usage ==
===Fishing===
===Fishing===
{{Main|Fishing}}
{{Main|Fishing}}
Maggots can be used to catch fish.
A cockroach can be used as bait for [[Fishing|fishing]] to catch [[bass]], [[catfish]], [[crappie]], [[perch]], [[sunfish]] and [[trout]].


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


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


''Maggots''
{{Retrieved|version=41|incver=78.16}}
{{Retrieved|version=41|incver=78.16}}
<pre>
<pre>
Line 69: Line 76:
</pre>     
</pre>     


== See also ==
==See also==
* [[Fishing]]
*[[Fishing]]
* [[Zombie]]
*[[Zombie]]
*[[Worm]]
 
{{Navbox_food}}{{Navbox_animal}}
 
[[Category:Animal]]

Revision as of 02:33, 30 January 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.

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 the 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

Template:Navbox animal