Cupcake: Difference between revisions
m (Updated distribution table) |
m (Automated Formatting) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Sweets}} | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41. | {{Page version|41.78.16}} | ||
{{Reupload|Missing 3D Variant Model (Rotten)}} | {{Reupload|Missing 3D Variant Model (Rotten)}} | ||
{{Infobox item | {{Infobox item | ||
Line 21: | Line 21: | ||
|item_id=Base.Cupcake | |item_id=Base.Cupcake | ||
}} | }} | ||
A '''cupcake''' is a perishable [[food]] [[Items|item]]. | A '''cupcake''' is a perishable [[food]] [[Items|item]]. | ||
Line 52: | Line 51: | ||
! style="width: 3.2em;" | Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
|all | |all | ||
|[[displaycasebakery]] | |[[displaycasebakery]] | ||
|4 | |4 | ||
|1 | |1 | ||
|- | |- | ||
|cafeteria | |cafeteria | ||
|[[displaycasebakery]] | |[[displaycasebakery]] | ||
|4 | |4 | ||
|4 | |4 | ||
|} | |} | ||
Line 68: | Line 67: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 3996 | |||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item Cupcake | item Cupcake | ||
{ | { | ||
DisplayName = Cupcake, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.2, | |||
Icon = Cupcake, | |||
DaysFresh = 4, | |||
DaysTotallyRotten = 8, | |||
HungerChange = -20, | |||
Calories = 305, | |||
Carbohydrates = 67, | |||
Lipids = 4, | |||
Proteins = 4, | |||
WorldStaticModel = Cupcake, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 97: | Line 97: | ||
*[[Pie Slice]] | *[[Pie Slice]] | ||
{{Navbox | {{Navbox items|miscellaneous_food}} | ||
[[Category:Perishable food]] | [[Category:Perishable food]] |
Revision as of 07:54, 14 April 2024
A cupcake is a perishable food item.
Usage
Consumable properties
Cupcakes can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
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 |
cafeteria | displaycasebakery | 4 | 4 |
Cupcake can be found in bakeries, cafes, candy stores, and some convenience store shelves.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item Cupcake
{
DisplayName = Cupcake,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Cupcake,
DaysFresh = 4,
DaysTotallyRotten = 8,
HungerChange = -20,
Calories = 305,
Carbohydrates = 67,
Lipids = 4,
Proteins = 4,
WorldStaticModel = Cupcake,
}