Berries

From PZwiki
Revision as of 15:07, 13 March 2022 by Vaileasys (talk | contribs) (updated to 41.68 + added models + navbox)
Berry
Berry
Berry Berry Berry Berry Berry Berry Berry Berry
Berry (Rotten) Berry (Rotten) Berry (Rotten) Berry (Rotten) Berry (Rotten) Berry (Rotten) Berry (Rotten) Berry (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.1
Days until stale 6 days
Days until rotten 10 days
Nutrition
Hunger
Hunger
See Nutrition
Thirst
Thirst
-1
Calories
Calories
See Nutrition
Carbohydrates
Carbohydrates
See Nutrition
Proteins
Proteins
See Nutrition
Fat
Fat
0
Effect
Poison
SkullPoison.png
(?)
Technical details
Item ID See Item IDs

A berry is a perishable food item which can come in 8 different variations.

Usage

Consumable properties

A berry can be eaten, providing the player with some positive effects, however these will become more negative the longer it's left to perish. Template:Consumables2Template:Consumables2

Nutrition

Berry Hunger Calories Carbohydrates Proteins
BerryBlue.png -10 23 5 4
BerryGeneric1.png -5 12 3 2
BerryGeneric2.png -10 23 5 4
BerryGeneric3.png -5 8 3 2
BerryGeneric4.png -10 23 5 4
BerryGeneric5.png -10 23 5 4
BerryPoisonIvy.png -5 23 5 4
BerryBlack.png -10 23 5 4

Crafting

Evolved recipes

Adding a "Poisonous Berry" as an ingredient, will make the product poisonous, even if the player can't determine if a berry is poisonous or not.

BerryGeneric1.pngBerryGeneric3.pngBerryPoisonIvy.png BerryBlue.pngBerryGeneric2.pngBerryGeneric4.pngBerryGeneric5.pngBerryBlack.png
Product Nutrition
Fruit Salad
Fruit Salad
5
Cake
Cake
5
Muffin
Muffin
5
Pancakes
Pancakes
5
Waffles
Waffles
5
Product Nutrition
Fruit Salad
Fruit Salad
10
Cake
Cake
10
Muffin
Muffin
10
Pancakes
Pancakes
10
Waffles
Waffles
10

Distribution

Berries will only spawn naturally inside fruit bushes, which spawn randomly throughout the world over time.

Foraging

Main article: Foraging

Poor hunger-reducing berries can be found at any level of foraging, while the superior berries will become available at level 2. When foraged, each variation of berry will stack under the same display name of "Berry". However, each variation of berry will count as a new and separate ingredient for bonuses in cakes.

Poison

All foraged berries have a chance of being poisonous. The only way to determine if a berry 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 Berry" with a poisonous icon Poisonous Icon.

Item IDs

Name Icon Base ID
Berry BerryBlack.png Base.BerryBlack
Berry BerryBlue.png Base.BerryBlue
Berry BerryGeneric1.png Base.BerryGeneric1
Berry BerryGeneric2.png Base.BerryGeneric2
Berry BerryGeneric3.png Base.BerryGeneric3
Berry BerryGeneric4.png Base.BerryGeneric4
Berry BerryGeneric5.png Base.BerryGeneric5
Berry BerryPoisonIvy.png Base.BerryPoisonIvy

Gallery

Code

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

Berry BerryBlue.png Retrieved: Build 41.68

    item BerryBlack
	{
		DisplayCategory = Food,
		HungerChange	=	-10,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	true,
		Type	=	Food,
		DisplayName	=	Berries,
		Icon	=	BerryBlack,
		DaysTotallyRotten	=	10,
        	DaysFresh	=	6,
        	EvolvedRecipe = Cake:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,
        	FoodType    =   Fruits,
        	ThirstChange	=	-1,
        	HerbalistType = Berry,
        	Carbohydrates = 5,
        	Proteins = 4,
        	Lipids = 0,
        	Calories = 23,
        	WorldStaticModel = BerryBlack,
        	CustomEatSound = EatingFruit,
	}

Berry BerryBlack.png Retrieved: Build 41.68

	item BerryBlue
	{
		DisplayCategory = Food,
		HungerChange	=	-10,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	true,
		Type	=	Food,
		DisplayName	=	Berries,
		Icon	=	BerryBlue,
		DaysTotallyRotten	=	10,
        	DaysFresh	=	6,
        	EvolvedRecipe = Cake:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,
        	FoodType    =   Fruits,
        	ThirstChange	=	-1,
        	HerbalistType = Berry,
        	Carbohydrates = 5,
        	Proteins = 4,
        	Lipids = 0,
        	Calories = 23,
        	WorldStaticModel = BerryBlue,
        	CustomEatSound = EatingFruit,
	}

Berry BerryGeneric1.png Retrieved: Build 41.68

	item BerryGeneric1
	{
		DisplayCategory = Food,
		HungerChange	=	-5,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	true,
		Type	=	Food,
		DisplayName	=	Berries,
		Icon	=	BerryGeneric1,
        	DaysTotallyRotten	=	10,
        	DaysFresh	=	6,
        	EvolvedRecipe = Cake:5;FruitSalad:5;Pancakes:5;Waffles:5;Muffin:5,
        	FoodType    =   Fruits,
        	ThirstChange	=	-1,
        	HerbalistType = Berry,
        	Carbohydrates = 3,
        	Proteins = 2,
        	Lipids = 0,
        	Calories = 12,
        	CustomEatSound = EatingFruit,
        	WorldStaticModel = BerryGeneric1,
        	OnEat = OnEat_WildFoodGeneric,
	}

Berry BerryGeneric2.png Retrieved: Build 41.68

	item BerryGeneric2
	{
		DisplayCategory = Food,
		HungerChange	=	-10,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	true,
		Type	=	Food,
		DisplayName	=	Berries,
		Icon	=	BerryGeneric2,
        	DaysTotallyRotten	=	10,
        	DaysFresh	=	6,
        	EvolvedRecipe = Cake:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,
        	FoodType    =   Fruits,
        	ThirstChange	=	-1,
        	HerbalistType = Berry,
        	Carbohydrates = 5,
        	Proteins = 4,
        	Lipids = 0,
        	Calories = 23,
        	CustomEatSound = EatingFruit,
        	WorldStaticModel = BerryGeneric2,
        	OnEat = OnEat_WildFoodGeneric,
	}

Berry BerryGeneric3.png Retrieved: Build 41.68

	item BerryGeneric3
	{
		DisplayCategory = Food,
		HungerChange	=	-5,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	true,
		Type	=	Food,
		DisplayName	=	Berries,
		Icon	=	BerryGeneric3,
        	DaysTotallyRotten	=	10,
        	DaysFresh	=	6,
        	EvolvedRecipe = Cake:5;FruitSalad:5;Pancakes:5;Waffles:5;Muffin:5,
        	FoodType    =   Fruits,
        	ThirstChange	=	-1,
        	HerbalistType = Berry,
        	Carbohydrates = 3,
        	Proteins = 2,
        	Lipids = 0,
        	Calories = 8,
        	CustomEatSound = EatingFruit,
        	WorldStaticModel = BerryGeneric3,
        	OnEat = OnEat_WildFoodGeneric,
	}

Berry BerryGeneric4.png Retrieved: Build 41.68

	item BerryGeneric4
	{
		DisplayCategory = Food,
		HungerChange	=	-10,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	true,
		Type	=	Food,
		DisplayName	=	Berries,
		Icon	=	BerryGeneric4,
        	DaysTotallyRotten	=	10,
       		DaysFresh	=	6,
        	EvolvedRecipe = Cake:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,
        	FoodType    =   Fruits,
        	ThirstChange	=	-1,
        	HerbalistType = Berry,
        	Carbohydrates = 5,
        	Proteins = 4,
        	Lipids = 0,
        	Calories = 23,
        	CustomEatSound = EatingFruit,
        	WorldStaticModel = BerryGeneric4,
        	OnEat = OnEat_WildFoodGeneric,
	}

Berry BerryGeneric5.png Retrieved: Build 41.68

	item BerryGeneric5
	{
		DisplayCategory = Food,
		HungerChange	=	-10,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	true,
		Type	=	Food,
		DisplayName	=	Berries,
		Icon	=	BerryGeneric5,
        	DaysTotallyRotten	=	10,
        	DaysFresh	=	6,
        	EvolvedRecipe = Cake:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,
        	FoodType    =   Fruits,
        	ThirstChange	=	-1,
        	HerbalistType = Berry,
        	Carbohydrates = 5,
        	Proteins = 4,
        	Lipids = 0,
        	Calories = 23,
        	CustomEatSound = EatingFruit,
        	WorldStaticModel = BerryGeneric5,
        	OnEat = OnEat_WildFoodGeneric,
	}

Berry BerryPoisonIvy.png Retrieved: Build 41.68

	item BerryPoisonIvy
	{
		DisplayCategory = Food,
		HungerChange	=	-5,
		Weight	=	0.1,
		AlwaysWelcomeGift	=	true,
		Type	=	Food,
		DisplayName	=	Berries,
		Icon	=	BerryPoisonIvy,
		EvolvedRecipe = Cake:5;FruitSalad:5;Pancakes:5;Waffles:5;Muffin:5,
		FoodType    =   Fruits,
		ThirstChange	=	-1,
        	DaysTotallyRotten	=	10,
        	DaysFresh	=	6,
        	HerbalistType = Berry,
        	Carbohydrates = 5,
        	Proteins = 4,
        	Lipids = 0,
        	Calories = 23,
        	CustomEatSound = EatingFruit,
        	WorldStaticModel = BerryWhite,
        	OnEat = OnEat_WildFoodGeneric,
	}

See also