Mint Candy: Difference between revisions

From PZwiki
(Updated page, +nutritional info, slight description change, +navigation, + info, +code +NOTOC, - history (redundant))
m (Automated Formatting)
(30 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Sweets}}
{{languages}}
{{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 -->
{{Infobox item
<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 -->
|name=Mint Candy
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[ Main_Page|Index]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[Mint_Candy|Mint Candy]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=MintCandy_Model.png
{{Consumables
|icon=MintCandy.png
|image = MintCandy.png
|icon_name=Mint Candy
|hunger = -2
|icon2=CandyPackagei.png
|unhappiness = -10
|icon_name2=Candy Package
|weight = 0.1
Candy Package
<!--GENERAL-->
|category=Food
|weight=0.1
<!--NUTRITION-->
|hunger_change=-2
|calories=60
|lipids=0
|proteins=0
|carbohydrates=15
<!--EFFECTS-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|item_id=Base.MintCandy
}}
}}
The mint candy is a small [[Food#Non-Perishable|non-perishable]] sweet which does more to reduce unhappiness than hunger. As it does so little to reduce hunger, its main role is that to reduce the effects of unhappiness upon a player. It can often be found in convenience stores, as well as other locations such as houses, vending machines and sometimes even bins.
A '''mint candy''' is a non-perishable [[food]] [[Items|item]].


== Nutritional Information ==
==Usage==
A Mint Candy provides when completely eaten: -2 hunger and a bonus of 10 to happiness.
Mint candy can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].
<br><br>
'''It's Nutritional Values are as follows:'''<br>
Carbohydrates = 15 <br>
Proteins = 0 <br>
Lipids = 0 <br>
Calories = 60 <br><br>


== Code ==
==Distribution==
<br>
The loot distributions can be found in the table(s) below.
<nowiki>
    item MintCandy
        Type = Food,
        DisplayName = Mint Candy,
        Icon = MintCandy,
        Weight = 0.1,
        HungerChange = -2,
        UnhappyChange = -10,
        Carbohydrates = 15,
        Proteins = 0,
        Lipids = 0,
        Calories = 60,
</nowiki>


{{Navbox/Consumables}}
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
[[Category:Consumables]]
! colspan="4" | Containers
[[Category:Food]]
|-
[[Category:Non-Perishable_Food]]
! Building/Room
[[Category:Version 34.28]]
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|candystorage
|[[metal_shelves]]
|4
|1
|-
|candystore
|[[counter]]
|4
|1
|-
|grocerystorage
|[[crate]]
|4
|1
|}
 
===Buildings===
Mint candy can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].
 
===Items===
Mint candy can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 6 mint candy.
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 3927
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MintCandy
{
DisplayName = Mint Candy,
DisplayCategory = Food,
Type = Food,
Weight = 0.1,
Icon = MintCandy,
HungerChange = -2,
UnhappyChange = -10,
Calories = 60,
Carbohydrates = 15,
Lipids = 0,
Proteins = 0,
WorldStaticModel = MintCandy,
}
}}
}}
 
==See also==
*[[Candy Cane]]
*[[Lollipop]]
*[[Modjeska]]
*[[Peppermint]]
 
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable food]]

Revision as of 10:19, 14 April 2024

Project ZomboidItemsFoodSweetsMint Candy
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Mint Candy
MintCandy Model.png
Candy Package Candy Package
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-2
CaloriesCalories
60
CarbohydratesCarbohydrates
15
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.MintCandy

A mint candy is a non-perishable food item.

Usage

Mint candy can be eaten, providing the player with some positive effects, including reducing unhappiness.

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
candystorage metal_shelves 4 1
candystore counter 4 1
grocerystorage crate 4 1

Buildings

Mint candy can be found in grocery stores, office desks, motel room refrigerators and bins.

Items

Mint candy can be found in garbage bags or by opening a candy package, giving 6 mint candy.

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 MintCandy
	{
		DisplayName = Mint Candy,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = MintCandy,
		HungerChange = -2,
		UnhappyChange = -10,
		Calories = 60,
		Carbohydrates = 15,
		Lipids = 0,
		Proteins = 0,
		WorldStaticModel = MintCandy,
	}

See also