Red Velvet Cake Slice: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(22 intermediate revisions by 6 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=Red Velvet Cake Slice
|display_name=Red Velvet Cake Slice
|model=CakeRedVelvet_Model.png
|name_colour=Food
|icon=CakeRedVelvet.png
|name_text_colour=Food
|image=CakeRedVelvet.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.CakeRedVelvet
|item_id=Base.CakeRedVelvet
}}<!--COMMENT: General introductory for the item-->
}}
A '''Red Velvet Cake Slice''' is a [[Food#Perishable|perishable]] food [[items|item]]
A '''red velvet cake slice''' is a perishable [[food]] [[Items|item]].
 
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->
__TOC__


== Usage ==
==Usage==
A Red Velvet 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 red velvet 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 = CakeRedVelvet.png
|image = CakeRedVelvet.png
|hunger = -8
|hunger = -8
Line 49: Line 43:
}}
}}


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


== Distribution ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
Red Velvet Cake Slices can be found in bakery [[Containers#Displays|display counters]].
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|all
|[[displaycasebakery]]
|4
|1
|}
Red velvet 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 CakeRedVelvet
  | lang = java
    {
  | line = true
        Type = Food,
  | start = 5903
        HungerChange = -8,
  | source = items_food.txt
        UnhappyChange     =     -10,
  | retrieved = true
        DisplayName = Red Velvet Cake Slice,
  | version = 41.78.16
        Icon = CakeRedVelvet,
  | code =
        Weight = 0.2,
item CakeRedVelvet
        DaysFresh = 3,
{
        DaysTotallyRotten = 5,
DisplayName = Red Velvet Cake Slice,
        Carbohydrates = 4,
DisplayCategory = Food,
        Proteins = 10,
Type = Food,
        Lipids = 12,
Weight = 0.2,
        Calories = 80,
Icon = CakeRedVelvet,
        StaticModel = CakeSlice,
DaysFresh = 3,
        WorldStaticModel = RedVelvetCake_Ground,</pre>
DaysTotallyRotten = 5,
HungerChange = -8,
UnhappyChange = -10,
Calories = 80,
Carbohydrates = 4,
Lipids = 12,
Proteins = 10,
StaticModel = CakeSlice,
WorldStaticModel = RedVelvetCake_Ground,
}
}}
}}


==See also==
==See also==
Line 80: Line 99:
*[[Chocolate Cake Slice]]
*[[Chocolate Cake Slice]]
*[[Strawberry Cake Slice]]
*[[Strawberry 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 11:32, 14 April 2024

Project ZomboidItemsFoodSweetsRed Velvet 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.
Red Velvet Cake Slice
CakeRedVelvet 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
80
CarbohydratesCarbohydrates
4
ProteinsProteins
10
FatFat
12
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.CakeRedVelvet

A red velvet cake slice is a perishable food item.

Usage

A red velvet 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

CakeRedVelvet.png
Hunger: -8

Unhappiness: -10

CakeRedVelvet.png
Hunger: -6
Boredom: +10

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

Distribution

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

Containers
Building/Room Container Rolls Chance
all displaycasebakery 4 1

Red velvet 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 CakeRedVelvet
	{
		DisplayName = Red Velvet Cake Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = CakeRedVelvet,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -8,
		UnhappyChange = -10,
		Calories = 80,
		Carbohydrates = 4,
		Lipids = 12,
		Proteins = 10,
		StaticModel = CakeSlice,
		WorldStaticModel = RedVelvetCake_Ground,
	}

See also