Black Forest Cake Slice: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: fix infobox based on file, eid: 27486a0a))
m (Cleanup)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Languages}}
<!--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 -->
{{Header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}
{{header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}<!--
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 food
{{Infobox food
|display_name=Black Forest Cake Slice
|display_name=Black Forest Cake Slice
Line 21: Line 19:
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeBlackForest
|class_name=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 [[Food#Perishable|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==
== Distribution ==
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.-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<!--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.-->
{{Retrieved|version=41|incver=65}}
{{Retrieved|version=41|incver=65}}
<!--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.-->
<pre>
<pre>    item CakeBlackForest
    item CakeBlackForest
     {
     {
         Type = Food,
         Type = Food,
Line 74: Line 65:
         Calories = 90,
         Calories = 90,
         StaticModel = CakeSlice,
         StaticModel = CakeSlice,
         WorldStaticModel = BlackForestCake_Ground,</pre>
         WorldStaticModel = BlackForestCake_Ground,
</pre>


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


{{Navbox food}}
{{Navbox food}}

Revision as of 21:55, 28 August 2023

The Game WorldItemsFoodPerishable FoodBlack Forest Cake Slice
Black Forest Cake Slice
Black Forest Cake Slice
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 3 days
Days until rotten 5 days
Nutrition
Hunger
Hunger
-10
Calories
Calories
90
Carbohydrates
Carbohydrates
4
Proteins
Proteins
10
Fat
Fat
12
Effect
Unhappiness
Unhappiness
-15
Technical details
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

Black Forest Cake Slices can be found in bakery display counters.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    item CakeBlackForest
    {
        Type				=		Food,
        HungerChange 		=		-10,
        UnhappyChange	    =	    -15,
        DisplayName			=		Black Forest Cake Slice,
        Icon				=		CakeBlackForest,
        Weight				=		0.2,
        DaysFresh 			=		3,
        DaysTotallyRotten 	=	 	5,
        Carbohydrates = 4,
        Proteins = 10,
        Lipids = 12,
        Calories = 90,
        StaticModel = CakeSlice,
        WorldStaticModel = BlackForestCake_Ground,

See also