Banana: Difference between revisions

From PZwiki
(Update of NavBar.)
m (Automated Formatting)
(42 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Fruit}}
{{languages}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Banana
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Banana_Model.png
{{Consumables
|icon=Banana.png
|image = Banana.png
|icon_name=Banana
|hunger = -17
|icon2=BananaRotten.png
|weight = 0.2
|icon_name2=Banana (Rotten)
<!--GENERAL-->
|category=Food
|weight=0.2
|days_fresh=5
|days_rotten=7
<!--NUTRITION-->
|hunger_change=-17
|thirst_change=-5
|calories=105
|lipids=0.39
|proteins=1.29
|carbohydrates=26.95
<!--TECHNICAL DETAILS-->
|item_id=Base.Banana
}}
}}
Bananas are [[Food#Perishable|perishable]] food items that goes bad as time passes, when outside of a [[refrigerator]]. Bananas are often found within houses, inside of refrigerators, and in produce bins. Bananas take five in-game days to go stale, and seven in-game days to rot.
'''Banana''' is a perishable [[food]] [[Items|item]].


== Nutritional Information ==
==Usage==
{| border=0 align=left
===Trapping===
|
{{Main|Trapping}}
{{Consumables2
Banana can also be used in [[Trapping|traps]] to capture [[Dead Rabbit|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.
{{Consumables
|image = Banana.png
|image = Banana.png
|hunger = -17
|hunger = -16
|thirst = 0
|thirst = -5
|unrotten hunger = -12
|unrotten hunger = -12
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten thirst = -5
|unrotten image = Banana.png
|unrotten image = Banana.png
|rotten hunger = -7
|rotten hunger = -7
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
|rotten thirst = 0
|rotten thirst = -5
|perishable = 1
|perishable = 1
|rotten image = Rotten_Banana.png
|rotten image = Rotten_Banana.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 26.95 <br>
Proteins = 1.29 <br>
Lipids = 0.39 <br>
Calories = 105 <br><br>


== Crafting ==
==Crafting==
{{Main|Cooking}}
 
===Evolved recipes===
{{EvolvedRecipesForItem|bread=16|cake=16|fruitsalad=8|pancakes=8|waffles=8|muffin=8|coneicecream=4|pie=16|oatmeal=4|sandwich=8}}
 
==Distribution==
The loot distributions can be found in the table(s) below.


Bananas can be used an [[Recipe Ingredients|cake ingredient]].
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
{| class="wikitable sortable" style="text-align:center;"  
! colspan="4" | Containers
|-  
|-
! Name
! Building/Room
! class="unsortable" | Recipe
! Container
! class="unsortable" | Description
! style="width: 3.2em;" | Rolls
{{RecipeLookup|2041}}
! style="width: 3.2em;" | Chance
|-
|rowspan="3"|all
|[[fridge]]
|4
|2
|-
|[[fridge]]
|4
|2
|-
|[[fridge]]
|4
|2
|-
|bakery
|[[fridge]]
|4
|8
|-
|breakroom
|[[fridge]]
|4
|8
|-
|cafe
|[[fridge]]
|4
|8
|-
|rowspan="2"|gigamart
|[[grocerstand]]
|4
|1
|-
|[[grocerstand]]
|4
|2
|-
|kitchen_crepe
|[[fridge]]
|4
|8
|}
|}
Banana are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].


==Gallery==
<gallery>
Banana Model.png|Banana model when placed in the world
BananaRotten Model.png|Rotten banana model when placed in the world
</gallery>


== Evolved Recipes ==
==Code==
{{EvolvedRecipesForItem
{{CodeBox
|cake=10|}}
| {{CodeSnip
 
  | lang = java
== Trapping ==
  | line = true
  | start = 1652
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}
}}


Bananas can also be used in [[Trapping|traps]] to capture [[Dead_Rabbit|rabbits]].
==See also==
*[[Apple]]
*[[Peach]]


Refer to [[Trapping|trapping]] for further information.
{{Navbox items|plants}}


== Code ==
<nowiki>
item Banana
HungerChange = -17,
Weight = 0.2,
Type = Food,
DaysTotallyRotten = 7,
DisplayName = Banana,
Icon = Banana,
DaysFresh = 5,
EvolvedRecipe = Cake:10,
FoodType    = Fruits,
        Carbohydrates = 26.95,
        Proteins = 1.29,
        Lipids = 0.39,
        Calories = 105,
</nowiki>


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 06:21, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Banana
Banana Model.png
Banana (Rotten)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
5 days
Days until rotten
7 days
Nutrition
HungerMoodle Icon Hungry.png
-17
ThirstMoodle Icon Thirsty.png
-5
CaloriesCalories
105
CarbohydratesCarbohydrates
26.95
ProteinsProteins
1.29
FatFat
0.39
Technical
Item ID
Base.Banana

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.

Fresh Stale Rotten

Banana.png
Hunger: -16


Banana.png
Hunger: -12
Boredom: +10
Unhappiness: +10

Rotten Banana.png
Hunger: -7
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Product Nutrition
Fruit Salad
Fruit Salad
8
Sandwich
Sandwich
8
Pie (savory)
Pie (savory)
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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all fridge 4 2
fridge 4 2
fridge 4 2
bakery fridge 4 8
breakroom fridge 4 8
cafe fridge 4 8
gigamart grocerstand 4 1
grocerstand 4 2
kitchen_crepe fridge 4 8

Banana are often found in refrigerators and grocery displays.

Gallery

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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