Onion: Difference between revisions

From PZwiki
mNo edit summary
No edit summary
Line 1: Line 1:
{{Languages}}
{{languages}}
<table border=0 cellspacing=10 style="float:right; valign=top;"> <tr> <td style="background: #f7f7f7; border: 1px solid #ccc; vertical-align: top; width:180px;"> 
{{Consumables
<div style="margin: 5px; background: #3E3E3E; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#ffffff;"><div style="float: right;"></div> {{PAGENAME}}</div> 
|image = Onion.png
<div style="padding: 0em 1em;">
|weight = 0.2
<center>[[Image: Onion.png|120px]] <small>Hunger: -15</small></center>
}}
</div> 
A perishable food item that goes bad as time passes. Onions are often inside of [[refrigerator]]s, [[containers#Kitchen_cupboard|kitchen cupboards]], and in produce bins. Onions take seven in-game days to go stale, and nine in-game days to rot.
</td></tr></table>
 
A mysterious food with many layers that goes inevitably goes bad if not eaten. The onion reduces hunger by 15 points.
 
Onions may be found in [[Containers|refrigerators]].


== Nutritional Information ==
{{Consumables2
|image = Onion.png
|hunger = -15
|thirst = 0
|unrotten hunger = -11
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten image = Onion.png
|rotten hunger = -6
|rotten boredom = +20
|rotten unhappiness = +20
|rotten thirst = 0
|perishable = 1
|rotten image = Onion rotten.png
}}


== Code ==
== Code ==
  <nowiki>item Onion
  <nowiki>item Onion
{
{
HungerChange = -15,
HungerChange = -15,
Weight = 0.2,
Weight = 0.2,
Type = Food,
Type = Food,
Line 22: Line 34:
Icon = Onion,
Icon = Onion,
DaysFresh = 7,
DaysFresh = 7,
}
EvolvedRecipe = Soup:15;Stew:15;Pie:15;Stir fry:15;Sandwich:5;Burger:10;Salad:10;Roasted Vegetables:15,
</nowiki>
FoodType    =  Vegetables,
 
}</nowiki>
{| class="wikitable sortable" style="text-align:center;"
|-
! Item
! class="unsortable" | Effects
|-
|[[File:Onion.png|32px]]
Ripe
| Hunger -15
|-
|[[File:Onion rotten.png|32px]]
Rotten
| Hunger -?? <br> Unhappiness -??
|}
 
<!--
== Crafting ==
 
ITEM NAME can be used in the following recipes:
 
{| class="wikitable" width="550" style="text-align:center;"
|-
! Ingredients || Other Items || Output || Description
|-
| Ingredient + Ingredient || Oven/None || What the recipe makes || Brief description of what it makes.
|}
-->


{{Navbox/Consumables}}
{{Navbox/Consumables}}
Line 56: Line 42:
[[Category:Food]]
[[Category:Food]]
[[Category:Perishable Food]]
[[Category:Perishable Food]]
[[Category:Version 2.9.9.17]]

Revision as of 22:00, 29 June 2014


A perishable food item that goes bad as time passes. Onions are often inside of refrigerators, kitchen cupboards, and in produce bins. Onions take seven in-game days to go stale, and nine in-game days to rot.

Nutritional Information

Template:Consumables2

Code

item Onion
	{
		HungerChange	=	-15,
		Weight	=	0.2,
		Type	=	Food,
		DaysTotallyRotten	=	9,
		DisplayName	=	Onion,
		Icon	=	Onion,
		DaysFresh	=	7,
		EvolvedRecipe = Soup:15;Stew:15;Pie:15;Stir fry:15;Sandwich:5;Burger:10;Salad:10;Roasted Vegetables:15,
		FoodType    =   Vegetables,
	}

Template:Navbox/Consumables