Pineapple: Difference between revisions

From PZwiki
(new31.9)
 
m (Distribution table fix)
 
(44 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages}}{{Notice|Short}}
{{Header|Project Zomboid|Items|Food|Fruit}}
{{Page version|41.78.16}}
{{Infobox item
|name=Pineapple
|model=Pineapple_Model.png
|icon=Pineapple.png
|icon_name=Pineapple
|icon2=PineappleRotten.png
|icon_name2=Pineapple (Rotten)
<!--GENERAL-->
|category=Food
|weight=0.3
|days_fresh=6
|days_rotten=14
<!--NUTRITION-->
|hunger_change=-24
|thirst_change=-13
|calories=452
|lipids=1.09
|proteins=4.89
|carbohydrates=118.7
<!--TECHNICAL DETAILS-->
|item_id=Base.Pineapple
}}
'''Pineapple''' is a perishable [[food]] [[Items|item]].


==Usage==
===Consumable properties===
Pineapple can be eaten, providing the player with some positive effects, however, these will become negative the longer it's left to perish.
{{Consumables
{{Consumables
|image = Pineapple.png
|image = Pineapple.png
|hunger = -15
|hunger = -24
|weight = 0.3
|thirst = 0
|unrotten hunger = -18
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten image = Pineapple.png
|rotten hunger = -10
|rotten boredom = +20
|rotten unhappiness = +20
|rotten thirst = 0
|perishable = 1
|rotten image = PineappleRotten.png
}}
}}


==Crafting==
===Evolved recipes===
Pineapple is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|pizza=12|cake=12|fruitsalad=8|pancakes=8|waffles=8|muffin=8|coneicecream=4;pie=12|oatmeal=4}}


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


== Nutritional Information ==
<!--BOT FLAG|Pineapple|41.78.16-->
{{Consumables2
{{Clear}}
|image = Cherry.png
<div class="togglebox theme-red">
|hunger = -15
    <div>Pineapple distribution
|perishable = 1
        <span class="mw-customtoggle-togglebox-Pineapple" 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>
|cookable = 0
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Pineapple">
|dangerous uncooked = 0
    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">
|unhappiness = 0
<div class="pz-container">
|unrotten hunger = 0
<div id="containers" style="flex-basis:30%">
|unrotten unhappiness = 0
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
|rotten hunger = 0
    |+ {{ll|Containers}}
|rotten unhappiness = 0
    ! Building/Room
|unrottencooked hunger = 0
    ! Container
|unrottencooked unhappiness = 0
    ! Effective chance
|unrottencooked boredom = 0
    |-
|rottencooked hunger = 0
    | GroceryBag1
|rottencooked unhappiness = 0
    | {{ll|GroceryBag1}}
|cooked hunger = 0
    | 1.01%
|cooked unhappiness = 0
    |-
|cooked boredom = 0
    | GroceryBag2
|burned hunger = 0
    | {{ll|GroceryBag2}}
|burned boredom = 0
    | 1.61%
|burned unhappiness = 0
    |-
|burned image =
    | all
|rotten image = PineappleRotten.png
    | {{ll|fridge}}
|cooked image =  
    | 3.98%
}}
    |-
    | all
    | {{ll|fridge}}
    | 6.29%
    |-
    | bakery
    | {{ll|fridge}}
    | 19.27%
    |-
    | bakerykitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | cafe
    | {{ll|fridge}}
    | 19.27%
    |-
    | cafekitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | donut_kitchenstorage
    | {{ll|fridge}}
    | 19.27%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 19.27%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 19.27%
    |-
    | icecreamkitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | 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
    |-
    | ---
    | 10
    | FarmLand  3<br> Farm  3
    | -10
    | -
    | -
    | -
    | -
    | April<br>May<br>June
    | February<br>August
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Pineapple" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Pineapple|41.78.16-->
Pineapple is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].


== Evolved Recipes ==
==Gallery==
{{EvolvedRecipesForItem
<gallery>
|cake=8}}
Pineapple Model.png|Pineapple model when placed in the world
PineappleRotten Model.png|Rotten pineapple model when placed in the world
</gallery>


