Pineapple: Difference between revisions

From PZwiki
m (Remove 120px, minor fixes)
m (Distribution table update)
 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Fruit}}
|display_name=Pineapple
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Pineapple
|image=Pineapple.png
|model=Pineapple_Model.png
|alternate_image=PineappleRotten.png
|icon=Pineapple.png
|alternate_link=
|icon_name=Pineapple
|alternate_name=Pineapple (Rotten)
|icon2=PineappleRotten.png
|icon_name2=Pineapple (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 21:
|carbohydrates=118.7
|carbohydrates=118.7
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Pineapple
|item_id=Base.Pineapple
}}'''Pineapple''' is a [[Food#Perishable|perishable]] food [[item]].
}}
'''Pineapple''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===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.
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 = -24
|hunger = -24
Line 45: Line 46:


==Crafting==
==Crafting==
===Evolved recipes===
===Evolved recipes===
Pineapple is a [[cooking]] [[Recipe Ingredients|ingredient]].
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}}
{{EvolvedRecipesForItem|pizza=12|cake=12|fruitsalad=8|pancakes=8|waffles=8|muffin=8|coneicecream=4;pie=12|oatmeal=4}}


==Distribution==
==Distribution==
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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|GroceryBag2}}
    | 1
    | 2.0
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 1.0
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 2.0
    |-
    | bakery
    | {{ll|fridge}}
    | 4
    | 8.0
    |-
    | cafe
    | {{ll|fridge}}
    | 4
    | 8.0
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 4
    | 8.0
    |-
    | kitchen_crepe
    | {{ll|fridge}}
    | 4
    | 8.0
    |}
</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]].
Pineapple is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].


==Gallery==
==Gallery==
<gallery>
<gallery>
File:Pineapple Model.png|Pineapple model when placed in the world.
Pineapple Model.png|Pineapple model when placed in the world
File:PineappleRotten Model.png|Rotten pineapple model when placed in the world.
PineappleRotten Model.png|Rotten pineapple model when placed in the world
</gallery>
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
    item Pineapple
  | line = true
  | start = 1473
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Pineapple
{
{
DisplayName = Pineapple,
DisplayName = Pineapple,
Line 73: Line 166:
FoodType = Fruits,
FoodType = Fruits,
DaysFresh = 6,
DaysFresh = 6,
DaysTotallyRotten = 8,
DaysTotallyRotten = 14,
HungerChange = -24,
HungerChange = -24,
ThirstChange = -13,
ThirstChange = -13,
Line 83: Line 176:
WorldStaticModel = Pineapple_Ground,
WorldStaticModel = Pineapple_Ground,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 91: Line 185:
*[[Banana]]
*[[Banana]]


{{Navbox food}}
{{Navbox items|plants}}
 
 
[[Category:Perishable food]]

Latest revision as of 16:18, 24 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
Containers
Building / Room Container Rolls Chance
all GroceryBag1 1 1.0
all GroceryBag2 1 2.0
all fridge 4 1.0
all fridge 4 2.0
bakery fridge 4 8.0
cafe fridge 4 8.0
gigamart grocerstand 4 8.0
kitchen_crepe fridge 4 8.0
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