Cupcake: Difference between revisions
(→Code: CodeBox update) |
m (Fix) |
||
Line 44: | Line 44: | ||
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== | |||
{{CodeBox | {{CodeBox | ||
| {{CodeSnip | | {{CodeSnip |
Revision as of 09:44, 31 January 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
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,
}