Chocolate Cake Slice: Difference between revisions

From PZwiki
mNo edit summary
m (Cleanup)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Languages}}{{Header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}{{Infobox food
<!--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}}<!--
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
|display_name=Carrot Cake Slice
|display_name=Carrot Cake Slice
|name_colour=Food
|name_colour=Food
Line 21: Line 17:
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-15
|unhappy_change=-15
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeChocolate
|class_name=Base.CakeChocolate
}}<!--COMMENT: General introductory for the item-->
}}A '''Chocolate Cake Slice''' is a [[Food#Perishable|perishable]] food [[items|item]]
A '''Chocolate 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 Chocolate 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 Chocolate 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
{{Consumables2
|image = CakeChocolate.png
|image = CakeChocolate.png
Line 49: Line 40:
}}
}}


 
==Distribution==
== Distribution ==
Chocolate Cake Slices can be found in bakery [[Containers#Displays|display counters]].
Chocolate 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}}
<pre>
<pre>
Line 74: Line 62:
         Calories = 90,
         Calories = 90,
         StaticModel = CakeSlice,
         StaticModel = CakeSlice,
         WorldStaticModel = ChocolateCake_Ground,</pre>
         WorldStaticModel = ChocolateCake_Ground,
</pre>


==See also==
==See also==
Line 83: Line 72:
*[[Red Velvet Cake Slice]]
*[[Red Velvet Cake Slice]]
*[[Strawberry Cake Slice]]
*[[Strawberry Cake Slice]]
{{Navbox/Consumables}}
 
{{Navbox food}}


[[Category:Food]]
[[Category:Food]]

Revision as of 22:25, 5 April 2023

The Game WorldItemsFoodPerishable FoodChocolate Cake Slice
Carrot Cake Slice
Carrot Cake Slice
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 3 days
Days until rotten 2 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.CakeChocolate

A Chocolate Cake Slice is a perishable food item

Usage

A Chocolate 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

Template:Consumables2

Distribution

Chocolate Cake Slices can be found in bakery display counters.

Code

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

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

See also