Pie Slice: Difference between revisions

From PZwiki
(→‎Code: Codebox)
Line 48: Line 48:


==Distribution==
==Distribution==
Pie slices can only be found by cutting [[pie]], they aren't found elsewhere.
Pie slices can be found in bakeries, cafes, restaurants, cafeterias, and fridges in daycare centers.


==Code==
==Code==

Revision as of 12:05, 19 March 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 XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Pie Slice
Pie Slice x5
0.75 Cooking none
(keep)
Pie (Cooked)
Pie (Cooked)
(consumed)

Distribution

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