Pie Slice: Difference between revisions
m (Automated linking update) |
(→Code: Codebox) |
||
Line 51: | Line 51: | ||
==Code== | ==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, | DisplayName = Pie Slice, | ||
DisplayCategory = Food, | DisplayCategory = Food, | ||
Line 70: | Line 76: | ||
StaticModel = PieSlice, | StaticModel = PieSlice, | ||
WorldStaticModel = Pie, | WorldStaticModel = Pie, | ||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 06:25, 16 March 2024
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 |
---|---|---|
|
|
|
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 x5 |
0.75 Cooking | none | (keep) |
Pie (Cooked) (consumed) |
Distribution
Pie slices can only be found by cutting pie, they aren't found elsewhere.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}