Pizza: Difference between revisions

From PZwiki
m (→‎Distribution: internal link to pizza whirled)
(updated properties, added recipes, added gallery with model variants, and updated code.)
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=78.16}}{{Infobox food
|display_name=Pizza
|display_name=Pizza
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Pizza_Model.png
|image=Pizza_Model.png
|image_width=250px
|image_width=200px
|alternate_image=Pizza.png
|alternate_image=PizzaWhole.png
|alternate_name=Pizza
|alternate_name=Pizza
|alternate_link=
|alternate_link=
|alternate_image2=Pizza.png
|alternate_name2=Pizza Slice
|alternate_link2=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.3
|weight=1.8
|days_fresh=3
|days_fresh=3
|days_rotten=5
|days_rotten=5
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-25
|hunger_change=-150
|calories=990
|calories=5940
|lipids=39
|lipids=234
|proteins=42
|proteins=252
|carbohydrates=120
|carbohydrates=720
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Pizza
|class_name=Base.PizzaWhole<br>Base.PizzaRecipe
}}'''Pizza''' is a [[Food#Perishable|perishable]] food [[item]].
}}'''Pizza''' is a [[Food#Perishable|perishable]] food [[item]].


==Usage==
==Usage==
=== Consumable properties ===
=== Consumable properties ===
A pie slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
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
{{Consumables2
|image = 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
|rotten hunger = -11
|rotten hunger = -64
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +10
|rotten unhappiness = +10
|perishable = 1
|perishable = 1
|rotten image = Pizza.png
|rotten image = PizzaWhole.png
}}
}}


==Cooking==
==Crafting==
You can add ingredients and cook it, see [[Recipe_Ingredients#Pizza_Ingredients|pizza recipes]].
{{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}}
|}


==Distribution==
==Distribution==
Pizza can be found in [[Pizza Whirled]] kitchens and [[refrigerator]]s.
Pizza can be found in [[Pizza Whirled]] kitchens and [[refrigerator]]s.
==Gallery==
<gallery>
File:PizzaRecipe Model.png|Uncooked whole pizza model
File:Pizza Model.png|Cooked whole pizza model
File:PizzaRotten Model.png|Rotten whole pizza model
</gallery>


== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=41|incver=78.16}}
<pre>   item Pizza
<pre> item PizzaWhole
    {
{
        DisplayCategory = Food,
DisplayName = Pizza,
        HungerChange = -25,
DisplayCategory = Food,
        Weight = 0.3,
Type = Food,
        Type = Food,
Weight = 1.8,
        UnhappyChange = -10,
Icon = PizzaWhole,
        DisplayName = Pizza,
DaysFresh = 3,
        DaysTotallyRotten = 5,
DaysTotallyRotten = 5,
        DaysFresh = 3,
HungerChange = -150,
        Icon = Pizza,
UnhappyChange = -10,
        Carbohydrates = 120,
Calories = 5940,
        Proteins = 42,
Carbohydrates = 720,
        Lipids = 39,
Lipids = 234,
        Calories = 990,
Proteins = 252,
        WorldStaticModel = PizzaSlice_Ground,
WorldStaticModel = Pizza,
    }</pre>
BadInMicrowave = true,
}</pre>


==See also==
==See also==
* [[Corndog]]
* [[Corndog]]
* [[Hotdog]]
* [[Hot Dog]]


{{Navbox_food}}
{{Navbox_food}}

Revision as of 07:14, 24 June 2023

Pizza
Pizza
Pizza Pizza Slice
General
Category Food
Encumbrance
Heavy Load
1.8
Days until stale 3 days
Days until rotten 5 days
Nutrition
Hunger
Hunger
-150
Calories
Calories
5940
Carbohydrates
Carbohydrates
720
Proteins
Proteins
252
Fat
Fat
234
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.PizzaWhole
Base.PizzaRecipe

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. Template:Consumables2

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

Pizza can be found in Pizza Whirled kitchens and refrigerators.

Gallery

Code

From items_food.txt (Project Zomboid directory/media/scripts/) 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