Pineapple: Difference between revisions

From PZwiki
(Update distribution file)
 
(36 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Pineapple}}
{{Header|Project Zomboid|Items|Food|Fruit}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruits|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
|icon_name=Pineapple
|icon2=PineappleRotten.png
|icon_name2=Pineapple (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 11: 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 18: 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]].  
}}
'''Pineapple''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
A pineapple 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.
{{Consumables2
{{Consumables
|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 41: 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.
 
<!--BOT FLAG|Pineapple|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Pineapple distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-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">
<div class="pz-container">
    {| 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 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.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>
    </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]].


== Code ==
==Gallery==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<gallery>
{{Retrieved|version=40|incver=6}}
Pineapple Model.png|Pineapple model when placed in the world
<pre> item Pineapple
PineappleRotten Model.png|Rotten pineapple model when placed in the world
Type = Food,
</gallery>
DisplayName = Pineapple,
 
Icon = Pineapple,
==Code==
Weight = 0.3,
{{CodeBox
HungerChange = -25,
| {{CodeSnip
DaysFresh = 6,
  | lang = java
DaysTotallyRotten = 14,
  | line = true
EvolvedRecipe      = Cake:10,
  | start = 1473
FoodType            = Fruits,
  | source = items_food.txt
Carbohydrates = 118.7,
  | retrieved = true
Proteins = 4.89,
  | version = 41.78.16
Lipids = 1.09,
  | code =
Calories = 452,</pre>
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==
==See also==
*[[Lemon]]
*[[Lemon]]
*[[Orange]]
*[[Orange]]
*[[Apple]]
*[[Banana]]
{{Navbox items|plants}}


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

Latest revision as of 13:32, 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.
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
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%

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