Cake Preparation

From PZwiki
PZwiki:Language policy Language:

English

Project ZomboidItemsFoodPrepared foodCake Preparation
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cake Preparation
CakePreparation Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Properties
Days fresh
4 days
Days until rotten
3 days
Nutrition
HungerMoodle Icon Hungry.png
-30
CaloriesCalories
800
CarbohydratesCarbohydrates
50
ProteinsProteins
8
FatFat
48
Effect
UnhappinessMoodle Icon Unhappy.png
-20
Technical
Item ID
Base.CakePreb

A cake preparation is a perishable food item.

Usage

Consumable properties

Cake preparations can be eaten, providing the player with some positive effects, or alternatively, they can be used to make cakes.

(Note: The nutrition values depend on what ingredients are added. The figures below are based on no ingredients added.)

Fresh Stale Rotten
Cake.png
Hunger: -30
Unhappiness: -20
Cake.png
Hunger: -23
Boredom: +10
Unhappiness: -10
Cake.png
Hunger: -13
Boredom: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Obtaining

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Cake Preparation
Cake Preparation
0.75 Cooking none BakingPan.png
Baking Pan
(consumed)
CakeBatter.png
Cake Batter
(consumed)

What it can make

A cake preparation is the starting ingredient for making cakes.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Cake
Cake
0.75 Cooking none Cake.png
Cake Preparation
(Base item)
Cake Ingredients
Cake Ingredients (1−4)
(consumed)

Distribution

Cake preparations can be found inside bakery displays.

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.73
item CakePrep
{
  DisplayName            = Cake Preparation,
  DisplayCategory        = Food,
  Type                   = Food,
  Weight                 = 0.5,
  Icon                   = Cake,
  DaysFresh              = 4,
  DaysTotallyRotten      = 7,
  HungerChange           = -30,
  UnhappyChange          = -20,
  Calories               = 800,
  Carbohydrates          = 50,
  Lipids                 = 48,
  Proteins               = 8,
  WorldStaticModel       = CakePreparation,
}