Red Velvet Cake Slice: Difference between revisions
(missing 3d rotten variant model tag) |
m (Automated Formatting) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Sweets}} | |||
{{Header|Project Zomboid|Items|Food| | {{Page version|41.65}} | ||
{{ | {{Reupload|Missing 3D Variant Model (Rotten)}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Red Velvet Cake Slice | ||
| | |model=CakeRedVelvet_Model.png | ||
|icon=CakeRedVelvet.png | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 23: | Line 20: | ||
|unhappy_change=-10 | |unhappy_change=-10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.CakeRedVelvet | ||
}} | }} | ||
A '''red velvet cake slice''' is a [[ | A '''red velvet cake slice''' is a perishable [[food]] [[Items|item]]. | ||
==Usage== | ==Usage== | ||
Line 47: | Line 44: | ||
==Distribution== | ==Distribution== | ||
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;" | |||
! 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]]. | Red velvet cake slices can be found in bakery [[Containers#Displays|display counters]]. | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 5903 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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== | ==See also== | ||
Line 79: | Line 100: | ||
*[[Strawberry Cake Slice]] | *[[Strawberry Cake Slice]] | ||
{{Navbox | {{Navbox items|miscellaneous_food}} | ||
[[Category: | [[Category:Perishable food]] |
Revision as of 11:32, 14 April 2024
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 |
---|---|---|
|
|
|
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
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}