Pie Slice: Difference between revisions

From PZwiki
(Gave pie slice its own page)
 
m (Distribution table update)
(41 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Prepared food}}
{{languages|Cake_Slice}}
{{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: 39.45'''    </div><!-- Code for Version Tag at top -->
|name=Pie Slice
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[: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=PieSlice_Model.png
{{Consumables
|icon=Pie.png
|image = Pie Slice.png
|icon_name=Pie Slice
|hunger = -7
<!--GENERAL-->
|unhappiness = -10
|category=Food
|weight = 0.2
|weight=0.5
|days_fresh=5
|days_rotten=3
<!--NUTRITION-->
|hunger_change=-30
|calories=404
|lipids=20.61
|proteins=54.53
|carbohydrates=20.45
<!--TECHNICAL DETAILS-->
|item_id=Base.Pie
}}
}}
A [[Pie Slice|pie slice]] is a [[Food#Perishable|perishable]] food item which is found inside of [[Containers#Refrigerator/Mini-Fridge|refrigerators]] in homes and stores, and can be crafted from [[Pie|pie]] using a [[Kitchen Knife|kitchen]] or [[Hunting Knife|hunting knife]]. Pie slices take five in-game days to go stale, and eight in-game days to rot.
A '''pie slice''' is a perishable [[food]] [[Items|item]].
<br><br>
The details in this article are based on the pre-spawned pie slices which appear, as custom pies will have different attributes based on the ingredients/cooking skill.


== Nutritional Information ==
==Usage==
{| border=0 align=left <!-- Table will be in middle of page without this line -->
===Consumable properties===
|
Pie slices 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 = Pie.png
|image = Pie.png
|hunger = -30
|hunger = -30
Line 24: Line 32:
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|rotten hunger = -13.5
|rotten hunger = -13
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
Line 30: Line 38:
|rotten image = Pie.png
|rotten image = Pie.png
}}
}}
|}
<br><br><br><br><br><br><br><br><br><br><br>
'''Its Nutritional Values are as follows:'''<br>
Carbohydrates = 20.45 <br>
Proteins = 54.53 <br>
Lipids = 20.61 <br>
Calories = 404 <br>
== Crafting ==
{| class="wikitable sortable" style="text-align:center;"
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
! Crafting Level
{{RecipeLookup|2042}}
|}


== Code ==
==Crafting==
<br>
===Cooking===
<nowiki>item Pie
A player-made [[Recipe ingredients#Pie Ingredients|pie]] can be cut into slices using a [[Kitchen Knife|kitchen knife]] or [[Hunting Knife|hunting knife]].
{{Crafting/sandbox2
|pie_slice
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Pie|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Pie distribution
        <span class="mw-customtoggle-togglebox-Pie" 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-Pie">
    <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
    |-
    | all
    | {{ll|displaycasebakery}}
    | 4
    | 20.0
    |-
    | all
    | {{ll|displaycasebakery}}
    | 4
    | 10.0
    |-
    | breakroom
    | {{ll|fridge}}
    | 4
    | 4.0
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 4
    | 4.0
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Pie" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Pie|41.78.16-->
Pie slices can be found in bakeries, cafes, restaurants, cafeterias, and fridges in daycare centers.
 
==Code==
{{CodeBox|
{{CodeSnip
  | lang = java
  | line = true
  | start = 4652
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Pie
{
{
HungerChange = -30,
DisplayName = Pie Slice,
Weight = 0.5,
DisplayCategory = Food,
Type = Food,
Type = Food,
DaysTotallyRotten = 8,
Weight = 0.5,
DisplayName = Pie Slice,
Icon = Pie,
Icon = Pie,
DaysFresh = 5,
DaysFresh = 5,
DaysTotallyRotten = 8,
        Carbohydrates = 20.45,
HungerChange = -30,
        Proteins = 54.53,
Calories = 404,
        Lipids = 20.61,
Carbohydrates = 20.45,
        Calories = 404,
Lipids = 20.61,
Proteins = 54.53,
StaticModel = PieSlice,
WorldStaticModel = Pie,
}
}
    </nowiki>
}}
}}
 
==See also==
*[[Cake Slice]]
*[[Apple Pie Slice]]
*[[Blueberry Pie Slice]]
*[[Key Lime Pie Slice]]
*[[Lemon Meringue Pie Slice]]
*[[Pumpkin Pie Slice]]
 
{{Navbox items|prepared_food}}


==See Also==
* [[Items#Luxury Food|Luxury Food]]


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

Revision as of 16:18, 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]
Pie Slice
PieSlice Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Properties
Days fresh
5 days
Days until rotten
3 days
Nutrition
HungerMoodle Icon Hungry.png
-30
CaloriesCalories
404
CarbohydratesCarbohydrates
20.45
ProteinsProteins
54.53
FatFat
20.61
Technical
Item ID
Base.Pie

A pie slice is a perishable food item.

Usage

Consumable properties

Pie slices 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

Pie.png
Hunger: -30


Pie.png
Hunger: -23
Boredom: +10
Unhappiness: +10

Pie.png
Hunger: -13
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Cooking

A player-made pie can be cut into slices using a kitchen knife or hunting knife.

Product Ingredients Tools Requirements Workstation XP
Pie.png
Pie Slice ×5
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
KnifeButter.png Butter Knife ×1
KnifeButter.png Bread Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
Each of:
PieWholeCooked.png Pie (Cooked) ×1
none none none 0.75 Cooking

Distribution

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

Pie distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced FridgeOffice 4 4.0
all displaycasebakery 4 20.0
all displaycasebakery 4 10.0
breakroom fridge 4 4.0
cafeteria displaycasebakery 4 4.0
dinerkitchen restaurantdisplay 4 10.0

Pie slices can be found in bakeries, cafes, restaurants, cafeterias, and fridges in daycare centers.

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 Pie
	{
		DisplayName = Pie Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.5,
		Icon = Pie,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -30,
		Calories = 404,
		Carbohydrates = 20.45,
		Lipids = 20.61,
		Proteins = 54.53,
		StaticModel = PieSlice,
		WorldStaticModel = Pie,
	}

See also