Pizza: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(36 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Cooking|Evolved recipes}}
'''{{PAGENAME}}''' is a form of food usually found in [[refrigerator]]s. <br>
{{Page version|41.78.16}}
{{Infobox item
|name=Pizza
|model=PizzaRecipe_Model.png
|icon=PizzaWhole.png
|icon_name=Pizza
|model2=Pizza_Model.png
|icon2=PizzaWhole.png
|icon_name2=Pizza (cooked)
|model3=PizzaRotten_Model.png
|icon3=PizzaWhole.png
|icon_name3=Pizza (rotten)
<!--GENERAL-->
|category=Food
|weight=1.8
|days_fresh=3
|days_rotten=5
<!--NUTRITION-->
|hunger_change=-150
|calories=5940
|lipids=234
|proteins=252
|carbohydrates=720
<!--EFFECT-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|item_id=Base.PizzaWhole<br>Base.PizzaRecipe
}}
A '''pizza''' is a perishable [[food]] [[Items|item]].
 
==Usage==
===Consumable properties===
A pizza can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables
{{Consumables
|image = Item_Pizza.png
|image = PizzaWhole.png
|hunger = -25
|hunger = -150
|weight = 0.3
|unhappiness = -10
}}
|unrotten hunger = -113
{{Consumables2
|image = Item_Pizza.png
|hunger = -25
|boredom = -10
|unrotten hunger = -19
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = 0
|rotten hunger = -64
|rotten hunger = -11
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +10
|rotten unhappiness = +10
|perishable = 1
|perishable = 1
|rotten image = Item_Pizza.png
|rotten image = PizzaWhole.png
}}
 
==Crafting==
{{Main|Cooking}}
A pizza can be crafted, allowing the player to add [[Recipe_Ingredients#Pizza_Ingredients|ingredients]], customizing its nutritional values.
{{Crafting/sandbox2
|pizza
|pizza_slice
}}
}}


== Code ==
==Distribution==
<nowiki>item Pizza
The loot distributions can be found in the table(s) below.
    {
 
        HungerChange = -25,
<!--BOT FLAG|PizzaWhole|41.78.16-->
         Weight = 0.3,
{{Clear}}
        Type = Food,
<div class="togglebox theme-red">
        UnhappyChange = -10,
    <div>PizzaWhole distribution
        DisplayName = Pizza,
         <span class="mw-customtoggle-togglebox-PizzaWhole" 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>
        DaysTotallyRotten = 5,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PizzaWhole">
        DaysFresh = 3,
    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">
        Icon = Pizza,
<div class="pz-container">
     }</nowiki>
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | cafeteria
    | {{ll|restaurantdisplay}}
    | 1.87%
    |-
    | cafeteriakitchen
    | {{ll|restaurantdisplay}}
    | 1.87%
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 1.87%
    |-
    | dining
    | {{ll|restaurantdisplay}}
    | 1.87%
    |-
    | italiankitchen
    | {{ll|restaurantdisplay}}
    | 1.87%
    |-
    | italianrestaurant
    | {{ll|displaycase}}
    | 1.87%
    |-
    | italianrestaurant
    | {{ll|restaurantdisplay}}
    | 1.87%
    |-
    | kitchen
    | {{ll|freezer}}
    | 1.87%
    |-
    | livingroom
    | {{ll|freezer}}
    | 1.87%
    |-
    | pizzakitchen
    | {{ll|displaycase}}
    | 1.87%
    |-
    | pizzakitchen
    | {{ll|restaurantdisplay}}
    | 1.87%
    |-
    | pizzakitchen
    | {{ll|stove}}
    | 1.87%
    |-
    | pizzawhirled
    | {{ll|displaycase}}
    | 1.87%
    |-
    | restaurant
    | {{ll|displaycase}}
    | 1.87%
    |-
    | restaurant
    | {{ll|restaurantdisplay}}
    | 1.87%
    |-
    | restaurantkitchen
    | {{ll|restaurantdisplay}}
    | 1.87%
    |}
</div>
    </div><div style="clear: both;"></div>
     </div></div><div class="toggle large mw-customtoggle-togglebox-PizzaWhole" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|PizzaWhole|41.78.16-->
Pizza can be found in [[Pizza Whirled]] kitchens and [[refrigerator]]s.


== History ==
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 5609
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PizzaWhole
{
DisplayName = Pizza,
DisplayCategory = Food,
Type = Food,
Weight = 1.8,
Icon = PizzaWhole,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -150,
UnhappyChange = -10,
Calories = 5940,
Carbohydrates = 720,
Lipids = 234,
Proteins = 252,
WorldStaticModel = Pizza,
BadInMicrowave = true,
}
}}
}}


{| class="wikitable" width="550" style="text-align:center;"
==See also==
|-
*[[Pizza Slice]]
! Alpha || 
|-
| - || -
|}


==See Also==
{{Navbox items|food}}
* [[Items#Luxury Food|Luxury Food]]


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

Latest revision as of 13:32, 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]
Pizza
PizzaRecipe Model.png
Pizza Model.png
PizzaRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
1.8
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-150
CaloriesCalories
5940
CarbohydratesCarbohydrates
720
ProteinsProteins
252
FatFat
234
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.PizzaWhole
Base.PizzaRecipe

A pizza is a perishable food item.

Usage

Consumable properties

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

PizzaWhole.png
Hunger: -150

Unhappiness: -10

PizzaWhole.png
Hunger: -113
Boredom: +10

PizzaWhole.png
Hunger: -64
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Crafting

Main article: Cooking

A pizza can be crafted, allowing the player to add ingredients, customizing its nutritional values.

Product Ingredients Tools Requirements Workstation XP
PizzaWhole.png
Pizza
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
Cornflour.png Corn Flour ×1
Flour.png Flour ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
TomatoPaste.png Tomato Paste ×15 unit(s)
Water.png Water ×3 unit(s)
Salt.png Salt ×2 unit(s)
Yeast.png Yeast ×1 unit(s)
Cheese.png Cheese ×15 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood2.png
Good Cooking Magazine Vol.2
none 10 Cooking
Pizza.png
Pizza 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:
PizzaWhole.png Pizza (Cooked) ×1
none none none 0.75 Cooking

Distribution

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

PizzaWhole 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
cafeteria restaurantdisplay 1.87%
cafeteriakitchen restaurantdisplay 1.87%
dinerkitchen restaurantdisplay 1.87%
dining restaurantdisplay 1.87%
italiankitchen restaurantdisplay 1.87%
italianrestaurant displaycase 1.87%
italianrestaurant restaurantdisplay 1.87%
kitchen freezer 1.87%
livingroom freezer 1.87%
pizzakitchen displaycase 1.87%
pizzakitchen restaurantdisplay 1.87%
pizzakitchen stove 1.87%
pizzawhirled displaycase 1.87%
restaurant displaycase 1.87%
restaurant restaurantdisplay 1.87%
restaurantkitchen restaurantdisplay 1.87%

Pizza can be found in Pizza Whirled kitchens and 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 PizzaWhole
	{
		DisplayName = Pizza,
		DisplayCategory = Food,
		Type = Food,
		Weight = 1.8,
		Icon = PizzaWhole,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -150,
		UnhappyChange = -10,
		Calories = 5940,
		Carbohydrates = 720,
		Lipids = 234,
		Proteins = 252,
		WorldStaticModel = Pizza,
		BadInMicrowave = true,
	}

See also