Cupcake: Difference between revisions

From PZwiki
m (Removing trailing whitespace(s))
m (Version bump)
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{Page version|41.78.16}}
{{Page version|41.73}}
{{Reupload|Missing 3D Variant Model (Rotten)}}
{{Reupload|Missing 3D Variant Model (Rotten)}}
{{Infobox item
{{Infobox item
Line 22: Line 21:
|item_id=Base.Cupcake
|item_id=Base.Cupcake
}}
}}
A '''cupcake''' is a [[Food#Perishable|perishable]] food [[items|item]].
 
A '''cupcake''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 41: Line 41:
}}
}}


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.
Line 48: Line 47:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! 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
|}
|}
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]].
Line 69: Line 68:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 3996
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.73
   | version = 41.78.16
   | code =
   | code =
item Cupcake
item Cupcake
{
{
  DisplayName         = Cupcake,
DisplayName = Cupcake,
  DisplayCategory     = Food,
DisplayCategory = Food,
  Type               = Food,
Type = Food,
  Weight             = 0.2,
Weight = 0.2,
  Icon               = Cupcake,
Icon = Cupcake,
  DaysFresh           = 4,
DaysFresh = 4,
  DaysTotallyRotten   = 8,
DaysTotallyRotten = 8,
  HungerChange       = -20,
HungerChange = -20,
  Calories           = 305,
Calories = 305,
  Carbohydrates       = 67,
Carbohydrates = 67,
  Lipids             = 4,
Lipids = 4,
  Proteins           = 4,
Proteins = 4,
  WorldStaticModel   = Cupcake,
WorldStaticModel = Cupcake,
}
}  
  }}
}}
}}
}}


Line 99: Line 99:


{{Navbox food}}
{{Navbox food}}
[[Category:Perishable food]]
[[Category:Perishable food]]

Revision as of 02:34, 28 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D Variant Model (Rotten)
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Cupcake
Cupcake Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
4 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-20
CaloriesCalories
305
CarbohydratesCarbohydrates
67
ProteinsProteins
4
FatFat
4
Technical
Item ID
Base.Cupcake

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

Cupcake.png
Hunger: -20


Cupcake.png
Hunger: -15
Boredom: +10
Unhappiness: +10

Cupcake.png
Hunger: -9
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

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

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 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,
	}

See also