Black Forest Cake Slice: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
 
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Header|Project Zomboid|Items|Food|Sweets}}
<!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise -->
{{Page version|41.65}}
{{header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}<!--
{{Reupload|Missing 3D Variant Model (Rotten)}}
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_food. Image.png is the default question mark image-->
{{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.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.2
|weight=0.2
|days_fresh=3
|days_fresh=3
|days_rotten=2
|days_rotten=5
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-10
|hunger_change=-10
Line 21: Line 19:
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeBlackForest
|item_id=Base.CakeBlackForest
}}<!--COMMENT: General introductory for the item-->
}}
A '''Black Forest Cake Slice''' is a [[Food#Perishable|perishable]] food [[items|item]]
A '''Black Forest Cake Slice''' is a perishable [[food]] [[Items|item]].
 
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
__TOC__


== Usage ==
==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.
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 ===
===Consumable properties===
{{Consumables2
{{Consumables
|image = CakeBlackForest.png
|image = CakeBlackForest.png
|hunger = -10
|hunger = -10
Line 49: Line 43:
}}
}}


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


== Distribution ==
<!--BOT FLAG|CakeBlackForest|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>CakeBlackForest distribution
        <span class="mw-customtoggle-togglebox-CakeBlackForest" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CakeBlackForest">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|displaycasebakery}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CakeBlackForest" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CakeBlackForest|41.78.16-->
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==
<!--Comment: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
{{CodeBox
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
| {{CodeSnip
<!--Comment: Add the retrieved template so both visitors and editors can tell how old the code is and whether or not it may need to be updated.-->
  | lang = java
{{Retrieved|version=41|incver=65}}
  | line = true
<!--Comment: Example code taken from file. Items.txt and Newitems.txt are usually the source of the information at this time for basic items. Nowiki is used to display the text only, example used is Broccoli.-->
  | start = 5827
<pre>    item CakeBlackForest
  | source = items_food.txt
    {
  | retrieved = true
        Type = Food,
  | version = 41.78.16
        HungerChange = -10,
  | code =
        UnhappyChange     =     -15,
item CakeBlackForest
        DisplayName = Black Forest Cake Slice,
{
        Icon = CakeBlackForest,
DisplayName = Black Forest Cake Slice,
        Weight = 0.2,
DisplayCategory = Food,
        DaysFresh = 3,
Type = Food,
        DaysTotallyRotten = 5,
Weight = 0.2,
        Carbohydrates = 4,
Icon = CakeBlackForest,
        Proteins = 10,
DaysFresh = 3,
        Lipids = 12,
DaysTotallyRotten = 5,
        Calories = 90,
HungerChange = -10,
        StaticModel = CakeSlice,
UnhappyChange = -15,
        WorldStaticModel = BlackForestCake_Ground,</pre>
Calories = 90,
Carbohydrates = 4,
Lipids = 12,
Proteins = 10,
StaticModel = CakeSlice,
WorldStaticModel = BlackForestCake_Ground,
}
}}
}}


==See also==
==See also==
Line 83: Line 109:
*[[Red Velvet Cake Slice]]
*[[Red Velvet Cake Slice]]
*[[Strawberry Cake Slice]]
*[[Strawberry Cake Slice]]
{{Navbox/Consumables}}
<!--Comment: Any categories that this item may belong to, but are not included in the header can be listed here-->


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

Latest revision as of 14:59, 24 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.

CakeBlackForest distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all displaycasebakery 4 10.0

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