Mint Candy: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Mint Candy}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{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_120px.png
|icon=MintCandy.png
|alternate_image=CandyPackagei.png
|icon_name=Mint Candy
|alternate_name=Candy Package
|icon2=CandyPackagei.png
|alternate_link=Candy Package
|icon_name2=Candy Package
Candy Package
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 13: Line 14:
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-2
|hunger_change=-2
|thirst_change=
|calories=60
|calories=60
|lipids=0
|lipids=0
Line 21: 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.
<!--BOT FLAG|MintCandy|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>MintCandy distribution
        <span class="mw-customtoggle-togglebox-MintCandy" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-MintCandy">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | GroceryBag3
    | {{ll|GroceryBag3}}
    | 6.41%
    |-
    | candystorage
    | {{ll|crate}}
    | 23.28%
    |-
    | candystorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | candystore
    | {{ll|counter}}
    | 23.28%
    |-
    | candystore
    | {{ll|displaycase}}
    | 23.28%
    |-
    | candystore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstore
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|crate}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|crate}}
    | 23.28%
    |-
    | grocery
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|smallcrate}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 3.98%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-MintCandy" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|MintCandy|41.78.16-->
===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 newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=14}}
| {{CodeSnip
<pre> item MintCandy
  | lang = java
        Type = Food,
  | line = true
        DisplayName = Mint Candy,
  | start = 3927
        Icon = MintCandy,
  | source = items_food.txt
        Weight = 0.1,
  | retrieved = true
        HungerChange = -2,
  | version = 41.78.16
        UnhappyChange = -10,
  | code =
        Carbohydrates = 15,
item MintCandy
        Proteins = 0,
{
        Lipids = 0,
DisplayName = Mint Candy,
        Calories = 60,</pre>
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==
==See also==
Line 52: Line 161:
*[[Lollipop]]
*[[Lollipop]]
*[[Modjeska]]
*[[Modjeska]]
*[[Peppermint]]
{{Navbox items|miscellaneous_food}}


{{Navbox/Consumables}}
[[Category:Non-perishable food]]

Latest revision as of 13:21, 30 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.

MintCandy distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
GroceryBag1 GroceryBag1 1.01%
GroceryBag3 GroceryBag3 6.41%
candystorage crate 23.28%
candystorage metal_shelves 23.28%
candystore counter 23.28%
candystore displaycase 23.28%
candystore shelves 23.28%
generalstore crate 23.28%
generalstore shelves 23.28%
generalstorestorage shelves 23.28%
gigamart crate 23.28%
gigamart shelves 23.28%
grocery crate 23.28%
grocery shelves 23.28%
grocery smallcrate 23.28%
grocerystorage crate 3.98%
grocerystorage metal_shelves 3.98%
grocerystorage smallcrate 3.98%

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