Pizza Slice: Difference between revisions

From PZwiki
m (Minor fixes)
m (Distribution table update)
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Prepared food}}
{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=78.16}}
{{Page version|41.78.16}}
{{Infobox food
{{Infobox item
|display_name=Pizza Slice
|name=Pizza Slice
|name_colour=Food
|model=PizzaSlice_Model.png
|name_text_colour=Food
|icon=Pizza.png
|image=PizzaSlice_Model.png
|icon_name=Pizza Slice
|image_width=200px
|model2=PizzaSliceRotten_Model.png
|alternate_image=Pizza.png
|icon2=Pizza.png
|alternate_name=Pizza Slice
|icon_name2=Pizza Slice (rotten)
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 24: Line 23:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Pizza
|item_id=Base.Pizza
}}
}}
A '''pizza slice''' is a [[Food#Perishable|perishable]] food [[item]].  
A '''pizza slice''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 48: Line 47:


===Obtaining===
===Obtaining===
Pizza slice is made by cutting [[pizza]]
Pizza slice is made by cutting [[pizza]].
{{Crafting header|type=food|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|413|ing=2}}
|pizza_slice
|}
}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Pizza|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Pizza distribution
        <span class="mw-customtoggle-togglebox-Pizza" 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-Pizza">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|FridgeOffice}}
    | 4
    | 4.0
    |-
    | cafeteria
    | {{ll|restaurantdisplay}}
    | 4
    | 10.0
    |-
    | cafeteria
    | {{ll|restaurantdisplay}}
    | 4
    | 20.0
    |-
    | motelroomoccupied
    | {{ll|fridge}}
    | 1
    | 6.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Pizza" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Pizza|41.78.16-->
Pizza slice can often found inside [[Containers#Displays|displays]] in restaurant.
Pizza slice can often found inside [[Containers#Displays|displays]] in restaurant.
==Gallery==
<gallery>
PizzaSlice Model.png|Model for: [[File:Pizza.png]]
PizzaSliceRotten Model.png|Model for: [[File:Pizza.png]] (Rotten)
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
item Pizza
  | line = true
  | start = 5591
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Pizza
{
{
DisplayName = Pizza Slice,
DisplayName = Pizza Slice,
Line 83: Line 122:
WorldStaticModel = PizzaSlice_Ground,
WorldStaticModel = PizzaSlice_Ground,
}
}
</pre>
}}
}}
 
==See also==
*[[Pizza]]
 
{{Navbox items|prepared_food}}
 


{{Navbox food}}
[[Category:Perishable food]]

Revision as of 16:19, 24 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 Slice
PizzaSlice Model.png
PizzaSliceRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-25
CaloriesCalories
990
CarbohydratesCarbohydrates
120
ProteinsProteins
42
FatFat
39
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.Pizza

A pizza slice is a perishable food item.

Usage

Consumable properties

Pizza slice can be eaten, providing the player with some positive and negative effects, however these will become more negative the longer it's left to perish.

Fresh Stale Rotten

Pizza.png
Hunger: -25


Pizza.png
Hunger: -19
Boredom: +10

Pizza.png
Hunger: -11
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Obtaining

Pizza slice is made by cutting pizza.

Product Ingredients Tools Requirements Workstation XP
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.

Pizza distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced FridgeOffice 4 4.0
cafeteria restaurantdisplay 4 10.0
cafeteria restaurantdisplay 4 20.0
motelroomoccupied fridge 1 6.0

Pizza slice can often found inside displays in restaurant.

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 Pizza
	{
		DisplayName = Pizza Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = Pizza,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -25,
		UnhappyChange = -10,
		Calories = 990,
		Carbohydrates = 120,
		Lipids = 39,
		Proteins = 42,
		WorldStaticModel = PizzaSlice_Ground,
	}

See also