Ham: Difference between revisions

From PZwiki
(Update of NavBar.)
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Ham}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
|display_name=Ham
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name_colour=Food
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name_text_colour=Food
{{Consumables
|image=Ham_120px.png
|image = Ham.png
|alternate_image=HamRotten.png
|hunger = -60
|alternate_name=Ham (Rotten)
|weight = 1.0
|alternate_link=
}}
<!--GENERAL-->
A Ham is a [[Food#Perishable|perishable]] food item which is found inside of [[refrigerator]]s. Ham takes five in-game days to go stale, and ten in-game days to rot.
|category=Food
<br><br>
|weight=1
Ham can be sliced into [[Ham_Slices|ham slices]] with a [[Kitchen_Knife|kitchen knife]].
|days_fresh=5
|days_rotten=10
|packaged=True
<!--NUTRITION-->
|hunger_change=-60
|calories=1560
|lipids=78
|proteins=117
|carbohydrates=91
<!--TECHNICAL DETAILS-->
|class_name=Base.Ham
}}'''Ham''' is a [[Food#Perishable|perishable]] food [[item]] used in [[cooking]].  


== Nutritional Information ==
==Usage==
{| border=0 align=left <!-- Table will be in middle of page without this line -->
===Consumable properties===
|
Ham can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables2
|image = Ham.png
|image = Ham.png
Line 28: Line 39:
|rotten image = HamRotten.png
|rotten image = HamRotten.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 91 <br>
Proteins = 117 <br>
Lipids = 78 <br>
Calories = 1560 <br><br>


== Evolved Recipes ==
==Crafting==
<!-- Information for template 'Evolved Recipes', used to explain how much of the food can be put into a meal. -->
===Cooking===
{{EvolvedRecipesForItem
Ham can be sliced into [[Ham_Slice|ham slices]].
|sandwich=10|burger=10|salad=10|ricepot=10|ricepan=10|pastapot=10|pastapan=10}}
{{Cooking table header}}
{{RecipeLookup|2090}}
{{Crafting table footer}}
====Evolved recipes====
Ham can be used is various cooking recipes.
{{EvolvedRecipesForItem|sandwich=10|burger=10|salad=10|ricepot=10|ricepan=10|pastapot=10|pastapan=10}}
 
==Distribution==
Ham can be found inside [[refrigerator]]s.


== Code ==
== Code ==
<br>
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
{{Retrieved|version=40|incver=14}}
    item Ham
<pre> item Ham
HungerChange = -60,
HungerChange = -60,
Weight = 1,
Weight = 1,
AlwaysWelcomeGift = TRUE,
AlwaysWelcomeGift = TRUE,
Type = Food,
Type = Food,
DisplayName = Ham,
DisplayName = Ham,
Icon = Ham,
Icon = Ham,
EvolvedRecipe = Sandwich:10;Burger:10;Salad:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
EvolvedRecipe = Sandwich:10;Burger:10;Salad:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
FoodType    = Meat,
FoodType    = Meat,
        DaysTotallyRotten = 10,
        DaysTotallyRotten = 10,
        DaysFresh = 5,
        DaysFresh = 5,
        Carbohydrates = 91,
        Carbohydrates = 91,
        Proteins = 117,
        Proteins = 117,
        Lipids = 78,
        Lipids = 78,
        Calories = 1560,
        Calories = 1560,
        Packaged = TRUE,
        Packaged = TRUE,</pre>
    </nowiki>
 
==See also==
*[[Bacon]]
*[[Meat Patty]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 17:20, 8 September 2018

Ham
Ham
Ham (Rotten)
General
Category Food
Encumbrance
Heavy Load
1
Days until stale 5 days
Days until rotten 10 days
Packaged True
Nutrition
Hunger
Hunger
-60
Calories
Calories
1560
Carbohydrates
Carbohydrates
91
Proteins
Proteins
117
Fat
Fat
78
Technical details
Item ID Base.Ham

Ham is a perishable food item used in cooking.

Usage

Consumable properties

Ham can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. Template:Consumables2

Crafting

Cooking

Ham can be sliced into ham slices. Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Evolved recipes

Ham can be used is various cooking recipes.

Product Nutrition
Salad
Salad
10
Sandwich
Sandwich
10
Burger
Burger
10
Rice Pot/Saucepan
Rice Pot/Saucepan
10
Pasta Pot/Saucepan
Pasta Pot/Saucepan
10

Distribution

Ham can be found inside refrigerators.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.14

	item Ham
		HungerChange		= -60,
		Weight			= 1,
		AlwaysWelcomeGift	= TRUE,
		Type			= Food,
		DisplayName		= Ham,
		Icon			= Ham,
		EvolvedRecipe 		= Sandwich:10;Burger:10;Salad:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
		FoodType    		= Meat,
        	DaysTotallyRotten	= 10,
        	DaysFresh		= 5,
        	Carbohydrates 		= 91,
        	Proteins 		= 117,
        	Lipids 			= 78,
        	Calories 		= 1560,
        	Packaged 		= TRUE,

See also

Template:Navbox/Consumables