Pineapple: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (removed incorrect statement (as far as game mechanics are concerned))
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 40|incver=6}}{{Infobox food
|display_name=Pineapple
|display_name=Pineapple
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Pineapple_Model.png
|image=Pineapple_120px.png
|image_width=150px
|alternate_image=PineappleRotten.png
|alternate_image=Pineapple.png
|alternate_link=
|alternate_link=
|alternate_name=Pineapple
|alternate_name=Pineapple (Rotten)
|alternate_image2=PineappleRotten.png
|alternate_link2=
|alternate_name2=Pineapple (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 27: Line 23:
|class_name=Base.Pineapple
|class_name=Base.Pineapple
}}
}}
A '''pineapple''' is a [[Food#Perishable|perishable]] food [[item]] which grows on trees and are classed as a fruit.
A '''pineapple''' is a [[Food#Perishable|perishable]] food [[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.
A pineapple can be eaten, providing the player with some positive effects, however, these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables2
|image = Pineapple.png
|image = Pineapple.png
Line 52: Line 49:
=== Evolved recipes ===
=== Evolved recipes ===
Pineapples are a [[cooking]] [[Recipe Ingredients|ingredient]].
Pineapples are a [[cooking]] [[Recipe Ingredients|ingredient]].
{{EvolvedRecipesForItem|cake=10|fruitsalad=10|pancakes=10|waffles=10|mufifn=10}}
{{EvolvedRecipesForItem|cake=10|fruitsalad=10}}


== Distribution ==
== Distribution ==
Line 58: Line 55:


== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=40|incver=6}}
<pre>   item Pineapple
<pre> item Pineapple
    {
Type = Food,
        DisplayCategory = Food,
DisplayName = Pineapple,
        Type = Food,
Icon = Pineapple,
        DisplayName = Pineapple,
Weight = 0.3,
        Icon = Pineapple,
HungerChange = -25,
        Weight = 0.3,
DaysFresh = 6,
        HungerChange = -25,
DaysTotallyRotten = 14,
        DaysFresh = 6,
EvolvedRecipe       = Cake:10,
        DaysTotallyRotten = 14,
FoodType           = Fruits,
        EvolvedRecipe       =       Cake:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,
Carbohydrates = 118.7,
        FoodType           =       Fruits,
Proteins = 4.89,
        ThirstChange = -13,
Lipids = 1.09,
        Carbohydrates = 118.7,
Calories = 452,</pre>
        Proteins = 4.89,
        Lipids = 1.09,
        Calories = 452,
        WorldStaticModel = Pineapple_Ground,
        CustomEatSound = EatingFruit,
    }</pre>


== See also ==
== See also ==
Line 87: Line 78:
* [[Banana]]
* [[Banana]]


{{Navbox_food}}
{{Navbox/Consumables}}

Revision as of 14:24, 3 April 2022

Pineapple
Pineapple
Pineapple (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.3
Days until stale 6 days
Days until rotten 14 days
Nutrition
Hunger
Hunger
-25
Thirst
Thirst
-13
Calories
Calories
452
Carbohydrates
Carbohydrates
118.7
Proteins
Proteins
4.89
Fat
Fat
1.09
Technical details
Item ID Base.Pineapple

A pineapple is a perishable food item.

Usage

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.

Template:Consumables2

Crafting

Evolved recipes

Pineapples are a cooking ingredient.

Product Nutrition
Fruit Salad
Fruit Salad
10
Cake
Cake
10

Distribution

Pineapples are often found in refrigerators and grocery displays.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.6

	item Pineapple
		Type			= Food,
		DisplayName		= Pineapple,
		Icon			= Pineapple,
		Weight			= 0.3,
		HungerChange 		= -25,
		DaysFresh 		= 6,
		DaysTotallyRotten 	= 14,
		EvolvedRecipe       	= Cake:10,
		FoodType            	= Fruits,
		Carbohydrates 		= 118.7,
		Proteins 		= 4.89,
		Lipids 			= 1.09,
		Calories 		= 452,

See also

Template:Navbox/Consumables