Avocado: Difference between revisions

From PZwiki
m (Corrected Navbar from old prototype format to new template format. Removed old categories (now implemented in automatic navbar code), corrected language bar (coding appears to have malfunctioned), updated code to current.)
m (Distribution table fix)
 
(51 intermediate revisions by 12 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{languages|Avocado}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Consumables|Food|Perishable Food|type=Food|version=Version 38|incver=30}}{{Consumables
{{Infobox item
|image = Avocado.png
|name=Avocado
|hunger = -15
|model=AvocadoModel.png
|thirst = -7  
|icon=Avocado.png
|weight = 0.3
|icon_name=Avocado
}}Avocados is a perishable item that goes bad as time passes, and is found within houses, inside of [[refrigerator]]s, and in produce bins. Avocados take six in-game days to go stale, and fourteen days in-game days to rot. Avocados can be used in multiple recipes.
|model2=AvocadoRotten_Model.png
|icon2=AvocadoRotten.png
|icon_name2=Avocado (Rotten)
<!--GENERAL-->
|category=Food
|weight=0.3
|days_fresh=6
|days_rotten=14
<!--NUTRITION-->
|hunger_change=-15
|thirst_change=-7
|calories=227
|lipids=20.96
|proteins=2.67
|carbohydrates=11.75
<!--TECHNICAL DETAILS-->
|item_id=Base.Avocado
}}
An '''avocado''' is a perishable [[food]] [[Items|item]].


== Nutritional Information ==
==Usage==
{| border=0 align=left
===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.
{{Consumables2
{{Consumables
|image = Avocado.png
|image = Avocado.png
|hunger = -15
|hunger = -15
|thirst = -7
|thirst = -7
|perishable = 1
|perishable = 1
|cookable = 0
|cookable = 0
|dangerous uncooked = 0
|unhappiness = 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
|unrottencooked hunger = 0
|unrottencooked unhappiness = 0
|unrottencooked boredom = 0
|rottencooked hunger = 0
|rottencooked unhappiness = 0
|cooked hunger = 0
|cooked unhappiness = 0
|cooked boredom = 0
|burned hunger = 0
|burned boredom = 0
|burned unhappiness = 0
|burned image =
|rotten image = AvocadoRotten.png
|rotten image = AvocadoRotten.png
|cooked image =
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 11.75 <br>
Proteins = 2.67 <br>
Lipids = 20.96 <br>
Calories = 227 <br><br>


== Evolved Recipes ==
==Crafting==
{{EvolvedRecipesForItem
{{Main|Cooking}}
|soup=15|stew=15|pie=15|stirfry=15|sandwich=8|salad=15|roastedvegetables=15|ricepot=15|ricepan=15|pastapot=15|pastapan=15|}}
 
===Evolved recipes===
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==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Avocado|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Avocado distribution
        <span class="mw-customtoggle-togglebox-Avocado" 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-Avocado">
    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">
<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%
    |-
    | mexicankitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | sushikitchen
    | {{ll|fridge}}
    | 19.27%
    |}
</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
    |-
    | ---
    | 8
    | FarmLand  5<br> Farm  5
    | -50
    | -
    | -
    | -
    | -
    | May<br>June<br>July
    | March<br>April
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Avocado" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Avocado|41.78.16-->
Avocado is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
==Trivia==
*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.
 
==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,
}
}}
}}
 
==See also==
 
{{Navbox items|plants}}


== Code ==
<nowiki>
    item Avocado
        Type = Food,
        DisplayName = Avocado,
        Icon = Avocado,
        Weight = 0.3,
        HungerChange = -15,
        DaysFresh = 6,
        DaysTotallyRotten = 14,
        EvolvedRecipe = Soup:15;Stew:15;Pie:15;Stir fry:15;Sandwich:8;Salad:15;Roasted Vegetables:15;RicePot:15;RicePan:15;PastaPot:15;PastaPan:15,
        FoodType            = Vegetables,
        ThirstChange         = -7,
        Carbohydrates = 11.75,
        Proteins = 2.67,
        Lipids = 20.96,
        Calories = 227,
</nowiki>


==See Also==
[[Category:Perishable food]]
{{Navbox/Consumables}}

Latest revision as of 17:33, 30 April 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.

Avocado 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.
Containers
Building/Room Container Effective chance
GroceryBag1 GroceryBag1 1.01%
GroceryBag2 GroceryBag2 1.61%
all fridge 3.98%
all fridge 6.29%
mexicankitchen fridge 19.27%
sushikitchen fridge 19.27%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
--- 8 FarmLand 5
Farm 5
-50 - - - - May
June
July
March
April

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,
	}

See also