Mushrooms: Difference between revisions

From PZwiki
m (Change name)
(Codebox)
Line 182: Line 182:
| {{ID|Base.MushroomGeneric7}}
| {{ID|Base.MushroomGeneric7}}
|}
|}
<div class="mw-collapsible mw-collapsed">


==Code==
==Code==
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:MushroomGeneric1.png]] {{ID|Base.MushroomGeneric1}}<br>
''Mushroom'' [[File:MushroomGeneric1.png|32px]]
{{CodeSnip
{{Retrieved|version=41.73}}
  | lang = java
<pre>
  | line = true
  | start =
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MushroomGeneric1
item MushroomGeneric1
{
{
Line 212: Line 215:
EvolvedRecipeName = Mushroom,
EvolvedRecipeName = Mushroom,
}
}
</pre>
}}


''Mushroom'' [[File:MushroomGeneric2.png|32px]]
[[File:MushroomGeneric2.png]] {{ID|Base.MushroomGeneric2}}<br>
{{Retrieved|version=41.73}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 862
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MushroomGeneric2
item MushroomGeneric2
{
{
Line 239: Line 248:
EvolvedRecipeName = Mushroom,
EvolvedRecipeName = Mushroom,
}
}
</pre>
}}


''Mushroom'' [[File:MushroomGeneric3.png|32px]]
[[File:MushroomGeneric3.png]] {{ID|Base.MushroomGeneric3}}<br>
{{Retrieved|version=41.73}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 885
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MushroomGeneric3
item MushroomGeneric3
{
{
Line 266: Line 281:
EvolvedRecipeName = Mushroom,
EvolvedRecipeName = Mushroom,
}
}
</pre>
}}


''Mushroom'' [[File:MushroomGeneric4.png|32px]]
[[File:MushroomGeneric4.png]] {{ID|Base.MushroomGeneric4}}<br>
{{Retrieved|version=41.73}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 908
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MushroomGeneric4
item MushroomGeneric4
{
{
Line 293: Line 314:
EvolvedRecipeName = Mushroom,
EvolvedRecipeName = Mushroom,
}
}
</pre>
}}


''Mushroom'' [[File:MushroomGeneric5.png|32px]]
[[File:MushroomGeneric5.png]] {{ID|Base.MushroomGeneric5}}<br>
{{Retrieved|version=41.73}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 931
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MushroomGeneric5
item MushroomGeneric5
{
{
Line 320: Line 347:
EvolvedRecipeName = Mushroom,
EvolvedRecipeName = Mushroom,
}
}
</pre>
}}


''Mushroom'' [[File:MushroomGeneric6.png|32px]]
[[File:MushroomGeneric6.png]] {{ID|Base.MushroomGeneric6}}<br>
{{Retrieved|version=41.73}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 954
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MushroomGeneric6
item MushroomGeneric6
{
{
Line 347: Line 380:
EvolvedRecipeName = Mushroom,
EvolvedRecipeName = Mushroom,
}
}
</pre>
}}


''Mushroom'' [[File:MushroomGeneric7.png|32px]]
[[File:MushroomGeneric7.png]] {{ID|Base.MushroomGeneric7}}<br>
{{Retrieved|version=41.73}}
{{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 977
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MushroomGeneric7
item MushroomGeneric7
{
{
Line 374: Line 413:
EvolvedRecipeName = Mushroom,
EvolvedRecipeName = Mushroom,
}
}
</pre>
}}
</div>
}}
 


==See also==
==See also==

Revision as of 06:17, 16 March 2024

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Mushrooms
Mushroom Model.png
Mushroom
Mushroom
Mushroom
Mushroom
Mushroom
Mushroom
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Days fresh
3 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
ThirstMoodle Icon Thirsty.png
-1
CaloriesCalories
CarbohydratesCarbohydrates
ProteinsProteins
FatFat
Effect
PoisonPoison
?
Technical
Item ID

Mushrooms are a perishable food item which can come in 7 different variations.

Usage

