Ham: Difference between revisions

From PZwiki
(Spam filter issues on posting. Fit evolved recipes in without ham slices detail.)
m (Distribution table update)
(33 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Protein}}
{{languages}}
{{Page version|41.78.16}}
<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 -->
{{Infobox item
<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=Ham
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[ Main_Page|Index]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[Ham|Ham]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Ham_Model.png
{{Consumables
|icon=Ham.png
|image = Ham.png
|icon_name=Ham
|hunger = -60
|icon2=HamRotten.png
|weight = 1.0
|icon_name2=Ham (Rotten)
Ham Slice
<!--GENERAL-->
|category=Food
|weight=1
|days_fresh=5
|days_rotten=10
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-60
|calories=1560
|lipids=78
|proteins=117
|carbohydrates=91
<!--TECHNICAL DETAILS-->
|item_id=Base.Ham
}}
}}
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.
A '''ham''' is a perishable [[food]] [[Items|item]] used in [[cooking]].
<br><br>
Ham can be sliced into [[Ham_Slices|ham slices]] with a [[Kitchen_Knife|kitchen knife]].


== 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
{{Consumables
|image = Ham.png
|image = Ham.png
|hunger = -60
|hunger = -60
Line 28: Line 41:
|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. -->
{{Main|Cooking}}
{{EvolvedRecipesForItem
 
|sandwich=10|burger=10|salad=10|ricepot=10|ricepan=10|pastapot=10|pastapan=10}}
===What it can make===
Ham needs to be cut into [[Ham_Slice|slices]] before addition to most recipes.
{{Crafting/sandbox2
|ham_slice
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Ham|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Ham distribution
        <span class="mw-customtoggle-togglebox-Ham" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Ham">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 0.8
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 1.0
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 0.8
    |-
    | butcher
    | {{ll|displaycasebutcher}}
    | 4
    | 10.0
    |-
    | butcher
    | {{ll|displaycasebutcher}}
    | 4
    | 20.0
    |-
    | butcher
    | {{ll|freezer}}
    | 4
    | 8.0
    |-
    | dinerkitchen
    | {{ll|freezer}}
    | 4
    | 6.0
    |-
    | dinerkitchen
    | {{ll|fridge}}
    | 4
    | 6.0
    |-
    | kitchen
    | {{ll|freezer}}
    | 4
    | 6.0
    |-
    | kitchen_crepe
    | {{ll|fridge}}
    | 4
    | 10.0
    |-
    | restaurantkitchen
    | {{ll|freezer}}
    | 4
    | 6.0
    |-
    | restaurantkitchen
    | {{ll|fridge}}
    | 4
    | 6.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Ham" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Ham|41.78.16-->
Ham can be found inside [[refrigerator]]s.
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 2441
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Ham
{
DisplayName = Ham,
DisplayCategory = Food,
Type = Food,
Weight = 1,
Icon = Ham,
/*EvolvedRecipe = Omelette:10;Sandwich:10;Sandwich Baguette:10;Burger:10;Salad:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,*/
FoodType = Meat,
Packaged = TRUE,
DaysFresh = 5,
DaysTotallyRotten = 10,
HungerChange = -60,
Calories = 1560,
Carbohydrates = 91,
Lipids = 78,
Proteins = 117,
WorldStaticModel = Ham,
Tooltip = Tooltip_item_NeedsSliced,
}
}}
}}
 
==See also==
*[[Ham Slice]]
*[[Bacon]]
*[[Meat Patty]]
 
{{Navbox items|meat}}


== Code ==
<br>
<nowiki>
    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,
    </nowiki>


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

Revision as of 15:42, 24 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]
Ham
Ham Model.png
Ham (Rotten) Ham Slice
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
1
Properties
Packaged
Yes
Days fresh
5 days
Days until rotten
10 days
Nutrition
HungerMoodle Icon Hungry.png
-60
CaloriesCalories
1560
CarbohydratesCarbohydrates
91
ProteinsProteins
117
FatFat
78
Technical
Item ID
Base.Ham

A 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.

Fresh Stale Rotten

Ham.png
Hunger: -60


Ham.png
Hunger: -45
Boredom: +10
Unhappiness: +10

HamRotten.png
Hunger: -27
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

What it can make

Ham needs to be cut into slices before addition to most recipes.

Product Ingredients Tools Requirements Workstation XP
HamSlices.png
Ham Slice ×6
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
Each of:
Ham.png Ham ×1
none none none 0.75 Cooking

Distribution

The loot distributions can be found in the table(s) below.

Ham distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all GroceryBag1 1 0.8
all fridge 4 1.0
all fridge 4 0.8
butcher displaycasebutcher 4 10.0
butcher displaycasebutcher 4 20.0
butcher freezer 4 8.0
dinerkitchen freezer 4 6.0
dinerkitchen fridge 4 6.0
kitchen freezer 4 6.0
kitchen_crepe fridge 4 10.0
restaurantkitchen freezer 4 6.0
restaurantkitchen fridge 4 6.0

Ham can be found inside refrigerators.

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 Ham
	{
		DisplayName = Ham,
		DisplayCategory = Food,
		Type = Food,
		Weight = 1,
		Icon = Ham,
		/*EvolvedRecipe = Omelette:10;Sandwich:10;Sandwich Baguette:10;Burger:10;Salad:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,*/
		FoodType = Meat,
		Packaged = TRUE,
		DaysFresh = 5,
		DaysTotallyRotten = 10,
		HungerChange = -60,
		Calories = 1560,
		Carbohydrates = 91,
		Lipids = 78,
		Proteins = 117,
		WorldStaticModel = Ham,
		Tooltip = Tooltip_item_NeedsSliced,
	}

See also