Red Velvet Cake Slice: Difference between revisions

From PZwiki
No edit summary
m (RM reupload. No rotten model as per models_items.txt.)
 
(26 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}}<!--
{{Infobox item
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-->
|name=Red Velvet Cake Slice
{{Infobox food
|model=CakeRedVelvet_Model.png
|display_name=Red Velvet Cake Slice
|icon=CakeRedVelvet.png
|name_colour=Food
|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 18:
<!--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 42:
}}
}}


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


== Distribution ==
<!--BOT FLAG|CakeRedVelvet|41.78.16-->
Red Velvet Cake Slices can be found in bakery [[Containers#Displays|display counters]].
{{Clear}}
<div class="togglebox theme-red">
    <div>CakeRedVelvet distribution
        <span class="mw-customtoggle-togglebox-CakeRedVelvet" 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-CakeRedVelvet">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycase}}
    | 23.28%
    |-
    | bakery
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | bakery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | bakery
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | bakerykitchen
    | {{ll|restaurantdisplay}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycase}}
    | 23.28%
    |-
    | cafe
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | cafe
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | cafe
    | {{ll|shelves}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | gigamart
    | {{ll|displaycasebakery}}
    | 23.28%
    |-
    | grocery
    | {{ll|displaycasebakery}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CakeRedVelvet" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CakeRedVelvet|41.78.16-->
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 156:
*[[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]]

Latest revision as of 15:48, 30 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.
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.

CakeRedVelvet distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all displaycasebakery 23.28%
bakery displaycase 23.28%
bakery displaycasebakery 23.28%
bakery grocerstand 23.28%
bakery restaurantdisplay 23.28%
bakerykitchen restaurantdisplay 23.28%
cafe displaycase 23.28%
cafe displaycasebakery 23.28%
cafe grocerstand 23.28%
cafe shelves 23.28%
cornerstore displaycasebakery 23.28%
gigamart displaycasebakery 23.28%
grocery displaycasebakery 23.28%

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