Ham: Difference between revisions

From PZwiki
m (→‎Bugs: fixed my version oops in the article's category tags.)
m (Distribution table update)
(41 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages}} __NOTOC__
{{Header|Project Zomboid|Items|Food|Protein}}
'''Ham''' is a form of food usually found in [[refrigerator]]s. <br>
{{Page version|41.78.16}}
'''Ham''' does not appear to rot based on preliminary data. Ham was found in an unpowered fridgeafter 22 days and was not rotten. <br>
{{Infobox item
'''Ham''' is not cookable.
|name=Ham
|model=Ham_Model.png
|icon=Ham.png
|icon_name=Ham
|icon2=HamRotten.png
|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 perishable [[food]] [[Items|item]] used in [[cooking]].


=== Effects ===
==Usage==
[[Hunger]]: -30
===Consumable properties===
'''Weight:''' 0.3
Ham can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables
|image = Ham.png
|hunger = -60
|unrotten hunger = -45
|unrotten boredom = +10
|unrotten unhappiness = +10
|rotten hunger = -27
|rotten boredom = +20
|rotten unhappiness = +20
|perishable = 1
|rotten image = HamRotten.png
}}


{{Navbox/Consumables}}
==Crafting==
[[Category:Consumables]]
{{Main|Cooking}}
[[Category:Food]]
 
[[Category:Non-Perishable Food]]
===What it can make===
[[Category:Version 2.9.9.17]]
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}}
 
 
[[Category:Perishable food]]

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