Black Forest Cake Slice: Difference between revisions

From PZwiki
m (Category Project: Sweets)
m (Automated Formatting)
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{Page version|41.65}}
{{page version|41.65}}
{{Reupload|Missing 3D Variant Model (Rotten)}}
{{reupload|Missing 3D Variant Model (Rotten)}}
{{Infobox item
{{Infobox food
|name=Black Forest Cake Slice
|display_name=Black Forest Cake Slice
|model=CakeBlackforest_Model.png
|name_colour=Food
|icon=CakeBlackForest.png
|name_text_colour=Food
|image=CakeBlackforest_Model.png
|image_width=200px
|alternate_image=CakeBlackForest.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 24: Line 20:
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeBlackForest
|item_id=Base.CakeBlackForest
}}
}}
A '''Black Forest Cake Slice''' is a [[Food#Perishable|perishable]] food [[Items|item]].
A '''Black Forest Cake Slice''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 48: Line 44:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|all
|[[displaycasebakery]]
|4
|1
|}
Black Forest Cake Slices can be found in bakery [[Containers#Displays|display counters]].
Black Forest Cake Slices can be found in bakery [[Containers#Displays|display counters]].


==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.65}}
| {{CodeSnip
<pre>
  | lang = java
    item CakeBlackForest
  | line = true
    {
  | start = 5827
        Type = Food,
  | source = items_food.txt
        HungerChange = -10,
  | retrieved = true
        UnhappyChange     =     -15,
  | version = 41.78.16
        DisplayName = Black Forest Cake Slice,
  | code =
        Icon = CakeBlackForest,
item CakeBlackForest
        Weight = 0.2,
{
        DaysFresh = 3,
DisplayName = Black Forest Cake Slice,
        DaysTotallyRotten = 5,
DisplayCategory = Food,
        Carbohydrates = 4,
Type = Food,
        Proteins = 10,
Weight = 0.2,
        Lipids = 12,
Icon = CakeBlackForest,
        Calories = 90,
DaysFresh = 3,
        StaticModel = CakeSlice,
DaysTotallyRotten = 5,
        WorldStaticModel = BlackForestCake_Ground,
HungerChange = -10,
    {
UnhappyChange = -15,
</pre>
Calories = 90,
Carbohydrates = 4,
Lipids = 12,
Proteins = 10,
StaticModel = CakeSlice,
WorldStaticModel = BlackForestCake_Ground,
}
}}
}}


==See also==
==See also==
Line 81: Line 100:
*[[Strawberry Cake Slice]]
*[[Strawberry Cake Slice]]


{{Navbox food}}
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Perishable food]]
[[Category:Perishable food]]

Revision as of 06:37, 14 April 2024

Project ZomboidItemsFoodSweetsBlack Forest 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.
Black Forest Cake Slice
CakeBlackforest 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
-10
CaloriesCalories
90
CarbohydratesCarbohydrates
4
ProteinsProteins
10
FatFat
12
Effect
UnhappinessMoodle Icon Unhappy.png
-15
Technical
Item ID
Base.CakeBlackForest

A Black Forest Cake Slice is a perishable food item.

Usage

A Black Forest 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

CakeBlackForest.png
Hunger: -10

Unhappiness: -15

CakeBlackForest.png
Hunger: -7
Boredom: +10
Unhappiness: -5

CakeBlackForest.png
Hunger: -4
Boredom: +20
Unhappiness: +5
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

Black Forest 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 CakeBlackForest
	{
		DisplayName = Black Forest Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeBlackForest,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -10,
		UnhappyChange = -15,
		Calories = 90,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = BlackForestCake_Ground,
	}

See also