Mint Candy: Difference between revisions

From PZwiki
(→‎top: New infobox upgrade - Food)
m (Automated Formatting)
(18 intermediate revisions by 2 users 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}}
{{Infobox item
{{Infobox item
|name=Mint Candy
|name=Mint Candy
|model=MintCandy Model.png
|model=MintCandy_Model.png
|icon=MintCandy.png
|icon=MintCandy.png
|icon_name=Mint Candy
|icon_name=Mint Candy
Line 23: Line 22:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|item_id=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==
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===
Line 37: Line 62:


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.73}}
| {{CodeSnip
<pre>
  | lang = java
    item MintCandy
  | line = true
  | start = 3927
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MintCandy
{
{
DisplayName = Mint Candy,
DisplayName = Mint Candy,
Line 55: Line 86:
WorldStaticModel = MintCandy,
WorldStaticModel = MintCandy,
}
}
</pre>
}}
}}


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


{{Navbox food}}
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable 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