Consumable properties

Mushroom can be eaten, providing the player with some positive effects, however these will become more negative the longer it's left to perish.

Fresh Stale Rotten

Mushroom1 Anim.gif
Hunger: -13


Mushroom1 Anim.gif
Hunger: -10
Boredom: +10
Unhappiness: +10

Mushroom1 Anim.gif
Hunger: -5
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Fresh Stale Rotten

Mushroom2 Anim.gif
Hunger: -15


Mushroom2 Anim.gif
Hunger: -11
Boredom: +10
Unhappiness: +10

Mushroom2 Anim.gif
Hunger: -6
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Nutrition

Mushroom Hunger Calories Lipids Carbohydrates Proteins
MushroomGeneric1.png -13 30 0.24 2.04 2.12
MushroomGeneric2.png -13 30 0.24 2.04 2.12
MushroomGeneric3.png -15 32 0.32 2.36 2.56
MushroomGeneric4.png -13 30 0.24 2.04 2.12
MushroomGeneric5.png -15 32 0.32 2.36 2.56
MushroomGeneric6.png -13 30 0.24 2.04 2.12
MushroomGeneric7.png -13 32 0.24 2.04 2.12

Crafting

Evolved recipes

Adding a "Poisonous Mushroom" as an ingredient, will make the product poisonous, even if the player can't determine if a mushroom is poisonous or not. Each variation of mushroom (including poisonous) will count as a new and separate ingredient for bonuses in recipes.

MushroomGeneric1.pngMushroomGeneric2.pngMushroomGeneric4.pngMushroomGeneric6.pngMushroomGeneric7.png MushroomGeneric3.pngMushroomGeneric5.png
Product Nutrition
Soup
Soup
13
Stew
Stew
13
Salad
Salad
13
Stir Fry
Stir Fry
13
Roasted Vegetables
Roasted Vegetables
13
Sandwich
Sandwich
13
Burger
Burger
13
Pie (savory)
Pie (savory)
13
Rice Pot/Saucepan
Rice Pot/Saucepan
13
Pasta Pot/Saucepan
Pasta Pot/Saucepan
13
Omelette
Omelette
13
Pizza
Pizza
13
Beverage
Beverage
6
Product Nutrition
Soup
Soup
15
Stew
Stew
15
Salad
Salad
15
Stir Fry
Stir Fry
15
Roasted Vegetables
Roasted Vegetables
15
Sandwich
Sandwich
15
Burger
Burger
15
Pie (savory)
Pie (savory)
15
Rice Pot/Saucepan
Rice Pot/Saucepan
15
Pasta Pot/Saucepan
Pasta Pot/Saucepan
15
Omelette
Omelette
15
Pizza
Pizza
15
Beverage
Beverage
5

Distribution

Mushrooms do not spawn naturally, and can only be obtained by foraging.

Foraging

Main article: Foraging

Mushrooms can be found by the player without any levels in Foraging, but they are more likely to find poisonous mushrooms when foraging at lower levels. When foraged, each variation of mushroom will stack under the same display name of "Mushroom".

Poison

All foraged mushrooms have a chance of being poisonous. The only way to determine if a mushroom is poisonous is to have picked up the herbalist trait during character creation or have read The Herbalist. This will change the display name to "Poisonous Mushroom" with a poisonous icon Poisonous Icon.

Item IDs

Name Icon Base ID
Mushroom MushroomGeneric1.png Base.MushroomGeneric1
Mushroom MushroomGeneric2.png Base.MushroomGeneric2
Mushroom MushroomGeneric3.png Base.MushroomGeneric3
Mushroom MushroomGeneric4.png Base.MushroomGeneric4
Mushroom MushroomGeneric5.png Base.MushroomGeneric5
Mushroom MushroomGeneric6.png Base.MushroomGeneric6
Mushroom MushroomGeneric7.png Base.MushroomGeneric7

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

