Pineapple: Difference between revisions

From PZwiki
(Fixing grammatical errors)
m (Distribution table fix)
 
(34 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Pineapple}}
{{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=Pineapple
{{Infobox item
|name_colour=Food
|name=Pineapple
|name_text_colour=Food
|model=Pineapple_Model.png
|image=Pineapple_120px.png
|icon=Pineapple.png
|alternate_image=PineappleRotten.png
|icon_name=Pineapple
|alternate_link=
|icon2=PineappleRotten.png
|alternate_name=Pineapple (Rotten)
|icon_name2=Pineapple (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 14: Line 14:
|days_rotten=14
|days_rotten=14
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-25
|hunger_change=-24
|thirst_change=-13
|thirst_change=-13
|calories=452
|calories=452
Line 21: Line 21:
|carbohydrates=118.7
|carbohydrates=118.7
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Pineapple
|item_id=Base.Pineapple
}}
}}
A '''pineapple''' is a [[Food#Perishable|perishable]] food [[item]] which grows on trees and are classed as a fruit.
'''Pineapple''' is a perishable [[food]] [[Items|item]].


== Usage ==
==Usage==
=== Consumable properties ===
===Consumable properties===
Pineapples can be eaten, providing the player with some positive effects, however, these will become negative the longer it's left to perish.
Pineapple 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 = Pineapple.png
|image = Pineapple.png
|hunger = -25
|hunger = -24
|thirst = 0
|thirst = 0
|unrotten hunger = -19
|unrotten hunger = -18
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten thirst = 0
|unrotten image = Pineapple.png
|unrotten image = Pineapple.png
|rotten hunger = -11
|rotten hunger = -10
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
Line 46: Line 45:
}}
}}


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


== Distribution ==
==Distribution==
Pineapples 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|Pineapple|41.78.16-->
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=40|incver=6}}
<div class="togglebox theme-red">
<pre> item Pineapple
    <div>Pineapple distribution
Type = Food,
        <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>
DisplayName = Pineapple,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Pineapple">
Icon = Pineapple,
    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">
Weight = 0.3,
<div class="pz-container">
HungerChange = -25,
<div id="containers" style="flex-basis:30%">
DaysFresh = 6,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
DaysTotallyRotten = 14,
    |+ {{ll|Containers}}
EvolvedRecipe      = Cake:10,
    ! Building/Room
FoodType            = Fruits,
    ! Container
Carbohydrates = 118.7,
    ! Effective chance
Proteins = 4.89,
    |-
Lipids = 1.09,
    | GroceryBag1
Calories = 452,</pre>
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | GroceryBag2
    | {{ll|GroceryBag2}}
    | 1.61%
    |-
    | all
    | {{ll|fridge}}
    | 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]].


== See also ==
==Gallery==
* [[Lemon]]
<gallery>
* [[Orange]]
Pineapple Model.png|Pineapple model when placed in the world
* [[Apple]]
PineappleRotten Model.png|Rotten pineapple model when placed in the world
* [[Banana]]
</gallery>


{{Navbox/Consumables}}
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1473
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
*[[Lemon]]
*[[Orange]]
*[[Apple]]
*[[Banana]]
 
{{Navbox items|plants}}
 
 
[[Category:Perishable 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