Avocado: Difference between revisions

From PZwiki
(Update of items.txt as of 41.65)
m (Update shorthand parameters)
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Avocado}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Avocado
{{Infobox item
|name_colour=Food
|name=Avocado
|name_text_colour=Food
|model=AvocadoModel.png
|image=Avocado_120px.png
|icon=Avocado.png
|alternate_image=AvocadoRotten.png
|icon_name=Avocado
|alternate_link=
|model2=AvocadoRotten_Model.png
|alternate_name=Avocado (Rotten)
|icon2=AvocadoRotten.png
|icon_name2=Avocado (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 22:
|carbohydrates=11.75
|carbohydrates=11.75
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Avocado
|item_id=Base.Avocado
}}An '''avocado''' is a [[Food#Perishable|perishable]] food [[item]].
}}


== Usage ==
An '''avocado''' is a perishable [[food]] [[Items|item]].
=== Consumable properties ===
 
An avocado can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
==Usage==
{{Consumables2
===Consumable properties===
Avocado can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables
|image = Avocado.png
|image = Avocado.png
|hunger = -15
|hunger = -15
|thirst = -7
|thirst = -7
|perishable = 1
|perishable = 1
|cookable = 0
|cookable = 0
|unrotten hunger = -11
|unrotten hunger = -11
|unrotten thirst = -7  
|unrotten thirst = -7
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten boredom = +10
|unrotten boredom = +10
|rotten hunger = -6
|rotten hunger = -6
|rotten unhappiness = +20
|rotten unhappiness = +20
|rotten thirst = -7  
|rotten thirst = -7
|rotten boredom = +20
|rotten boredom = +20
|rotten image = AvocadoRotten.png
|rotten image = AvocadoRotten.png
}}
}}


== Crafting ==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
Avocados are a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem
===Evolved recipes===
|soup=15|stew=15|pie=15|stirfry=15|sandwich=8|salad=15|roastedvegetables=15|ricepot=15|ricepan=15|pastapot=15|pastapan=15|}}
Avocado is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|Omelette=15|Soup=15|Stew=15|Pie=15|Stir fry=15|Sandwich=8|Salad=15|Roasted Vegetables=15|Rice=15|Pasta=15|Taco=15|Burrito=15|}}


==Distribution==
==Distribution==
Avocados are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="2"|all
|[[fridge]]
|4
|1
|-
|[[fridge]]
|4
|2
|-
|mexicankitchen
|[[fridge]]
|4
|8
|-
|sushikitchen
|[[fridge]]
|4
|8
|}
Avocado is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].


== Code ==
==Trivia==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
*This item used to have a slightly different icon at one point: [[File:Avocado-old.png]] for regular version and [[File:AvocadoRotten-old.png]] for rotten version.
{{Retrieved|version=41|incver=65}}
<pre> item Avocado
                DisplayCategory        = Food,
Type = Food,
DisplayName = Avocado,
Icon = Avocado,
Weight = 0.3,
HungerChange = -15,
DaysFresh = 6,
DaysTotallyRotten = 14,
EvolvedRecipe = Omelette:7;Soup:15;Stew:15;Pie:15;Stir fry Griddle Pan:15;Stir fry:15;Sandwich:8;Sandwich Baguette:8;Salad:15;Roasted Vegetables:15;RicePot:15;RicePan:15;PastaPot:15;PastaPan:15;Taco:8;Burrito:8,
FoodType            = Vegetables,
ThirstChange         = -7,
Carbohydrates = 11.75,
Proteins = 2.67,
Lipids = 20.96,
Calories = 227,
                StaticModel            = RoundFood_Green,
                WorldStaticModel        = Avocado_Ground,
</pre>


==See also==
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1065
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Avocado
{
DisplayName = Avocado,
DisplayCategory = Food,
Type = Food,
Weight = 0.3,
Icon = Avocado,
EvolvedRecipe = Omelette:8;Soup:16;Stew:16;Pie:16;Stir fry Griddle Pan:16;Stir fry:16;Sandwich:8;Sandwich Baguette:8;Salad:16;Roasted Vegetables:16;RicePot:16;RicePan:16;PastaPot:16;PastaPan:16;Taco:8;Burrito:8;Toast:8,
FoodType = Vegetables,
DaysFresh = 6,
DaysTotallyRotten = 14,
HungerChange = -16,
ThirstChange = -7,
Calories = 227,
Carbohydrates = 11.75,
Lipids = 20.96,
Proteins = 2.67,
StaticModel = RoundFood_Green,
WorldStaticModel = Avocado_Ground,
}
}}
}}


{{Navbox food}}


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

Revision as of 02:25, 28 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Avocado
AvocadoModel.png
AvocadoRotten Model.png
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
-15
ThirstMoodle Icon Thirsty.png
-7
CaloriesCalories
227
CarbohydratesCarbohydrates
11.75
ProteinsProteins
2.67
FatFat
20.96
Technical
Item ID
Base.Avocado

An avocado is a perishable food item.

Usage

Consumable properties

Avocado 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

Avocado.png
Hunger: -15


Avocado.png
Hunger: -11
Boredom: +10
Unhappiness: +10

AvocadoRotten.png
Hunger: -6
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Avocado is a cooking ingredient.

Product Nutrition
Soup
Soup
15
Stew
Stew
15
Salad
Salad
15
Sandwich
Sandwich
8
Pie (savory)
Pie (savory)
15
Rice Pot/Saucepan
Rice Pot/Saucepan
15
Pasta Pot/Saucepan
Pasta Pot/Saucepan
15
Taco
Taco
15
Burrito
Burrito
15
Omelette
Omelette
15

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
mexicankitchen fridge 4 8
sushikitchen fridge 4 8

Avocado is often found in refrigerators and grocery displays.

Trivia

  • This item used to have a slightly different icon at one point: Avocado-old.png for regular version and AvocadoRotten-old.png for rotten version.

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 Avocado
	{
		DisplayName = Avocado,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Avocado,
		EvolvedRecipe = Omelette:8;Soup:16;Stew:16;Pie:16;Stir fry Griddle Pan:16;Stir fry:16;Sandwich:8;Sandwich Baguette:8;Salad:16;Roasted Vegetables:16;RicePot:16;RicePan:16;PastaPot:16;PastaPan:16;Taco:8;Burrito:8;Toast:8,
		FoodType = Vegetables,
		DaysFresh = 6,
		DaysTotallyRotten = 14,
		HungerChange = -16,
		ThirstChange = -7,
		Calories = 227,
		Carbohydrates = 11.75,
		Lipids = 20.96,
		Proteins = 2.67,
		StaticModel = RoundFood_Green,
		WorldStaticModel = Avocado_Ground,
	}