Onion: Difference between revisions
mNo edit summary |
m (Insert empty line above each {{Navbox}}) |
||
(40 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Vegetables}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Onion | ||
| | |model=Onion_Model.png | ||
| | |icon=Onion.png | ||
| | |icon_name=Onion | ||
|icon2=OnionRotten.png | |||
| | |||
|icon_name2=Onion (Rotten) | |||
|icon3=Rings.png | |||
|icon_name3=Onion Slices | |||
Onion Slices | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 20: | Line 24: | ||
|carbohydrates=6.54 | |carbohydrates=6.54 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Onion | ||
}} | }} | ||
'''Onion''' is a perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
=== Consumable properties === | ===Consumable properties=== | ||
Onion can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. | |||
{{ | {{Consumables | ||
|image = Onion.png | |image = Onion.png | ||
|hunger = -10 | |hunger = -10 | ||
Line 43: | Line 48: | ||
}} | }} | ||
== Crafting == | ==Crafting== | ||
=== Evolved recipes === | ===What it can make=== | ||
{{EvolvedRecipesForItem|soup=10|stew=10|pie=10|stirfry=10|sandwich=5|burger=10|salad=10|roastedvegetables=10| | Onion needs to be cut into [[Onion_Slices|slices]] before addition to most recipes. | ||
{{Crafting/sandbox2 | |||
|onion_slices | |||
}} | |||
===Evolved recipes=== | |||
Onion is a [[cooking]] [[Recipe ingredients|ingredient]]. | |||
{{EvolvedRecipesForItem|soup=10|stew=10|pie=10|stirfry=10|sandwich=5|burger=10|salad=10|roastedvegetables=10|rice=10|pasta=10}} | |||
===Sack of Onion=== | |||
{{Crafting/sandbox2 | |||
|onion | |||
}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|Onion|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Onion distribution | |||
<span class="mw-customtoggle-togglebox-Onion" 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-Onion"> | |||
<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 | |||
| 2.0 | |||
|- | |||
| all | |||
| {{ll|GroceryBag2}} | |||
| 1 | |||
| 4.0 | |||
|- | |||
| all | |||
| {{ll|GroceryBag5}} | |||
| 1 | |||
| 20.0 | |||
|- | |||
| all | |||
| {{ll|fridge}} | |||
| 4 | |||
| 2.0 | |||
|- | |||
| burgerkitchen | |||
| {{ll|fridge}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| chinesekitchen | |||
| {{ll|fridge}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| deepfry_kitchen | |||
| {{ll|fridge}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| dinerkitchen | |||
| {{ll|fridge}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| gigamart | |||
| {{ll|grocerstand}} | |||
| 4 | |||
| 20.0 | |||
|- | |||
| gigamart | |||
| {{ll|grocerstand}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| italiankitchen | |||
| {{ll|fridge}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| mexicankitchen | |||
| {{ll|fridge}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| restaurantkitchen | |||
| {{ll|fridge}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| spiffoskitchen | |||
| {{ll|fridge}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| westernkitchen | |||
| {{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 | |||
|- | |||
| --- | |||
| 3 | |||
| Forest 10<br> DeepForest 10<br> Vegitation 5<br> FarmLand 10<br> Farm 10 | |||
| -10 | |||
| - | |||
| - | |||
| - | |||
| - | |||
| May<br>June<br>July | |||
| March<br>September | |||
|} | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Onion" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Onion|41.78.16--> | |||
Onion is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]]. | |||
Sacks of onion can be found in grocery stores and warehouses. | |||
==Gallery== | |||
<gallery> | |||
Onion Model.png|Onion model when placed in the world | |||
OnionRotten Model.png|Rotten onion model when placed in the world | |||
</gallery> | |||
==Code== | |||
{{CodeBox|[[File:Onion.png]] {{ID|Base.Onion}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1000 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Onion | |||
{ | |||
DisplayName = Onion, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.2, | |||
Icon = Onion, | |||
/*EvolvedRecipe = Omelette:10;Soup:10;Stew:10;Pie:10;Stir fry Griddle Pan:10;Stir fry:10;Sandwich:5;Sandwich Baguette:5;Burger:10;Salad:10;Roasted Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10;Taco:10;Burrito:10,*/ | |||
FoodType = Vegetables, | |||
DaysFresh = 7, | |||
DaysTotallyRotten = 9, | |||
HungerChange = -10, | |||
Calories = 28, | |||
Carbohydrates = 6.54, | |||
Lipids = 0.07, | |||
Proteins = 0.77, | |||
StaticModel = RoundFood_Peach, | |||
WorldStaticModel = Onion_Ground, | |||
EvolvedRecipeName = Mushroom, | |||
Tooltip = Tooltip_item_NeedsSliced, | |||
} | |||
}} | |||
[[File:Sandbag.png]] {{ID|Base.SackProduce_Onion}}<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 8161 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SackProduce_Onion | |||
{ | |||
DisplayName = Sack of Onions, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 2, | |||
Icon = Sandbag, | |||
CantEat = TRUE, | |||
DaysFresh = 7, | |||
DaysTotallyRotten = 9, | |||
WorldStaticModel = SandBag, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
{{Navbox items|plants}} | |||
[[Category:Perishable food]] |
Latest revision as of 15:30, 25 April 2024
Onion is a perishable food item.
Usage
Consumable properties
Onion 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 |
---|---|---|
|
|
|
Crafting
What it can make
Onion needs to be cut into slices before addition to most recipes.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Onion Slices |
One of: Kitchen Knife ×1 Hunting Knife ×1 Machete ×1 Stone Knife ×1 Each of: Onion ×1 |
none | none | none | 0.75 Cooking |
Evolved recipes
Onion is a cooking ingredient.
Product | Nutrition |
---|---|
Soup |
10 |
Stew |
10 |
Salad |
10 |
Stir Fry |
10 |
Roasted Vegetables |
10 |
Sandwich |
5 |
Burger |
10 |
Pie (savory) |
10 |
Rice Pot/Saucepan |
10 |
Pasta Pot/Saucepan |
10 |
Sack of Onion
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Onion ×12 |
Sack of Onion ×1 | none | none | none | none |
Distribution
The loot distributions can be found in the table(s) below.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
all | GroceryBag1 | 1 | 2.0 |
all | GroceryBag2 | 1 | 4.0 |
all | GroceryBag5 | 1 | 20.0 |
all | fridge | 4 | 2.0 |
burgerkitchen | fridge | 4 | 4.0 |
chinesekitchen | fridge | 4 | 8.0 |
deepfry_kitchen | fridge | 4 | 8.0 |
dinerkitchen | fridge | 4 | 4.0 |
gigamart | grocerstand | 4 | 20.0 |
gigamart | grocerstand | 4 | 10.0 |
italiankitchen | fridge | 4 | 8.0 |
mexicankitchen | fridge | 4 | 8.0 |
restaurantkitchen | fridge | 4 | 4.0 |
spiffoskitchen | fridge | 4 | 4.0 |
westernkitchen | fridge | 4 | 8.0 |
Amount | Skill level | Biomes | Weather modifiers | Month modifiers | |||||
---|---|---|---|---|---|---|---|---|---|
Snow | Rain | Day | Night | Months available | Bonus months | Malus months | |||
--- | 3 | Forest 10 DeepForest 10 Vegitation 5 FarmLand 10 Farm 10 |
-10 | - | - | - | - | May June July |
March September |
Onion is often found in refrigerators and grocery displays.
Sacks of onion can be found in grocery stores and warehouses.
Gallery
Code
Base.Onion
Source: ProjectZomboid\media\scripts\items_food.txt
item Onion
{
DisplayName = Onion,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Onion,
/*EvolvedRecipe = Omelette:10;Soup:10;Stew:10;Pie:10;Stir fry Griddle Pan:10;Stir fry:10;Sandwich:5;Sandwich Baguette:5;Burger:10;Salad:10;Roasted Vegetables:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10;Taco:10;Burrito:10,*/
FoodType = Vegetables,
DaysFresh = 7,
DaysTotallyRotten = 9,
HungerChange = -10,
Calories = 28,
Carbohydrates = 6.54,
Lipids = 0.07,
Proteins = 0.77,
StaticModel = RoundFood_Peach,
WorldStaticModel = Onion_Ground,
EvolvedRecipeName = Mushroom,
Tooltip = Tooltip_item_NeedsSliced,
}
Base.SackProduce_Onion
Source: ProjectZomboid\media\scripts\items_food.txt
item SackProduce_Onion
{
DisplayName = Sack of Onions,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 7,
DaysTotallyRotten = 9,
WorldStaticModel = SandBag,
}