Pizza: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(32 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Pizza}}
{{Header|Project Zomboid|Items|Food|Cooking|Evolved recipes}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Pizza
{{Infobox item
|name_colour=Food
|name=Pizza
|name_text_colour=Food
|model=PizzaRecipe_Model.png
|image=Pizza_120px.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-->
<!--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
|item_id=Base.PizzaWhole<br>Base.PizzaRecipe
}}'''Pizza''' is a [[Food#Perishable|perishable]] food [[item]].
}}
A '''pizza''' is a perishable [[food]] [[Items|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
{{Consumables
|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
}}
 
==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==
==Distribution==
Pizza can be found in Pizza Whirled kitchens and [[refrigerator]]s.
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|PizzaWhole|41.78.16-->
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=40|incver=7}}
<div class="togglebox theme-red">
<pre> item Pizza
    <div>PizzaWhole distribution
HungerChange = -25,
        <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>
Weight = 0.3,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PizzaWhole">
Type = Food,
    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">
UnhappyChange = -10,
<div class="pz-container">
DisplayName = Pizza,
<div id="containers" style="flex-basis:30%">
DaysTotallyRotten = 5,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
DaysFresh = 3,
    |+ {{ll|Containers}}
Icon = Pizza,
    ! Building/Room
Carbohydrates = 120,
    ! Container
Proteins = 42,
    ! Effective chance
Lipids = 39,
    |-
Calories = 990,</pre>
    | 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.
 
==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==
==See also==
* [[Corndog]]
*[[Pizza Slice]]
* [[Hotdog]]
 
{{Navbox items|food}}


{{Navbox/Consumables}}
[[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