Strawberry Cake Slice: Difference between revisions

From PZwiki
m (Automated CodeBox update)
m (Distribution table update)
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{Page version|41.65}}
{{page version|41.65}}
{{Reupload|Missing 3D Variant Model (Rotten)}}
{{reupload|Missing 3D Variant Model (Rotten)}}
{{Infobox item
{{Infobox item
|name=Strawberry Cake Slice
|name=Strawberry Cake Slice
Line 23: Line 22:
|item_id=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 43:
}}
}}


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|CakeStrawberryShortcake|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>CakeStrawberryShortcake distribution
!Container
        <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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CakeStrawberryShortcake">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| all  
    |+ {{ll|Containers}}
| [[displaycasebakery]]
    ! Building / Room
| 4  
    ! Container
| 1
    ! 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]].


Line 67: Line 75:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | source = items.txt
  | start = 5922
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.65
   | version = 41.78.16
   | code =
   | code =
item CakeStrawberryShortcake
item CakeStrawberryShortcake
{
{
  Type                = Food,
DisplayName = Strawberry Cake Slice,
  HungerChange        = -8,
DisplayCategory = Food,
  UnhappyChange      = -10,
Type = Food,
  DisplayName        = Strawberry Cake Slice,
Weight = 0.2,
  Icon               = CakeStrawberryShortcake,
Icon = CakeStrawberryShortcake,
  Weight              = 0.2,
DaysFresh = 3,
  DaysFresh           = 3,
DaysTotallyRotten = 5,
  DaysTotallyRotten   = 5,
HungerChange = -8,
  Carbohydrates      = 4,
UnhappyChange = -10,
  Proteins            = 10,
Calories = 75,
  Lipids             = 12,
Carbohydrates = 4,
  Calories            = 75,
Lipids = 12,
  StaticModel         = CakeSlice,
Proteins = 10,
  WorldStaticModel   = StrawberryShortcake_Ground,
StaticModel = CakeSlice,
}
WorldStaticModel = StrawberryShortcake_Ground,
  }}
}
}}
}}
}}


Line 100: Line 110:
*[[Red Velvet Cake Slice]]
*[[Red Velvet Cake Slice]]


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


[[Category:Perishable 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