Strawberry Cake Slice: Difference between revisions

From PZwiki
No edit summary
m (Distribution table update)
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{Header|Project Zomboid|Items|Food|Sweets}}
<!--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 -->
{{Page version|41.65}}
{{header|The Game World|Items|Food|Perishable Food|type=Food|version=Version 41|incver=65}}<!--
{{Reupload|Missing 3D Variant Model (Rotten)}}
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 item
{{Infobox food
|name=Strawberry Cake Slice
|display_name=Strawberry Cake Slice
|model=CakeStrawberryShortcake_Model.png
|name_colour=Food
|icon=CakeStrawberryShortcake.png
|name_text_colour=Food
|image=CakeStrawberryShortcake.png
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.2
|weight=0.2
|days_fresh=3
|days_fresh=3
|days_rotten=2
|days_rotten=5
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-10
|hunger_change=-10
Line 21: Line 19:
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CakeStrawberryShortcake
|item_id=Base.CakeStrawberryShortcake
}}<!--COMMENT: General introductory for the item-->
}}
A '''Strawberry Cake Slice''' is a [[Food#Perishable|perishable]] food [[items|item]]
A '''strawberry cake slice''' is a perishable [[food]] [[Items|item]].
 
__TOC__


== 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 48: Line 43:
}}
}}


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


== Distribution ==
<!--BOT FLAG|CakeStrawberryShortcake|41.78.16-->
Strawberry Cake Slices can be found in bakery [[Containers#Displays|display counters]].
{{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]].


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>    item CakeStrawberryShortcake
  | lang = java
    {
  | line = true
        Type = Food,
  | start = 5922
        HungerChange = -8,
  | source = items_food.txt
        UnhappyChange     =     -10,
  | retrieved = true
        DisplayName = Strawberry Cake Slice,
  | version = 41.78.16
        Icon = CakeStrawberryShortcake,
  | code =
        Weight = 0.2,
item CakeStrawberryShortcake
        DaysFresh = 3,
{
        DaysTotallyRotten = 5,
DisplayName = Strawberry Cake Slice,
        Carbohydrates = 4,
DisplayCategory = Food,
        Proteins = 10,
Type = Food,
        Lipids = 12,
Weight = 0.2,
        Calories = 75,
Icon = CakeStrawberryShortcake,
        StaticModel = CakeSlice,
DaysFresh = 3,
        WorldStaticModel = StrawberryShortcake_Ground,</pre>
DaysTotallyRotten = 5,
HungerChange = -8,
UnhappyChange = -10,
Calories = 75,
Carbohydrates = 4,
Lipids = 12,
Proteins = 10,
StaticModel = CakeSlice,
WorldStaticModel = StrawberryShortcake_Ground,
}
}}
}}


==See also==
==See also==
Line 79: Line 109:
*[[Chocolate Cake Slice]]
*[[Chocolate Cake Slice]]
*[[Red Velvet Cake Slice]]
*[[Red Velvet Cake Slice]]
{{Navbox/Consumables}}
 
<!--Comment: Any categories that this item may belong to, but are not included in the header can be listed here-->
{{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