Caterpillar (swallowtail): Difference between revisions

From PZwiki
No edit summary
No edit summary
Line 5: Line 5:
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=SwallowtailCaterpillar_Ground
|image=Insect_SwallowtailCaterpillar.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 20:
|cook_minutes=5
|cook_minutes=5
|burn_minutes=25
|burn_minutes=25
}}
=== Fishing ===
{{Main|Fishing}}
This item can be used as bait when using a fishing rod.
=== Consumable properties ===
<!--COMMENT: This section explains how the food values alter over time, ranging from fresh uncooked, to burnt, to rotten, fill in details as appropriate. Example used is Chicken -->
{{Consumables2
|image = Insect_SwallowtailCaterpillar.png
|hunger = -5
|unhappiness = +20
|cookable = 1
|cooked hunger = -6
|cooked unhappiness = +20
|burned hunger = -1
|burned boredom = +20
|burned unhappiness = +40
}}
}}
=== Foraging ===
=== Foraging ===
It is acquired through foraging. Not possible to acquire during winter times.
It is acquired through foraging. Not possible to acquire during winter times.
== Code ==
== Code ==

Revision as of 00:12, 26 June 2022

Project ZomboidItemsFoodNon-Perishable FoodCaterpillar (swallowtail)

Template:Infobox food

Fishing

Main article: Fishing

This item can be used as bait when using a fishing rod.

Consumable properties

Template:Consumables2

Foraging

It is acquired through foraging. Not possible to acquire during winter times.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.71

 item SwallowtailCaterpillar
	{
		DisplayName = Caterpillar,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = Insect_SwallowtailCaterpillar,
		FishingLure = true,
		IsCookable = TRUE,
		MinutesToCook = 5,
		MinutesToBurn = 25,
		HungerChange = -5,
		UnhappyChange = 20,
		Calories = 27,
		Carbohydrates = 3,
		Lipids = 20.24,
		Proteins = 27.55,
		WorldStaticModel = SwallowtailCaterpillar_Ground,
	}