Mint Candy: Difference between revisions
(added model to infobox) |
m (Distribution table update) |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Sweets}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
|name=Mint Candy | |||
|model=MintCandy_Model.png | |||
| | |icon=MintCandy.png | ||
|icon_name=Mint Candy | |||
| | |icon2=CandyPackagei.png | ||
| | |icon_name2=Candy Package | ||
Candy Package | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 23: | Line 21: | ||
|unhappy_change=-10 | |unhappy_change=-10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.MintCandy | ||
}}A '''mint candy''' is a | }} | ||
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 [[ | 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"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| all | |||
| {{ll|GroceryBag1}} | |||
| 1 | |||
| 1.0 | |||
|- | |||
| all | |||
| {{ll|GroceryBag3}} | |||
| 1 | |||
| 10.0 | |||
|- | |||
| candystorage | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| candystore | |||
| {{ll|counter}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 1.0 | |||
|} | |||
</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=== | ||
Line 36: | Line 80: | ||
===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== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3927 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item MintCandy | |||
{ | { | ||
DisplayName = Mint Candy, | DisplayName = Mint Candy, | ||
Line 61: | Line 106: | ||
WorldStaticModel = MintCandy, | WorldStaticModel = MintCandy, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 69: | Line 115: | ||
*[[Peppermint]] | *[[Peppermint]] | ||
{{Navbox | {{Navbox items|miscellaneous_food}} | ||
[[Category:Non-perishable food]] |
Revision as of 16:07, 24 April 2024
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.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
all | GroceryBag1 | 1 | 1.0 |
all | GroceryBag3 | 1 | 10.0 |
candystorage | metal_shelves | 4 | 10.0 |
candystore | counter | 4 | 10.0 |
grocerystorage | crate | 4 | 1.0 |
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
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}