Pizza Slice: Difference between revisions

From PZwiki
(Created page with "{{languages|Pizza Slice}} {{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food |display_name=Pizza Slice |name_colour=Foo...")
 
m (Distribution table update)
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Pizza Slice}}
{{Header|Project Zomboid|Items|Food|Prepared food}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Pizza Slice
{{Infobox item
|name_colour=Food
|name=Pizza Slice
|name_text_colour=Food
|model=PizzaSlice_Model.png
|image=Pizza_120px.png
|icon=Pizza.png
|icon_name=Pizza Slice
|model2=PizzaSliceRotten_Model.png
|icon2=Pizza.png
|icon_name2=Pizza Slice (rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.3
|weight=0.3
|days_fresh=3
|days_fresh=3
|days_rotten=2
|days_rotten=5
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-25
|hunger_change=-25
Line 19: Line 23:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Pizza
|item_id=Base.Pizza
}}'''Pizza slice''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
A '''pizza slice''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
=== Consumable properties ===
===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.<br>
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.
{{Consumables2
{{Consumables
|image = Pizza.png
|image = Pizza.png
|hunger = -25
|hunger = -25
Line 38: Line 43:
}}
}}


== Crafting ==
==Crafting==
{{Main|Cooking}}
{{Main|Cooking}}
===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
{{Crafting table footer}}
}}


== 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==
==Code==
<gallery>
{{CodeBox
File:PizzaSlice Model.png|Model for: [[File:Pizza.png]]
| {{CodeSnip
File:PizzaSliceRotten Model.png|Model for: [[File:Pizza.png]] (Rotten)
  | lang = java
</gallery>
  | line = true
 
  | start = 5591
== Code ==
  | source = items_food.txt
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
  | retrieved = true
{{Retrieved|version=41|incver=73}}
  | version = 41.78.16
<pre> item Pizza
  | code =
item Pizza
{
{
DisplayName = Pizza Slice,
DisplayName = Pizza Slice,
Line 74: Line 121:
Proteins = 42,
Proteins = 42,
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