Banana: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table fix)
 
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Banana}}
{{Header|Project Zomboid|Items|Food|Fruit}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 40|incver=6}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Banana
{{Infobox item
|name_colour=Food
|name=Banana
|name_text_colour=Food
|model=Banana_Model.png
|image=Banana_120px.png
|icon=Banana.png
|alternate_image=BananaRotten.png
|icon_name=Banana
|alternate_link=
|icon2=BananaRotten.png
|alternate_name=Banana (Rotten)
|icon_name2=Banana (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 21:
|carbohydrates=26.95
|carbohydrates=26.95
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Banana
|item_id=Base.Banana
}}A '''banana''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
'''Banana''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===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
{{Consumables
|image = Banana.png
|image = Banana.png
|hunger = -17
|hunger = -16
|thirst = -5
|thirst = -5
|unrotten hunger = -12
|unrotten hunger = -12
Line 47: Line 49:
}}
}}


== Crafting ==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
{{EvolvedRecipesForItem|cake=10|fruitsalad=10}}
 
===Evolved recipes===
{{EvolvedRecipesForItem|bread=16|cake=16|fruitsalad=8|pancakes=8|waffles=8|muffin=8|coneicecream=4|pie=16|oatmeal=4|sandwich=8}}


==Distribution==
==Distribution==
Bananas are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].  
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Banana|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=40|incver=6}}
<div class="togglebox theme-red">
<pre> item Banana
    <div>Banana distribution
HungerChange = -17,
        <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>
Weight = 0.2,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Banana">
Type = Food,
    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">
DaysTotallyRotten = 7,
<div class="pz-container">
DisplayName = Banana,
<div id="containers" style="flex-basis:30%">
Icon = Banana,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
DaysFresh = 5,
    |+ {{ll|Containers}}
EvolvedRecipe = Cake:10;FruitSalad:10,
    ! Building/Room
FoodType    = Fruits,
    ! Container
ThirstChange = -5,
    ! Effective chance
        Carbohydrates = 26.95,
    |-
        Proteins = 1.29,
    | GroceryBag1
        Lipids = 0.39,
    | {{ll|GroceryBag1}}
        Calories = 105,</pre>
    | 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]].
 
==Gallery==
<gallery>
Banana Model.png|Banana model when placed in the world
BananaRotten Model.png|Rotten banana model when placed in the world
</gallery>
 
==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,
}
}}
}}


==See also==
==See also==
Line 77: Line 234:
*[[Peach]]
*[[Peach]]


{{Navbox/Consumables}}
{{Navbox items|plants}}
 
 
[[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