Strawberry Cake Slice: Difference between revisions

From PZwiki
(infobox upgrade - initial tests)
m (Category Project: Sweets)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{page version|41.65}}
{{reupload|Missing 3D Variant Model (Rotten)}}
{{reupload|Missing 3D Variant Model (Rotten)}}
{{Infobox item
{{Infobox item
Line 48: Line 49:
==Code==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
{{Retrieved|version=41.65}}
<pre>
<pre>
     item CakeStrawberryShortcake
     item CakeStrawberryShortcake
Line 78: Line 79:
{{Navbox food}}
{{Navbox food}}


[[Category:Food]]
[[Category:Perishable food]]

Revision as of 16:17, 27 January 2024

Template:Header/sandbox2

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.
Strawberry Cake Slice
CakeStrawberryShortcake 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
75
CarbohydratesCarbohydrates
4
ProteinsProteins
10
FatFat
12
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
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