Strawberry Cake Slice: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: fix infobox based on file, eid: b4087052))
m (Minor fixes)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}{{Infobox food
{{Languages}}
{{Header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}
{{Infobox food
|display_name=Strawberry Cake Slice
|display_name=Strawberry Cake Slice
|name_colour=Food
|name_colour=Food
Line 19: Line 21:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeStrawberryShortcake
|class_name=Base.CakeStrawberryShortcake
}}A '''Strawberry Cake Slice''' is a [[Food#Perishable|perishable]] food [[items|item]]
}}
A '''strawberry cake slice''' is a [[Food#Perishable|perishable]] food [[items|item]].


==Usage==
==Usage==
A Strawberry 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 strawberry 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 = CakeStrawberryShortcake.png
|image = CakeStrawberryShortcake.png
|hunger = -8
|hunger = -8
Line 41: Line 44:


==Distribution==
==Distribution==
Strawberry Cake Slices can be found in bakery [[Containers#Displays|display counters]].
Strawberry cake slices can be found in bakery [[Containers#Displays|display counters]].


==Code==
==Code==

Revision as of 19:37, 2 September 2023

The Game WorldItemsFoodPerishable FoodStrawberry Cake Slice
Strawberry Cake Slice
Strawberry 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
75
Carbohydrates
Carbohydrates
4
Proteins
Proteins
10
Fat
Fat
12
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.CakeStrawberryShortcake

A strawberry cake slice is a perishable food item.

Usage

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

CakeStrawberryShortcake.png
Hunger: -8

Unhappiness: -10

CakeStrawberryShortcake.png
Hunger: -6
Boredom: +10

CakeStrawberryShortcake.png
Hunger: -4
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Distribution

Strawberry cake slices can be found in bakery display counters.

Code

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

    item CakeStrawberryShortcake
    {
        Type				=		Food,
        HungerChange 		=		-8,
        UnhappyChange	    =	    -10,
        DisplayName			=		Strawberry Cake Slice,
        Icon				=		CakeStrawberryShortcake,
        Weight				=		0.2,
        DaysFresh 			=		3,
        DaysTotallyRotten 	=	 	5,
        Carbohydrates = 4,
        Proteins = 10,
        Lipids = 12,
        Calories = 75,
        StaticModel = CakeSlice,
        WorldStaticModel = StrawberryShortcake_Ground,

See also