Banana: Difference between revisions

From PZwiki
m (Corrected Navbar from old prototype format to new template format. Removed old categories (now implemented in automatic navbar code), corrected language bar (coding appears to have malfunctioned), noted additional use in fruit salad+thirst chg.)
m (Distribution table fix)
 
(45 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Fruit}}
{{languages|Banana}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Consumables|Food|Perishable Food|type=Food|version=Version 38|incver=30}}{{Consumables
{{Infobox item
|image = Banana.png
|name=Banana
|hunger = -17
|model=Banana_Model.png
|thirst = -7
|icon=Banana.png
|weight = 0.2
|icon_name=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.
|icon2=BananaRotten.png
|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
}}
'''Banana''' is a perishable [[food]] [[Items|item]].
 
==Usage==
===Trapping===
{{Main|Trapping}}
Banana can also be used in [[Trapping|traps]] to capture [[Dead Rabbit|rabbits]].


== Nutritional Information ==
===Consumable properties===
{| border=0 align=left
Banana can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
|
{{Consumables
{{Consumables2
|image = Banana.png
|image = Banana.png
|hunger = -17
|hunger = -16
|thirst = -7
|thirst = -5
|unrotten hunger = -12
|unrotten hunger = -12
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten thirst = -7
|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 = -7
|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><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}}


Bananas can be used an [[Recipe Ingredients|cake ingredient]].
==Distribution==
{| class="wikitable sortable" style="text-align:center;"
The loot distributions can be found in the table(s) below.
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
{{RecipeLookup|2041}}
|}


<!--BOT FLAG|Banana|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Banana distribution
        <span class="mw-customtoggle-togglebox-Banana" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Banana">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.61%
    |-
    | GroceryBag2
    | {{ll|GroceryBag2}}
    | 2.81%
    |-
    | Lunchbag
    | {{ll|Lunchbag}}
    | 12.41%
    |-
    | Lunchbox
    | {{ll|Lunchbox}}
    | 12.41%
    |-
    | Lunchbox2
    | {{ll|Lunchbox2}}
    | 12.41%
    |-
    | all
    | {{ll|fridge}}
    | 6.29%
    |-
    | all
    | {{ll|grocerstand}}
    | 19.27%
    |-
    | bakery
    | {{ll|fridge}}
    | 19.27%
    |-
    | bakerykitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | breakroom
    | {{ll|fridge}}
    | 19.27%
    |-
    | cafe
    | {{ll|fridge}}
    | 19.27%
    |-
    | cafekitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | daycare
    | {{ll|fridge}}
    | 19.27%
    |-
    | donut_kitchenstorage
    | {{ll|fridge}}
    | 19.27%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | icecreamkitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | icecreamkitchen
    | {{ll|fridge}}
    | 41.14%
    |-
    | kitchen_crepe
    | {{ll|fridge}}
    | 19.27%
    |}
</div>
    </div><div style="clear: both;"></div>
    {| class="wikitable theme-red" style="width: 98%;"
    |+ {{ll|Foraging}}
    ! rowspan="2" | Amount
    ! rowspan="2" | Skill level
    ! rowspan="2" | Biomes
    ! colspan="4" style="text-align: center;" | Weather modifiers
    ! colspan="3" style="text-align: center;" | Month modifiers
    |-
    ! Snow
    ! Rain
    ! Day
    ! Night
    ! Months available
    ! Bonus months
    ! Malus months
    |-
    | 1-1
    | 9
    | Forest  1<br> FarmLand  3<br> Farm  3
    | -100
    | -
    | -
    | -
    | -
    | March<br>April<br>May<br>June<br>July<br>August<br>September<br>October
    | January<br>February<br>November<br>December
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Banana" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Banana|41.78.16-->
Banana are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].


== Evolved Recipes ==
==Gallery==
{{EvolvedRecipesForItem
<gallery>
|cake=10|fruitsalad=10}}
Banana Model.png|Banana model when placed in the world
BananaRotten Model.png|Rotten banana model when placed in the world
</gallery>


== Trapping ==
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | 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;FruitSalad:10,
FoodType    = Fruits,
ThirstChange = -5,
        Carbohydrates = 26.95,
        Proteins = 1.29,
        Lipids = 0.39,
        Calories = 105,
</nowiki>


{{Navbox/Consumables}}
[[Category:Perishable food]]

Latest revision as of 17:34, 30 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.

Banana distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
GroceryBag1 GroceryBag1 1.61%
GroceryBag2 GroceryBag2 2.81%
Lunchbag Lunchbag 12.41%
Lunchbox Lunchbox 12.41%
Lunchbox2 Lunchbox2 12.41%
all fridge 6.29%
all grocerstand 19.27%
bakery fridge 19.27%
bakerykitchen fridge 19.27%
breakroom fridge 19.27%
cafe fridge 19.27%
cafekitchen fridge 19.27%
daycare fridge 19.27%
donut_kitchenstorage fridge 19.27%
gigamart grocerstand 23.28%
gigamart grocerstand 41.14%
grocery grocerstand 23.28%
grocery grocerstand 41.14%
icecreamkitchen fridge 23.28%
icecreamkitchen fridge 41.14%
kitchen_crepe fridge 19.27%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
1-1 9 Forest 1
FarmLand 3
Farm 3
-100 - - - - March
April
May
June
July
August
September
October
January
February
November
December

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