Strawberry Cake Slice: Difference between revisions

From PZwiki
m (Minor fixes)
m (Distribution table update)
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}
{{Page version|41.65}}
{{Infobox food
{{Reupload|Missing 3D Variant Model (Rotten)}}
|display_name=Strawberry Cake Slice
{{Infobox item
|name_colour=Food
|name=Strawberry Cake Slice
|name_text_colour=Food
|model=CakeStrawberryShortcake_Model.png
|image=CakeStrawberryShortcake.png
|icon=CakeStrawberryShortcake.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 20: Line 20:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeStrawberryShortcake
|item_id=Base.CakeStrawberryShortcake
}}
}}
A '''strawberry cake slice''' is a [[Food#Perishable|perishable]] food [[items|item]].
A '''strawberry cake slice''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 44: Line 44:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|CakeStrawberryShortcake|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>CakeStrawberryShortcake distribution
        <span class="mw-customtoggle-togglebox-CakeStrawberryShortcake" 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-CakeStrawberryShortcake">
    <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-CakeStrawberryShortcake" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CakeStrawberryShortcake|41.78.16-->
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==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>
  | lang = java
    item CakeStrawberryShortcake
  | line = true
    {
  | start = 5922
        Type = Food,
  | source = items_food.txt
        HungerChange = -8,
  | retrieved = true
        UnhappyChange     =     -10,
  | version = 41.78.16
        DisplayName = Strawberry Cake Slice,
  | code =
        Icon = CakeStrawberryShortcake,
item CakeStrawberryShortcake
        Weight = 0.2,
{
        DaysFresh = 3,
DisplayName = Strawberry Cake Slice,
        DaysTotallyRotten = 5,
DisplayCategory = Food,
        Carbohydrates = 4,
Type = Food,
        Proteins = 10,
Weight = 0.2,
        Lipids = 12,
Icon = CakeStrawberryShortcake,
        Calories = 75,
DaysFresh = 3,
        StaticModel = CakeSlice,
DaysTotallyRotten = 5,
        WorldStaticModel = StrawberryShortcake_Ground,
HungerChange = -8,
</pre>
UnhappyChange = -10,
Calories = 75,
Carbohydrates = 4,
Lipids = 12,
Proteins = 10,
StaticModel = CakeSlice,
WorldStaticModel = StrawberryShortcake_Ground,
}
}}
}}


==See also==
==See also==
Line 76: Line 110:
*[[Red Velvet Cake Slice]]
*[[Red Velvet Cake Slice]]


{{Navbox food}}
{{Navbox items|miscellaneous_food}}
 


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

Revision as of 16:45, 24 April 2024

Project ZomboidItemsFoodSweetsStrawberry 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.
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

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

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

Strawberry 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 CakeStrawberryShortcake
	{
		DisplayName = Strawberry Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeStrawberryShortcake,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -8,
		UnhappyChange = -10,
		Calories = 75,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = StrawberryShortcake_Ground,
	}

See also