Black Forest Cake Slice: Difference between revisions
No edit summary |
m (RM reupload. No rotten model as per models_items.txt.) |
||
(28 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.65}} | |||
{{ | {{Infobox item | ||
|name=Black Forest Cake Slice | |||
{{Infobox | |model=CakeBlackforest_Model.png | ||
| | |icon=CakeBlackForest.png | ||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
|weight=0.2 | |weight=0.2 | ||
|days_fresh=3 | |days_fresh=3 | ||
|days_rotten= | |days_rotten=5 | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-10 | |hunger_change=-10 | ||
Line 21: | Line 18: | ||
<!--EFFECT--> | <!--EFFECT--> | ||
|unhappy_change=-15 | |unhappy_change=-15 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.CakeBlackForest | ||
}} | }} | ||
A '''Black Forest Cake Slice''' is a [[ | A '''Black Forest Cake Slice''' is a perishable [[food]] [[Items|item]]. | ||
== Usage == | ==Usage== | ||
A Black Forest 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 Black Forest 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=== | ||
{{ | {{Consumables | ||
|image = CakeBlackForest.png | |image = CakeBlackForest.png | ||
|hunger = -10 | |hunger = -10 | ||
Line 49: | Line 42: | ||
}} | }} | ||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|CakeBlackForest|41.78.16--> | ||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>CakeBlackForest distribution | |||
<span class="mw-customtoggle-togglebox-CakeBlackForest" 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-CakeBlackForest"> | |||
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-CakeBlackForest" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|CakeBlackForest|41.78.16--> | |||
Black Forest Cake Slices can be found in bakery [[Containers#Displays|display counters]]. | Black Forest Cake Slices can be found in bakery [[Containers#Displays|display counters]]. | ||
== Code == | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 5827 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CakeBlackForest | |||
{ | |||
DisplayName = Black Forest Cake Slice, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.2, | |||
Icon = CakeBlackForest, | |||
DaysFresh = 3, | |||
DaysTotallyRotten = 5, | |||
HungerChange = -10, | |||
UnhappyChange = -15, | |||
Calories = 90, | |||
Carbohydrates = 4, | |||
Lipids = 12, | |||
Proteins = 10, | |||
StaticModel = CakeSlice, | |||
WorldStaticModel = BlackForestCake_Ground, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 83: | Line 156: | ||
*[[Red Velvet Cake Slice]] | *[[Red Velvet Cake Slice]] | ||
*[[Strawberry Cake Slice]] | *[[Strawberry Cake Slice]] | ||
{{Navbox | |||
{{Navbox items|miscellaneous_food}} | |||
[[Category: | |||
[[Category:Perishable food]] |
Latest revision as of 15:47, 30 April 2024
A Black Forest Cake Slice is a perishable food item.
Usage
A Black Forest 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.
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% |
Black Forest Cake Slices can be found in bakery display counters.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item CakeBlackForest
{
DisplayName = Black Forest Cake Slice,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = CakeBlackForest,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -10,
UnhappyChange = -15,
Calories = 90,
Carbohydrates = 4,
Lipids = 12,
Proteins = 10,
StaticModel = CakeSlice,
WorldStaticModel = BlackForestCake_Ground,
}