Banana: Difference between revisions

From PZwiki
m (items.txt to items_food.txt)
mNo edit summary
Line 1: Line 1:
{{languages|Banana}}
{{languages|Banana}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 40|incver=6}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Banana
|display_name=Banana
|name_colour=Food
|name_colour=Food
Line 12: Line 12:
|weight=0.2
|weight=0.2
|days_fresh=5
|days_fresh=5
|days_rotten=7
|days_rotten=2
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-17
|hunger_change=-17
Line 27: Line 27:
===Trapping===
===Trapping===
{{Main|Trapping}}
{{Main|Trapping}}
Bananas can also be used in [[Trapping|traps]] to capture [[Dead_Rabbit|rabbits]].
Banana can also be used in [[Trapping|traps]] to capture [[Dead_Rabbit|rabbits]].
 
===Consumable properties===
===Consumable properties===
A banana can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.  
Banana can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.  
{{Consumables2
{{Consumables2
|image = Banana.png
|image = Banana.png
|hunger = -17
|hunger = -16
|thirst = -5
|thirst = -5
|unrotten hunger = -12
|unrotten hunger = -12
Line 49: Line 50:
== Crafting ==
== Crafting ==
=== Evolved recipes ===
=== Evolved recipes ===
{{EvolvedRecipesForItem|cake=10|fruitsalad=10}}
{{EvolvedRecipesForItem|Bread=16|Cake=16|FruitSalad=8|Pancakes=8|Waffles=8|Muffin=8|ConeIcecream=4|PieSweet=16|Oatmeal=4|Sandwich=8|}}


==Distribution==
==Distribution==
Bananas are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].  
Banana are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
==Gallery==
<gallery>
File:Banana Model.png|Banana model when placed in the world.
File:BananaRotten Model.png|Rotten banana model when placed in the world.
</gallery>


== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
{{Retrieved|version=41|incver=73}}
<pre> item Banana
<pre> item Banana
                DisplayCategory        = Food,
{
HungerChange = -17,
DisplayName = Banana,
Weight = 0.2,
DisplayCategory = Food,
Type = Food,
Type = Food,
DaysTotallyRotten = 7,
Weight = 0.2,
DisplayName = Banana,
Icon = Banana,
Icon = Banana,
EvolvedRecipe = Bread:16;Cake:16;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8;ConeIcecream:4;PieSweet:16;Oatmeal:4;Sandwich:8;Sandwich Baguette:8,
DaysFresh = 5,
FoodType = Fruits,
EvolvedRecipe = Cake:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,
DaysFresh = 5,
FoodType   = Fruits,
DaysTotallyRotten = 7,
ThirstChange = -5,
HungerChange = -16,
        Carbohydrates = 26.95,
ThirstChange = -5,
        Proteins = 1.29,
Calories = 105,
        Lipids = 0.39,
Carbohydrates = 26.95,
        Calories = 105,
Lipids = 0.39,
                StaticModel             = CylinderFood_Yellow,
Proteins = 1.29,
                WorldStaticModel       = Banana_Ground,
CustomEatSound = EatingMushy,
                CustomEatSound          = EatingMushy,</pre>
StaticModel = CylinderFood_Yellow,
WorldStaticModel = Banana_Ground,
}</pre>


==See also==
==See also==
Line 81: Line 90:
*[[Peach]]
*[[Peach]]


{{Navbox/Consumables}}
{{Navbox food}}

Revision as of 17:11, 28 September 2022

Banana
Banana
Banana (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 5 days
Days until rotten 2 days
Nutrition
Hunger
Hunger
-17
Thirst
Thirst
-5
Calories
Calories
105
Carbohydrates
Carbohydrates
26.95
Proteins
Proteins
1.29
Fat
Fat
0.39
Technical details
Item ID Base.Banana

A banana is a perishable food item.

Usage

Trapping

Main article: Trapping

Banana can also be used in traps to capture rabbits.

Consumable properties

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

Crafting

Evolved recipes

Product Nutrition
Fruit Salad
Fruit Salad
8
Sandwich
Sandwich
8
Pie (sweet)
Pie (sweet)
16
Cake
Cake
16
Muffin
Muffin
8
Pancakes
Pancakes
8
Waffles
Waffles
8
Oatmeal
Oatmeal
4
Ice Cream Cone
Ice Cream Cone
4
Bread
Bread
16

Distribution

Banana are often found in refrigerators and grocery displays.

Gallery

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

	item Banana
	{
		DisplayName = Banana,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Banana,
		EvolvedRecipe = Bread:16;Cake:16;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8;ConeIcecream:4;PieSweet:16;Oatmeal:4;Sandwich:8;Sandwich Baguette:8,
		FoodType = Fruits,
		DaysFresh = 5,
		DaysTotallyRotten = 7,
		HungerChange = -16,
		ThirstChange = -5,
		Calories = 105,
		Carbohydrates = 26.95,
		Lipids = 0.39,
		Proteins = 1.29,
		CustomEatSound = EatingMushy,
		StaticModel = CylinderFood_Yellow,
		WorldStaticModel = Banana_Ground,
	}

See also