Cupcake: Difference between revisions

From PZwiki
mNo edit summary
m (Version bump)
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Sweets}}
{{languages|Cupcake}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Reupload|Missing 3D Variant Model (Rotten)}}
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
{{Infobox item
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name=Cupcake
|model=Cupcake_Model.png
|icon=Cupcake.png
|icon_name=Cupcake
<!--GENERAL-->
|category=Food
|weight=0.2
|days_fresh=4
|days_rotten=8
<!--NUTRITION-->
|hunger_change=-20
|calories=305
|lipids=4
|proteins=4
|carbohydrates=67
<!--TECHNICAL DETAILS-->
|item_id=Base.Cupcake
}}
 
A '''cupcake''' is a perishable [[food]] [[Items|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.
{{Consumables
{{Consumables
|image = Cupcake.png
|image = Cupcake.png
|hunger = -20
|hunger = -20
|weight = 0.2
|perishable = 1
|cookable = 0
|unrotten hunger = -15
|unrotten unhappiness = +10
|unrotten boredom = +10
|rotten hunger = -9
|rotten unhappiness = +20
|rotten boredom = +20
|rotten image = Cupcake.png
}}
}}
The [[Cupcake]] is a [[Food#Non-Perishable|non-perishable]] food item which is often found in food markets.


== Nutritional Information ==
==Distribution==
Cupcakes provides when completely eaten: -20 hunger.  
The loot distributions can be found in the table(s) below.
<br><br>
 
'''Its Nutritional Values are as follows:'''<br>
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
Carbohydrates = 67 <br>
! colspan="4" | Containers
Proteins = 4 <br>
|-
Lipids = 4 <br>
! Building/Room
Calories = 305 <br><br>
! 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]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 3996
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
*[[Cake Slice]]
*[[Cookie]]
*[[Pie Slice]]
 
{{Navbox food}}


== Code ==
[[Category:Perishable food]]
<br>
<nowiki>
item Cupcake
HungerChange = -20,
Weight = 0.2,
AlwaysWelcomeGift = TRUE,
Type = Food,
DisplayName = Cupcake,
Icon = Cupcake,
        Carbohydrates = 67,
        Proteins = 4,
        Lipids = 4,
        Calories = 305,
</nowiki>
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

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