Ham: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (RM reupload. No rotten model as per models_items.txt.)
 
(34 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Protein}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Ham
{{Infobox item
|name_colour=Food
|name=Ham
|name_text_colour=Food
|model=Ham_Model.png
|image=Ham_Model.png
|icon=Ham.png
|image_width=200px
|icon_name=Ham
|alternate_image=Ham.png
|icon2=HamRotten.png
|alternate_name=Ham
|icon_name2=Ham (Rotten)
|alternate_link=
Ham Slice
|alternate_image2=HamRotten.png
|alternate_name2=Ham (Rotten)
|alternate_link2=
|alternate_image3=HamSlices.png
|alternate_name3=Ham Slice
|alternate_link3=Ham Slice
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 14:
|days_fresh=5
|days_fresh=5
|days_rotten=10
|days_rotten=10
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-60
|hunger_change=-60
Line 28: Line 22:
|carbohydrates=91
|carbohydrates=91
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Ham
|item_id=Base.Ham
}}'''Ham''' is a [[Food#Perishable|perishable]] food [[item]] used in [[cooking]].  
}}
A '''ham''' is a perishable [[food]] [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
===Consumable properties===
===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.
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 48: Line 43:


==Crafting==
==Crafting==
===Cooking===
{{Main|Cooking}}
Ham can be sliced into [[Ham_Slice|ham slices]].
 
{{Crafting header|ing=2}}
===What it can make===
{{Crafting cooking|118|ing=2}}
Ham needs to be cut into [[Ham_Slice|slices]] before addition to most recipes.
|}
{{Crafting/sandbox2
====Evolved recipes====
|ham_slice
Ham can be used is various cooking recipes.
}}
{{EvolvedRecipesForItem|omelette=10|sandwich=10|burger=10|salad=10|ricepot=10|ricepan=10|pastapot=10|pastapan=10}}


==Distribution==
==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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 0.89%
    |-
    | all
    | {{ll|fridge}}
    | 3.51%
    |-
    | all
    | {{ll|fridge}}
    | 3.98%
    |-
    | butcher
    | {{ll|displaycasebutcher}}
    | 23.28%
    |-
    | butcher
    | {{ll|displaycasebutcher}}
    | 41.14%
    |-
    | butcher
    | {{ll|freezer}}
    | 19.27%
    |-
    | butcher
    | {{ll|fridge}}
    | 19.27%
    |-
    | dinerkitchen
    | {{ll|freezer}}
    | 15.1%
    |-
    | dinerkitchen
    | {{ll|fridge}}
    | 15.1%
    |-
    | gigamart
    | {{ll|displaycasebutcher}}
    | 23.28%
    |-
    | gigamart
    | {{ll|displaycasebutcher}}
    | 41.14%
    |-
    | gigamartkitchen
    | {{ll|displaycasebutcher}}
    | 23.28%
    |-
    | gigamartkitchen
    | {{ll|displaycasebutcher}}
    | 41.14%
    |-
    | grocery
    | {{ll|displaycasebutcher}}
    | 23.28%
    |-
    | grocery
    | {{ll|displaycasebutcher}}
    | 41.14%
    |-
    | kitchen
    | {{ll|freezer}}
    | 15.1%
    |-
    | kitchen_crepe
    | {{ll|fridge}}
    | 23.28%
    |-
    | livingroom
    | {{ll|freezer}}
    | 15.1%
    |-
    | restaurantkitchen
    | {{ll|freezer}}
    | 15.1%
    |-
    | restaurantkitchen
    | {{ll|fridge}}
    | 15.1%
    |}
</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.
Ham can be found inside [[refrigerator]]s.


== Code ==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=68}}
| {{CodeSnip
<pre> item Ham
  | lang = java
    {
  | line = true
        DisplayCategory = Food,
  | start = 2441
        HungerChange = -60,
  | source = items_food.txt
        Weight = 1,
  | retrieved = true
        AlwaysWelcomeGift = TRUE,
  | version = 41.78.16
        Type = Food,
  | code =
        DisplayName = Ham,
item Ham
        Icon = Ham,
{
        EvolvedRecipe = Omelette:10;Sandwich:10;Sandwich Baguette:10;Burger:10;Salad:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,
DisplayName = Ham,
        FoodType   =   Meat,
DisplayCategory = Food,
        DaysTotallyRotten = 10,
Type = Food,
        DaysFresh = 5,
Weight = 1,
        Carbohydrates = 91,
Icon = Ham,
        Proteins = 117,
/*EvolvedRecipe = Omelette:10;Sandwich:10;Sandwich Baguette:10;Burger:10;Salad:10;RicePot:10;RicePan:10;PastaPot:10;PastaPan:10,*/
        Lipids = 78,
FoodType = Meat,
        Calories = 1560,
Packaged = TRUE,
        Packaged = TRUE,
DaysFresh = 5,
        WorldStaticModel = Ham,
DaysTotallyRotten = 10,
    }</pre>
HungerChange = -60,
Calories = 1560,
Carbohydrates = 91,
Lipids = 78,
Proteins = 117,
WorldStaticModel = Ham,
Tooltip = Tooltip_item_NeedsSliced,
}
}}
}}


==See also==
==See also==
*[[Ham Slice]]
*[[Bacon]]
*[[Bacon]]
*[[Meat Patty]]
*[[Meat Patty]]


{{Navbox_food}}
{{Navbox items|meat}}
 
 
[[Category:Perishable food]]

Latest revision as of 16:13, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
GroceryBag1 GroceryBag1 0.89%
all fridge 3.51%
all fridge 3.98%
butcher displaycasebutcher 23.28%
butcher displaycasebutcher 41.14%
butcher freezer 19.27%
butcher fridge 19.27%
dinerkitchen freezer 15.1%
dinerkitchen fridge 15.1%
gigamart displaycasebutcher 23.28%
gigamart displaycasebutcher 41.14%
gigamartkitchen displaycasebutcher 23.28%
gigamartkitchen displaycasebutcher 41.14%
grocery displaycasebutcher 23.28%
grocery displaycasebutcher 41.14%
kitchen freezer 15.1%
kitchen_crepe fridge 23.28%
livingroom freezer 15.1%
restaurantkitchen freezer 15.1%
restaurantkitchen fridge 15.1%

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