Potato: Difference between revisions

From PZwiki
m (→‎Crafting: file fix (A-L), replaced: File:Empty Jar.png → File:JarEmpty2.png)
m (Automated Formatting)
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Potato}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Potato
{{Infobox item
|name_colour=Food
|name=Potato
|name_text_colour=Food
|model=Potato_Model.png
|image=Potato_120px.png
|icon=Potato.png
|alternate_image=PotatoRotten.png
|icon_name=Potato
|alternate_link=
|model2=PotatoRotten_Model.png
|alternate_name=Potato (Rotten)
|icon2=PotatoRotten.png
|icon_name2=Potato (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.2
|weight=0.2
|days_fresh=14
|days_fresh=14
|days_rotten=28
|days_rotten=14
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-18
|hunger_change=-18
Line 21: Line 22:
|carbohydrates=14.52
|carbohydrates=14.52
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=farming.Potato
|item_id=farming.Potato
}}A '''potato''' is a [[Food#Perishable|perishable]] food [[item]].
}}
{{About|vegetable|crop|Potatoes}}
'''Potato''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===Consumable properties===
Potatoes can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
Potato 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 = Potato.png
|image = Potato.png
|hunger = -18
|hunger = -18
Line 41: Line 44:
|rotten thirst = 0
|rotten thirst = 0
|perishable = 1
|perishable = 1
|rotten image = Potato rotten.png
|rotten image = PotatoRotten.png
}}
}}


== Crafting ==
==Crafting==
Potatoes can be preserved to extend its lifespan by using a [[Empty_Jar|jar]].
Potato can be preserved to extend its lifespan by using a [[Empty Jar|jar]].
{{Crafting header|ing=6}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 2055 -->
{{Crafting/sandbox2
{{Crafting/core|ing=6
|jar_of_potatoes
| product_image = [[File:JarWhite.png|link=Jar of Potatoes|Jar of Potatoes]] | product_name = [[Jar of Potatoes]] | product_quantity = x1
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:JarEmpty2.png|link=Empty Jar|Empty Jar]] | i1 = [[Empty Jar]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:Jar Lid.png|link=Jar Lid|Jar Lid]] | i2 = [[Jar Lid]] | q2 = x1 | tag2 = (consumed)
| f3 = [[File:Potato.png|link=Potato|Potato]] | i3 = [[Potato]] | q3 = x5 | tag3 = (consumed)
| f4 = [[File:Water_drop.png|link=Water|Water]] | i4 = [[Water]] | q4 = (10 units)
| f5 = [[File:Vinegar.png|link=Vinegar|Vinegar]] | i5 = [[Vinegar]] | q5 = (2 units)
| f6 = [[File:Sugar.png|link=Sugar|Sugar]] | i6 = [[Sugar]] | q6 = (1 unit)
}}
}}
|}


=== Evolved recipes ===
===Evolved recipes===
Potatoes are a [[cooking]] [[Recipe Ingredients|ingredient]].
Potato is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|soup=18|stew=18|pie=18|stirfry=18|salad=9|roastedvegetables=18}}
{{EvolvedRecipesForItem|omelette=18|soup=18|stew=18|pie=18|stirfry=18|salad=18|roastedvegetables=18}}
 
===Sack of Potato===
{{Crafting/sandbox2
|potato
}}


==Distribution==
==Distribution==
Potatoes are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
Potato is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
=== Farming ===
 
Potatoes can be grown by [[farming]] with [[Potato Seeds|potato seeds]].
Sacks of potato can be found in grocery stores and warehouses.
{{Crafting header|ing=1}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 5015 -->
 
{{Crafting/core|ing=1
===Farming===
| product_image = [[File:Potato.png|link=Potato|Potato]] | product_name = [[Potato]] | product_quantity = x1-?
Potato can be grown by [[farming]] with [[Potato Seeds|potato seeds]].
| xp = <!-- Not present in the old template. Please fill in manually. -->
{{Crafting/sandbox2
| sl = ''none''
|potatoes
| req =
| f1 = [[File:Potato CropG.png|link=Potato Crop|Potato Crop]] | i1 = [[Farming|Potato Crop]] | q1 = x1
}}
}}
|}


==Code==
{{CodeBox|[[File:Potato.png]] {{ID|Base.Potato}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 97
  | source = farming.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Potato
{
    DisplayCategory = Food,
Type = Food,
DisplayName = Potato,
Icon = Potato,
Weight = 0.2,
HungerChange = -18,
DaysFresh = 14,
DaysTotallyRotten = 28,
        EvolvedRecipe      =      Omelette:9;Soup:18;Stew:18;Pie:18;Stir fry Griddle Pan:18;Stir fry:18;Salad:9;Roasted Vegetables:18,
        ThirstChange = -7,
        FoodType    =  Vegetables,
        Carbohydrates = 14.52,
        Proteins = 2.88,
        Lipids = 0.15,
        Calories = 70,
        WorldStaticModel = Potato_Ground,
}
}}
[[File:Sandbag.png]] {{ID|Base.SackProduce_Potato}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8200
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SackProduce_Potato
{
DisplayName = Sack of Potatoes,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 14,
DaysTotallyRotten = 28,
WorldStaticModel = SandBag,
}
}}
}}
==See also==
*[[Potato Seeds]]
{{Navbox items|plants}}


== Code ==
'''''From farming.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
<pre> item Potato
Type = Food,
DisplayName = Potato,
Icon = Potato,
Weight = 0.2,
HungerChange = -18,
DaysFresh = 14,
DaysTotallyRotten = 28,
        EvolvedRecipe      = Soup:18;Stew:18;Pie:18;Stir fry:18;Salad:9;Roasted Vegetables:18,
        FoodType    = Vegetables,
        Carbohydrates = 14.52,
        Proteins = 2.88,
        Lipids = 0.15,
        Calories = 70,</pre>


{{Navbox/Consumables}}
[[Category:Perishable food]]

Revision as of 11:14, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Potato
Potato Model.png
PotatoRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
14 days
Days until rotten
14 days
Nutrition
HungerMoodle Icon Hungry.png
-18
ThirstMoodle Icon Thirsty.png
-7
CaloriesCalories
70
CarbohydratesCarbohydrates
14.52
ProteinsProteins
2.88
FatFat
0.15
Technical
Item ID
farming.Potato
PlushSpiffo.pngThis article is about vegetable. For crop, see Potatoes.

Potato is a perishable food item.

Usage

Consumable properties

Potato 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

Potato.png
Hunger: -18


Potato.png
Hunger: -13
Boredom: +10
Unhappiness: +10

PotatoRotten.png
Hunger: -8
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Potato can be preserved to extend its lifespan by using a jar.

Product Ingredients Tools Requirements Workstation XP
JarWhite.png
Jar of Potatoes
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Potato.png Potato ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking

Evolved recipes

Potato is a cooking ingredient.

Product Nutrition
Soup
Soup
18
Stew
Stew
18
Salad
Salad
18
Stir Fry
Stir Fry
18
Roasted Vegetables
Roasted Vegetables
18
Pie (savory)
Pie (savory)
18
Omelette
Omelette
18

Sack of Potato

Product Ingredients Tools Requirements Workstation XP
Potato.png
Potato ×12
Sandbag.png Sack of Potato ×1 none none none none

Distribution

Potato is often found in refrigerators and grocery displays.

Sacks of potato can be found in grocery stores and warehouses.

Farming

Potato can be grown by farming with potato seeds.

Product Ingredients Tools Requirements Workstation XP
Potato CropB.png
Potatoes
Plowed land.png Plowed Land ×1
TZ PotatoSeeds.png Potato Seeds ×4
WaterDrop.png Water ×65 unit(s)
none none none none

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Potato.png Base.Potato
Source: ProjectZomboid\media\scripts\farming.txt

Retrieved: Build 41.78.16
item Potato
	{
	    DisplayCategory = Food,
		Type				=		Food,
		DisplayName			=		Potato,
		Icon				=		Potato,
		Weight				=		0.2,
		HungerChange 		=		-18,
		DaysFresh 			=		14,
		DaysTotallyRotten 	=	 	28,
        EvolvedRecipe       =       Omelette:9;Soup:18;Stew:18;Pie:18;Stir fry Griddle Pan:18;Stir fry:18;Salad:9;Roasted Vegetables:18,
        ThirstChange	=	-7,
        FoodType    =   Vegetables,
        Carbohydrates = 14.52,
        Proteins = 2.88,
        Lipids = 0.15,
        Calories = 70,
        WorldStaticModel = Potato_Ground,
	}

Sandbag.png Base.SackProduce_Potato
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item SackProduce_Potato
	{
		DisplayName = Sack of Potatoes,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = Sandbag,
		CantEat = TRUE,
		DaysFresh = 14,
		DaysTotallyRotten = 28,
		WorldStaticModel = SandBag,
	}

See also