Pie Slice: Difference between revisions

From PZwiki
m (fixed container links)
(Update distribution file)
 
(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 = -30
<!--GENERAL-->
|weight = 0.5
|category=Food
|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|refrigerators]] and [[Containers#Displays|display cases]] in homes and stores. It 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 23: 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 29: 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>
A player-made [[Recipe ingredients#Pie Ingredients|pie]] can be cut into slices using a [[Kitchen Knife|kitchen knife]] or [[Hunting Knife|hunting knife]].
item Pie
{{Crafting/sandbox2
HungerChange = -30,
|pie_slice
Weight = 0.5,
}}
Type = Food,
 
DaysTotallyRotten = 8,
==Distribution==
DisplayName = Pie Slice,
The loot distributions can be found in the table(s) below.
Icon = Pie,
 
DaysFresh = 5,
<!--BOT FLAG|Pie|41.78.16-->
        Carbohydrates = 20.45,
{{Clear}}
        Proteins = 54.53,
<div class="togglebox theme-red">
        Lipids = 20.61,
    <div>Pie distribution
        Calories = 404,
        <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>
    </nowiki>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Pie">
    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">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | all
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | bakery
    | {{ll|displaycase}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycase}}
    | 41.14%
    |-
    | bakery
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | bakery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | bakery
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | bakery
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | bakery
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | bakerykitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | bakerykitchen
    | {{ll|restaurantdisplay}}
    | 41.14%
    |-
    | breakroom
    | {{ll|fridge}}
    | 10.78%
    |-
    | cafe
    | {{ll|displaycase}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycase}}
    | 41.14%
    |-
    | cafe
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | cafe
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | cafe
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | cafe
    | {{ll|shelves}}
    | 23.28%
    |-
    | cafe
    | {{ll|shelves}}
    | 41.14%
    |-
    | cafeteria
    | {{ll|displaycasebakery}}
    | 10.78%
    |-
    | cornerstore
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | daycare
    | {{ll|fridge}}
    | 10.78%
    |-
    | dinerkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | dining
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | gigamart
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | gigamart
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | grocery
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | grocery
    | {{ll|displaycasebakery}}
    | 41.14%
    |-
    | restaurant
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | restaurantkitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |}
</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
{
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==
*[[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]]

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]
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
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
all displaycasebakery 23.28%
all displaycasebakery 41.14%
bakery displaycase 23.28%
bakery displaycase 41.14%
bakery displaycasebakery 23.28%
bakery displaycasebakery 41.14%
bakery grocerstand 23.28%
bakery grocerstand 41.14%
bakery restaurantdisplay 23.28%
bakery restaurantdisplay 41.14%
bakerykitchen restaurantdisplay 23.28%
bakerykitchen restaurantdisplay 41.14%
breakroom fridge 10.78%
cafe displaycase 23.28%
cafe displaycase 41.14%
cafe displaycasebakery 23.28%
cafe displaycasebakery 41.14%
cafe grocerstand 23.28%
cafe grocerstand 41.14%
cafe shelves 23.28%
cafe shelves 41.14%
cafeteria displaycasebakery 10.78%
cornerstore displaycasebakery 23.28%
cornerstore displaycasebakery 41.14%
daycare fridge 10.78%
dinerkitchen restaurantdisplay 23.28%
dining restaurantdisplay 23.28%
gigamart displaycasebakery 23.28%
gigamart displaycasebakery 41.14%
grocery displaycasebakery 23.28%
grocery displaycasebakery 41.14%
restaurant restaurantdisplay 23.28%
restaurantkitchen restaurantdisplay 23.28%

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