Onion
Onion
Properties
Days fresh
7 days
Days until rotten
9 days
Technical
Item ID
Base.Onion
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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Onion Slices x2 |
0.75 Cooking | none | (keep) |
Onion (consumed) |
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 | XP gained | Skill(s) | Recipe | Ingredient 1 |
---|---|---|---|---|
Onion x12 |
0 XP | none | Sack of Onion (consumed) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | fridge | 4 | 2 |
fridge | 4 | 2 | |
fridge | 4 | 2 | |
burgerkitchen | fridge | 4 | 4 |
chinesekitchen | fridge | 4 | 8 |
deepfry_kitchen | fridge | 4 | 8 |
dinerkitchen | fridge | 4 | 4 |
gigamart | grocerstand | 4 | 1 |
grocerstand | 4 | 2 | |
italiankitchen | fridge | 4 | 8 |
mexicankitchen | fridge | 4 | 8 |
restaurantkitchen | fridge | 4 | 4 |
spiffoskitchen | fridge | 4 | 4 |
westernkitchen | fridge | 4 | 8 |
fridge | 4 | 8 |
Onion is often found in refrigerators and grocery displays.
Sacks of onion can be found in grocery stores and warehouses.
Gallery
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
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,
}