Carrot Cake Slice

From PZwiki
Project ZomboidItemsFoodSweetsCarrot Cake Slice
Spiffo controlyourself.png
This page was last updated for an older version (41.65).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D Variant Model (Rotten)
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Carrot Cake Slice
CakeCarrotCake Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-7
CaloriesCalories
70
CarbohydratesCarbohydrates
4
ProteinsProteins
10
FatFat
12
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.CakeCarrot

A carrot cake slice is a perishable food item

Usage

A Carrot Cake Slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Consumable properties

Fresh Stale Rotten

CakeCarrot.png
Hunger: -7

Unhappiness: -10

CakeCarrot.png
Hunger: -5
Boredom: +10

CakeCarrot.png
Hunger: -3
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Distribution

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

Containers
Building/Room Container Rolls Chance
all displaycasebakery 4 1

Carrot Cake Slices can be found in bakery display counters.

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 CakeCarrot
	{
		DisplayName = Carrot Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeCarrot,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -7,
		UnhappyChange = -10,
		Calories = 70,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = CarrotCake_Ground,
	}

See also