Mint Candy: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (Automated Formatting)
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Mint Candy
{{Infobox item
|name_colour=Food
|name=Mint Candy
|name_text_colour=Food
|model=MintCandy_Model.png
|image=MintCandy_Model.png
|icon=MintCandy.png
|image_width=150px
|icon_name=Mint Candy
|alternate_image=MintCandy.png
|icon2=CandyPackagei.png
|alternate_name=Mint Candy
|icon_name2=Candy Package
|alternate_link=
Candy Package
|alternate_image2=CandyPackagei.png
|alternate_name2=Candy Package
|alternate_link2=Candy Package
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 17: Line 14:
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-2
|hunger_change=-2
|thirst_change=
|calories=60
|calories=60
|lipids=0
|lipids=0
Line 25: Line 21:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.MintCandy
|item_id=Base.MintCandy
}}A '''mint candy''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
}}
A '''mint candy''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
A mint candy can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
Mint candy can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


==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
|-
|candystorage
|[[metal_shelves]]
|4
|1
|-
|candystore
|[[counter]]
|4
|1
|-
|grocerystorage
|[[crate]]
|4
|1
|}
===Buildings===
===Buildings===
Mint candy can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].
Mint candy can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].
===Items===
===Items===
Mint candy can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 6 mint candy.
Mint candy can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 6 mint candy.


== Code ==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=68}
| {{CodeSnip
<pre>    item MintCandy
  | lang = java
    {
  | line = true
        DisplayCategory = Food,
  | start = 3927
        Type = Food,
  | source = items_food.txt
        DisplayName = Mint Candy,
  | retrieved = true
        Icon = MintCandy,
  | version = 41.78.16
        Weight = 0.1,
  | code =
        HungerChange = -2,
item MintCandy
        UnhappyChange     = -10,
{
        Carbohydrates = 15,
DisplayName = Mint Candy,
        Proteins = 0,
DisplayCategory = Food,
        Lipids = 0,
Type = Food,
        Calories = 60,
Weight = 0.1,
        WorldStaticModel = MintCandy,
Icon = MintCandy,
    }</pre>
HungerChange = -2,
UnhappyChange = -10,
Calories = 60,
Carbohydrates = 15,
Lipids = 0,
Proteins = 0,
WorldStaticModel = MintCandy,
}
}}
}}


==See also==
==See also==
Line 62: Line 95:
*[[Peppermint]]
*[[Peppermint]]


{{Navbox_food}}
{{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