Pizza: Difference between revisions

From PZwiki
(Slight error in data entry, put boredom instead of unhappiness noted in code.)
m (Automated CodeBox update)
(28 intermediate revisions by 8 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''' - [[ Main_Page|Index]] -> [[: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 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>
A '''pizza''' is a perishable [[food]] [[Items|item]].
Pizza takes three in-game days to go stale, and five in-game days to rot.


== Nutritional Information ==
==Usage==
{| border=0 align=left <!-- Table will be in middle of page without this line -->
===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.
{{Consumables2
{{Consumables
|image = Item_Pizza.png
|image = PizzaWhole.png
|hunger = -25
|hunger = -150
|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 header|type=food|ing=10}}
{{Crafting cooking|138|ing=10}}
{{Crafting cooking|413|ing=10}}
|}
|}
<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 ==
==Distribution==
<br>
The loot distributions can be found in the table(s) below.
<nowiki>
 
    item Pizza
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
        HungerChange = -25,
! colspan="4" | Containers
        Weight = 0.3,
|-
        Type = Food,
! Building/Room
        UnhappyChange = -10,
! Container
        DisplayName = Pizza,
! style="width: 3.2em;" | Rolls
        DaysTotallyRotten = 5,
! style="width: 3.2em;" | Chance
        DaysFresh = 3,
|-
        Icon = Pizza,
|kitchen
        Carbohydrates = 120,
|[[freezer]]
        Proteins = 42,
|4
        Lipids = 39,
|0.1
        Calories = 990,
|-
    </nowiki>
|rowspan="2"|pizzakitchen
|[[counter]]
|4
|1
|-
|[[fridge]]
|4
|1
|}
Pizza can be found in [[Pizza Whirled]] kitchens and [[refrigerator]]s.
 
==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,
}
}}
}}
 
==See also==
*[[Pizza Slice]]


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


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

Revision as of 11:16, 26 March 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 XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5 Ingredient 6 Ingredient 7 Ingredient 8 Ingredient 9 Ingredient 10
PizzaWhole.png
Pizza
10 Cooking none Chef
OR
Cook (trait)
OR
Good Cooking Magazine Vol. 2
Bowl.png
Empty Bowl
(keep)
RollingPin.png
Rolling Pin
(keep)

(keep)
TomatoPaste.png
Tomato Paste
(15 units)

(consumed)
Water.png
Water
(3 units)

(consumed)
Salt.png
Salt
(2 units)

(consumed)
Yeast.png
Yeast
(1 unit)

(consumed)
Cheese.png
Cheese
(15 units)

(consumed)

(2 units)

(consumed)

(keep)
Pizza Slice
Pizza Slice x6
0.75 Cooking none
(keep)
Pizza (Cooked)
Pizza (Cooked)
(consumed)








Distribution

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

Containers
Building/Room Container Rolls Chance
kitchen freezer 4 0.1
pizzakitchen counter 4 1
fridge 4 1

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