Cupcake: Difference between revisions
VaileasysBot (talk | contribs) m (Category Project: Sweets) |
m (Automated Formatting) |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.78.16}} | |||
{{ | {{Reupload|Missing 3D Variant Model (Rotten)}} | ||
{{ | {{Infobox item | ||
{{Infobox | |name=Cupcake | ||
| | |model=Cupcake_Model.png | ||
| | |icon=Cupcake.png | ||
|icon_name=Cupcake | |||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 24: | Line 19: | ||
|carbohydrates=67 | |carbohydrates=67 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Cupcake | ||
}} | }} | ||
A '''cupcake''' is a [[ | A '''cupcake''' is a perishable [[food]] [[Items|item]]. | ||
==Usage== | ==Usage== | ||
Line 46: | Line 41: | ||
==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 | |||
|- | |||
|cafeteria | |||
|[[displaycasebakery]] | |||
|4 | |||
|4 | |||
|} | |||
Cupcake can be found in bakeries, cafes, candy stores, and some convenience store [[Containers#Shelves|shelves]]. | Cupcake can be found in bakeries, cafes, candy stores, and some convenience store [[Containers#Shelves|shelves]]. | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3996 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Cupcake | |||
{ | { | ||
DisplayName = Cupcake, | DisplayName = Cupcake, | ||
Line 68: | Line 89: | ||
WorldStaticModel = Cupcake, | WorldStaticModel = Cupcake, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 75: | 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,
}