Pineapple: Difference between revisions

From PZwiki
m (removed incorrect statement (as far as game mechanics are concerned))
m (Automated Formatting)
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{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]].
'''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.
{{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 ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
! colspan="4" | Containers
{{Retrieved|version=40|incver=6}}
|-
<pre> item Pineapple
! Building/Room
Type = Food,
! Container
DisplayName = Pineapple,
! style="width: 3.2em;" | Rolls
Icon = Pineapple,
! style="width: 3.2em;" | Chance
Weight = 0.3,
|-
HungerChange = -25,
|rowspan="2"|all
DaysFresh = 6,
|[[fridge]]
DaysTotallyRotten = 14,
|4
EvolvedRecipe      = Cake:10,
|1
FoodType            = Fruits,
|-
Carbohydrates = 118.7,
|[[fridge]]
Proteins = 4.89,
|4
Lipids = 1.09,
|2
Calories = 452,</pre>
|-
|bakery
|[[fridge]]
|4
|8
|-
|cafe
|[[fridge]]
|4
|8
|-
|rowspan="3"|gigamart
|[[grocerstand]]
|4
|8
|-
|[[grocerstand]]
|4
|8
|-
|[[grocerstand]]
|4
|8
|-
|kitchen_crepe
|[[fridge]]
|4
|8
|}
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]]

Revision as of 11:02, 14 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.

Containers
Building/Room Container Rolls Chance
all fridge 4 1
fridge 4 2
bakery fridge 4 8
cafe fridge 4 8
gigamart grocerstand 4 8
grocerstand 4 8
grocerstand 4 8
kitchen_crepe fridge 4 8

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