MushroomGeneric1.png Base.MushroomGeneric1
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item MushroomGeneric1
	{
		DisplayName = Mushrooms,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = MushroomGeneric1,
		EvolvedRecipe = Pizza:13;Burger:13;Omelette:13;Stir fry Griddle Pan:13;Stir fry:13;Stew:13;Pie:13;Soup:13;Sandwich:13;Sandwich Baguette:13;Salad:13;Roasted Vegetables:13;RicePot:13;RicePan:13;PastaPot:13;PastaPan:13;HotDrink:6;HotDrinkRed:6;HotDrinkWhite:6;HotDrinkSpiffo:6;HotDrinkTea:6,
		FoodType = Mushroom,
		HerbalistType = Mushroom,
		OnEat = OnEat_WildFoodGeneric,
		DaysFresh = 3,
		DaysTotallyRotten = 4,
		HungerChange = -13,
		ThirstChange = -1,
		Calories = 30,
		Carbohydrates = 2.12,
		Lipids = 0.24,
		Proteins = 2.04,
		WorldStaticModel = MushroomGeneric1,
		EvolvedRecipeName = Mushroom,
	}

MushroomGeneric2.png Base.MushroomGeneric2
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item MushroomGeneric2
	{
		DisplayName = Mushrooms,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = MushroomGeneric2,
		EvolvedRecipe = Pizza:13;Burger:13;Omelette:13;Stir fry Griddle Pan:13;Stir fry:13;Stew:13;Pie:13;Soup:13;Sandwich:13;Sandwich Baguette:13;Salad:13;Roasted Vegetables:13;RicePot:13;RicePan:13;PastaPot:13;PastaPan:13;HotDrink:6;HotDrinkRed:6;HotDrinkWhite:6;HotDrinkSpiffo:6;HotDrinkTea:6,
		FoodType = Mushroom,
		HerbalistType = Mushroom,
		OnEat = OnEat_WildFoodGeneric,
		DaysFresh = 3,
		DaysTotallyRotten = 4,
		HungerChange = -13,
		ThirstChange = -1,
		Calories = 30,
		Carbohydrates = 2.12,
		Lipids = 0.24,
		Proteins = 2.04,
		WorldStaticModel = MushroomGeneric1,
		EvolvedRecipeName = Mushroom,
	}

MushroomGeneric3.png Base.MushroomGeneric3
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item MushroomGeneric3
	{
		DisplayName = Mushrooms,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = MushroomGeneric3,
		EvolvedRecipe = Pizza:15;Burger:15;Omelette:15;Stir fry Griddle Pan:15;Stir fry:15;Stew:15;Pie:15;Soup:15;Sandwich:15;Sandwich Baguette:15;Salad:15;Roasted Vegetables:15;RicePot:15;RicePan:15;PastaPot:15;PastaPan:15;HotDrink:5;HotDrinkRed:5;HotDrinkWhite:5;HotDrinkSpiffo:5;HotDrinkTea:5,
		FoodType = Mushroom,
		HerbalistType = Mushroom,
		OnEat = OnEat_WildFoodGeneric,
		DaysFresh = 3,
		DaysTotallyRotten = 4,
		HungerChange = -15,
		ThirstChange = -1,
		Calories = 32,
		Carbohydrates = 2.56,
		Lipids = 0.32,
		Proteins = 2.36,
		WorldStaticModel = MushroomGeneric1,
		EvolvedRecipeName = Mushroom,
	}

MushroomGeneric4.png Base.MushroomGeneric4
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item MushroomGeneric4
	{
		DisplayName = Mushrooms,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = MushroomGeneric4,
		EvolvedRecipe = Pizza:13;Burger:13;Omelette:13;Stir fry Griddle Pan:13;Stir fry:13;Stew:13;Pie:13;Soup:13;Sandwich:13;Sandwich Baguette:13;Salad:13;Roasted Vegetables:13;RicePot:13;RicePan:13;PastaPot:13;PastaPan:13;HotDrink:5;HotDrinkRed:5;HotDrinkWhite:5;HotDrinkSpiffo:5;HotDrinkTea:5,
		FoodType = Mushroom,
		HerbalistType = Mushroom,
		OnEat = OnEat_WildFoodGeneric,
		DaysFresh = 3,
		DaysTotallyRotten = 4,
		HungerChange = -13,
		ThirstChange = -1,
		Calories = 30,
		Carbohydrates = 2.12,
		Lipids = 0.24,
		Proteins = 2.04,
		WorldStaticModel = MushroomGeneric1,
		EvolvedRecipeName = Mushroom,
	}

