Pizza: Difference between revisions

From PZwiki
(Update of NavBar.)
(Add distro table)
 
(34 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Cooking|Evolved recipes}}
{{languages|Pizza}}
{{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=Pizza
<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 -->
|model=PizzaRecipe_Model.png
{{Consumables
|icon=PizzaWhole.png
|image = Item_Pizza.png
|icon_name=Pizza
|hunger = -25
|model2=Pizza_Model.png
|unhappiness = -10
|icon2=PizzaWhole.png
|weight = 0.3
|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]].


A slice of pizza is a [[Food#Perishable|perishable]] food item which is found inside of [[refrigerator|freezer]]s and in Pizza Diners ingame.<br><br>
==Usage==
Pizza takes three in-game days to go stale, and five in-game days to rot.
===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.
== Nutritional Information ==
{{Consumables
{| border=0 align=left <!-- Table will be in middle of page without this line -->
|image = PizzaWhole.png
|
|hunger = -150
{{Consumables2
|image = Item_Pizza.png
|hunger = -25
|unhappiness = -10
|unhappiness = -10
|unrotten hunger = -19
|unrotten hunger = -113
|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
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|PizzaWhole|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>PizzaWhole distribution
        <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>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PizzaWhole">
    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
    |-
    | 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-->
 
<!--BOT FLAG|PizzaRecipe|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>PizzaRecipe distribution
        <span class="mw-customtoggle-togglebox-PizzaRecipe" 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-PizzaRecipe">
    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 sortable" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | kitchen
    | {{ll|freezer}}
    | 1.87%
    |-
    | livingroom
    | {{ll|freezer}}
    | 1.87%
    |-
    | pizzakitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | pizzakitchen
    | {{ll|fridge}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-PizzaRecipe" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|PizzaRecipe|41.78.16-->
 
==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,
}
}}
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 120 <br>
Proteins = 42 <br>
Lipids = 39 <br>
Calories = 990 <br><br>


== Code ==
==See also==
<br>
*[[Pizza Slice]]
<nowiki>
    item Pizza
        HungerChange = -25,
        Weight = 0.3,
        Type = Food,
        UnhappyChange = -10,
        DisplayName = Pizza,
        DaysTotallyRotten = 5,
        DaysFresh = 3,
        Icon = Pizza,
        Carbohydrates = 120,
        Proteins = 42,
        Lipids = 39,
        Calories = 990,
    </nowiki>


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


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

Latest revision as of 06:02, 5 May 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%
PizzaRecipe 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
kitchen freezer 1.87%
livingroom freezer 1.87%
pizzakitchen counter 23.28%
pizzakitchen fridge 23.28%

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