Onion Slices: Difference between revisions

From PZwiki
(Added onion slices.)
 
m (Insert empty line above each {{Navbox}})
 
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Onion Slices
{{Infobox item
|name_colour=Food
|name=Onion Slices
|name_text_colour=Food
|model=OnionRings_Model.png
|image=Rings.png
|icon=Rings.png
|icon_name=Onion Slices
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.1
|weight=0.1
|days_fresh=4
|days_fresh=4
|days_rotten=3
|days_rotten=7
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-5
|hunger_change=-5
Line 17: Line 18:
|carbohydrates=12
|carbohydrates=12
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.OnionRings
|item_id=Base.OnionRings
}}'''Onion slices''' are a [[Food#Perishable|perishable]] food [[item]] used in [[cooking]].  
}}
'''Onion slices''' are a [[Food#Perishable|perishable]] food [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===Consumable properties===
Onion slices can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Onion slices 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 = Rings.png
|image = Rings.png
|hunger = -5
|hunger = -5
Line 37: Line 39:


==Crafting==
==Crafting==
===Cooking===
{{Main|Cooking}}
[[Onion_Slices|Onion slices]] are made by slicing [[onion]].


{{Crafting header|ing=2}}
===Obtaining===
{{Crafting cooking|137|ing=2}}
Onion slices are made by slicing [[onion]].
{{Crafting table footer}}
{{Crafting/sandbox2
|onion_slices
}}


==== Evolved recipes ====
===What it makes===
{{EvolvedRecipesForItem
Onion slices can be used to make [[Fried Onion Rings|fried onion rings]].
|omelette=5
{{Crafting/sandbox2
|pizza=5
|fried_onion_rings_uncooked
|soup=5
|stew=5
|salad=5
|stirfry=5
|roastedvegetables=5
|sandwich=5
|burger=5
|pie=5
|pastapot=5
|pastapan=5
|ricepot=5
|ricepan=5
}}
}}


== Code ==
===Evolved recipes===
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
Onion slices are a [[cooking]] [[Recipe ingredients|ingredient]].
{{Retrieved|version=41|incver=68}}
{{EvolvedRecipesForItem|pizza=5|omelette=5|soup=5|stew=5|pie=5|stirfry=5|sandwich=5|burger=5|salad=5|roastedvegetables=5|rice=5|pasta=5|taco=5|burrito=5}}
<pre>    item OnionRings
 
    {
==Distribution==
Onion slices do not spawn naturally and can only be obtained through [[#Crafting|crafting]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 7459
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item OnionRings
{
DisplayName = Onion Slices,
DisplayName = Onion Slices,
DisplayCategory = Food,
DisplayCategory = Food,
Line 83: Line 88:
WorldStaticModel = OnionRings_Ground,
WorldStaticModel = OnionRings_Ground,
EvolvedRecipeName = Onion,
EvolvedRecipeName = Onion,
Tooltip = Tooltip_item_NeedsSliced,
}
    }</pre>
}}
}}
 
==See also==
 
{{Navbox items|plants}}
 


{{Navbox_food}}
[[Category:Perishable food]]

Latest revision as of 15:30, 25 April 2024

Project ZomboidItemsFoodVegetablesOnion Slices
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Onion Slices
OnionRings Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Properties
Days fresh
4 days
Days until rotten
7 days
Nutrition
HungerMoodle Icon Hungry.png
-5
CaloriesCalories
30
CarbohydratesCarbohydrates
12
ProteinsProteins
1
FatFat
3
Technical
Item ID
Base.OnionRings

Onion slices are a perishable food item.

Usage

Consumable properties

Onion slices 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

Rings.png
Hunger: -5


Rings.png
Hunger: -3
Boredom: +10
Unhappiness: +10

Rings.png
Hunger: -2
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Obtaining

Onion slices are made by slicing onion.

Product Ingredients Tools Requirements Workstation XP
Rings.png
Onion Slices
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
Machete.png Machete ×1
KnifeFlint.png Stone Knife ×1
Each of:
Onion.png Onion ×1
none none none 0.75 Cooking

What it makes

Onion slices can be used to make fried onion rings.

Product Ingredients Tools Requirements Workstation XP
OnionRings.png
Fried Onion Rings (Uncooked)
One of:
Cornflour.png Corn Flour ×1
Flour.png Flour ×1
Each of:
Rings.png Onion Slices ×1
BakingSoda.png Baking Soda ×1 unit(s)
none none none 0.75 Cooking

Evolved recipes

Onion slices are a cooking ingredient.

Product Nutrition
Soup
Soup
5
Stew
Stew
5
Salad
Salad
5
Stir Fry
Stir Fry
5
Roasted Vegetables
Roasted Vegetables
5
Sandwich
Sandwich
5
Burger
Burger
5
Pie (savory)
Pie (savory)
5
Rice Pot/Saucepan
Rice Pot/Saucepan
5
Pasta Pot/Saucepan
Pasta Pot/Saucepan
5
Taco
Taco
5
Burrito
Burrito
5
Omelette
Omelette
5
Pizza
Pizza
5

Distribution

Onion slices do not spawn naturally and can only be obtained through crafting.

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 OnionRings
	{
		DisplayName = Onion Slices,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = Rings,
		EvolvedRecipe = Pizza:5;Omelette:5;Soup:5;Stew:5;Pie:5;Stir fry Griddle Pan:5;Stir fry:5;Sandwich:5;Sandwich Baguette:5;Burger:5;Salad:5;Roasted Vegetables:5;RicePot:5;RicePan:5;PastaPot:5;PastaPan:5;Taco:5;Burrito:5,
		FoodType = Vegetables,
		DaysFresh = 4,
		DaysTotallyRotten = 7,
		HungerChange = -5,
		Calories = 30,
		Carbohydrates = 12,
		Lipids = 3,
		Proteins = 1,
		WorldStaticModel = OnionRings_Ground,
		EvolvedRecipeName = Onion,
	}

See also