MushroomGeneric5.png Base.MushroomGeneric5
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item MushroomGeneric5
	{
		DisplayName = Mushrooms,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = MushroomGeneric5,
		EvolvedRecipe = Pizza:15;Burger:15;Omelette:15;Stir fry Griddle Pan:15;Stir fry:15;Stew:15;Pie:15;Soup:15;Sandwich:15;Sandwich Baguette:15;Salad:15;Roasted Vegetables:15;RicePot:15;RicePan:15;PastaPot:15;PastaPan:15;HotDrink:5;HotDrinkRed:5;HotDrinkWhite:5;HotDrinkSpiffo:5;HotDrinkTea:5,
		FoodType = Mushroom,
		HerbalistType = Mushroom,
		OnEat = OnEat_WildFoodGeneric,
		DaysFresh = 3,
		DaysTotallyRotten = 4,
		HungerChange = -15,
		ThirstChange = -1,
		Calories = 32,
		Carbohydrates = 2.56,
		Lipids = 0.32,
		Proteins = 2.36,
		WorldStaticModel = MushroomGeneric1,
		EvolvedRecipeName = Mushroom,
	}

MushroomGeneric6.png Base.MushroomGeneric6
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item MushroomGeneric6
	{
		DisplayName = Mushrooms,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = MushroomGeneric6,
		EvolvedRecipe = Pizza:13;Burger:13;Omelette:13;Stir fry Griddle Pan:13;Stir fry:13;Stew:13;Pie:13;Soup:13;Sandwich:13;Sandwich Baguette:13;Salad:13;Roasted Vegetables:13;RicePot:13;RicePan:13;PastaPot:13;PastaPan:13;HotDrink:6;HotDrinkRed:6;HotDrinkWhite:6;HotDrinkSpiffo:6;HotDrinkTea:6,
		FoodType = Mushroom,
		HerbalistType = Mushroom,
		OnEat = OnEat_WildFoodGeneric,
		DaysFresh = 3,
		DaysTotallyRotten = 4,
		HungerChange = -13,
		ThirstChange = -1,
		Calories = 30,
		Carbohydrates = 2.12,
		Lipids = 0.24,
		Proteins = 2.04,
		WorldStaticModel = MushroomGeneric1,
		EvolvedRecipeName = Mushroom,
	}

MushroomGeneric7.png Base.MushroomGeneric7
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item MushroomGeneric7
	{
		DisplayName = Mushrooms,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = MushroomGeneric7,
		EvolvedRecipe = Pizza:13;Burger:13;Omelette:13;Stir fry Griddle Pan:13;Stir fry:13;Stew:13;Pie:13;Soup:13;Sandwich:13;Sandwich Baguette:13;Salad:13;Roasted Vegetables:13;RicePot:13;RicePan:13;PastaPot:13;PastaPan:13;HotDrink:6;HotDrinkRed:6;HotDrinkWhite:6;HotDrinkSpiffo:6;HotDrinkTea:6,
		FoodType = Mushroom,
		HerbalistType = Mushroom,
		OnEat = OnEat_WildFoodGeneric,
		DaysFresh = 3,
		DaysTotallyRotten = 4,
		HungerChange = -13,
		ThirstChange = -1,
		Calories = 32,
		Carbohydrates = 2.12,
		Lipids = 0.24,
		Proteins = 2.04,
		WorldStaticModel = MushroomGeneric1,
		EvolvedRecipeName = Mushroom,
	}


See also