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 | 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 | Effective chance |
---|---|---|
GroceryBag1 | GroceryBag1 | 1.61% |
GroceryBag2 | GroceryBag2 | 2.81% |
GroceryBag5 | GroceryBag5 | 12.41% |
all | fridge | 6.29% |
burgerkitchen | fridge | 10.78% |
cafeteriakitchen | fridge | 10.78% |
chinesekitchen | fridge | 19.27% |
deepfry_kitchen | fridge | 19.27% |
dinerkitchen | fridge | 10.78% |
gigamart | grocerstand | 23.28% |
gigamart | grocerstand | 41.14% |
grocery | grocerstand | 23.28% |
grocery | grocerstand | 41.14% |
italiankitchen | fridge | 19.27% |
mexicankitchen | fridge | 19.27% |
restaurantkitchen | fridge | 10.78% |
spiffoskitchen | fridge | 10.78% |
westernkitchen | fridge | 19.27% |
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,
}