== Code ==
==Code==
<nowiki>item Pineapple
{{CodeBox
    {
| {{CodeSnip
        Type = Food,
  | lang = java
        DisplayName = Pineapple,
  | line = true
        Icon = Pineapple,
  | start = 1473
        Weight = 0.3,
  | source = items_food.txt
        HungerChange = -15,
  | retrieved = true
        DaysFresh = 6,
  | version = 41.78.16
        DaysTotallyRotten = 14,
  | code =
        EvolvedRecipe      =       Cake:8,
item Pineapple
        FoodType            =       Fruits,
{
    }</nowiki>
DisplayName = Pineapple,
 
DisplayCategory = Food,
== History ==
Type = Food,
Weight = 0.3,
Icon = Pineapple,
EvolvedRecipe = Pizza:12;Cake:12;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8;ConeIcecream:4;PieSweet:12;Oatmeal:4,
FoodType = Fruits,
DaysFresh = 6,
DaysTotallyRotten = 14,
HungerChange = -24,
ThirstChange = -13,
Calories = 452,
Carbohydrates = 118.7,
Lipids = 1.09,
Proteins = 4.89,
CustomEatSound = EatingFruit,
WorldStaticModel = Pineapple_Ground,
}
}}
}}


{| class="wikitable" width="550" style="text-align:center;"
==See also==
|-
*[[Lemon]]
! Alpha || 
*[[Orange]]
|-
*[[Apple]]
| Ver31.9 || -
*[[Banana]]
|}


==See Also==
{{Navbox items|plants}}
* [[Recipe_Ingredients]]




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

Latest revision as of 19:35, 30 April 2024

Project ZomboidItemsFoodFruitPineapple
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Pineapple
Pineapple Model.png
Pineapple (Rotten)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Days fresh
6 days
Days until rotten
14 days
Nutrition
HungerMoodle Icon Hungry.png
-24
ThirstMoodle Icon Thirsty.png
-13
CaloriesCalories
452
CarbohydratesCarbohydrates
118.7
ProteinsProteins
4.89
FatFat
1.09
Technical
Item ID
Base.Pineapple

Pineapple is a perishable food item.

Usage

Consumable properties

Pineapple 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

Pineapple.png
Hunger: -24


Pineapple.png
Hunger: -18
Boredom: +10
Unhappiness: +10

PineappleRotten.png
Hunger: -10
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Evolved recipes

Pineapple is a cooking ingredient.

Product Nutrition
Fruit Salad
Fruit Salad
8
Cake
Cake
12
Pizza
Pizza
12
Muffin
Muffin
8
Pancakes
Pancakes
8
Waffles
Waffles
8
Oatmeal
Oatmeal
4
Ice Cream Cone
Ice Cream Cone
4;pie=12

Distribution

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

Pineapple 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.01%
GroceryBag2 GroceryBag2 1.61%
all fridge 3.98%
all fridge 6.29%
bakery fridge 19.27%
bakerykitchen fridge 19.27%
cafe fridge 19.27%
cafekitchen fridge 19.27%
donut_kitchenstorage fridge 19.27%
gigamart grocerstand 19.27%
grocery grocerstand 19.27%
icecreamkitchen fridge 19.27%
kitchen_crepe fridge 19.27%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
--- 10 FarmLand 3
Farm 3
-10 - - - - April
May
June
February
August

Pineapple is 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 Pineapple
	{
		DisplayName = Pineapple,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Pineapple,
		EvolvedRecipe = Pizza:12;Cake:12;FruitSalad:8;Pancakes:8;Waffles:8;Muffin:8;ConeIcecream:4;PieSweet:12;Oatmeal:4,
		FoodType = Fruits,
		DaysFresh = 6,
		DaysTotallyRotten = 14,
		HungerChange = -24,
		ThirstChange = -13,
		Calories = 452,
		Carbohydrates = 118.7,
		Lipids = 1.09,
		Proteins = 4.89,
		CustomEatSound = EatingFruit,
		WorldStaticModel = Pineapple_Ground,
	}

See also