Candy Package: Difference between revisions
m (Fixed Nav Bar) |
m (Automated Formatting) |
||
(30 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Sweets}} | |||
{{ | {{Page version|41.78.16}} | ||
{{Infobox item | |||
|name=Candy Package | |||
|model=CandyPackage_Model.png | |||
|icon=CandyPackagei.png | |||
| | |icon_name=Candy Package | ||
|icon2=Lollipop.png | |||
|icon_name2=Lollipop | |||
Lollipop | |||
|icon3=MintCandy.png | |||
|icon_name3=Mint Candy | |||
Mint Candy | |||
<!--GENERAL--> | |||
|category=Food | |||
|weight=0.6 | |||
|packaged=Yes | |||
<!--NUTRITION--> | |||
|hunger_change=-5 | |||
|calories=500 | |||
|lipids=2.5 | |||
|proteins=0 | |||
|carbohydrates=125 | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.CandyPackage | |||
}} | }} | ||
Candy | A '''candy package''' (''Assorted Candy'' on the model) is a non-perishable, non directly edible [[food]] [[Items|item]]. | ||
== | ==Usage== | ||
Candy package can be opened, giving the player [[lollipop]]s and [[Mint Candy|mint candy]]. Once opened, the contents cannot be put back into a candy package, which is much lighter than the contents alone. | |||
===Contents=== | |||
{| class="wikitable theme-red" style="text-align:center;" | |||
|- | |||
! Name | |||
! Amount | |||
|- | |||
|[[File:Lollipop.png|center]] [[Lollipop]] | |||
|x5 | |||
|- | |||
|[[File:MintCandy.png|center]] [[Mint Candy]] | |||
|x6 | |||
|- | |||
|} | |||
== | ==Distribution== | ||
{| class="wikitable" | 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 | |||
|- | |- | ||
|artstore | |||
|[[shelves]] | |||
|4 | |||
|4 | |||
|- | |||
|bandkitchen | |||
|[[counter]] | |||
|4 | |||
|4 | |||
|- | |||
|candystorage | |||
|[[metal_shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|rowspan="5"|conveniencestore | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|2 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|2 | |||
|- | |- | ||
|[[ | |[[crate]] | ||
| | |4 | ||
|5 | |||
|- | |- | ||
|[[ | |gasstorage | ||
| | |[[crate]] | ||
|4 | |||
|4 | |||
|- | |- | ||
|grocerystorage | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|} | |} | ||
Candy package can be found in candy store [[Containers#Displays|display shelves]] and [[Containers#Counters|counters]], or in convenience store [[Containers#Shelves|shelves]]. | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3959 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item CandyPackage | |||
{ | |||
DisplayName = Candy Package, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.6, | |||
Icon = CandyPackagei, | |||
CantEat = TRUE, | |||
Packaged = TRUE, | |||
Calories = 500, | |||
Carbohydrates = 125, | |||
Lipids = 2.5, | |||
Proteins = 0, | |||
WorldStaticModel = CandyPackage, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Candy Cane]] | |||
*[[Modjeska]] | |||
*[[Chips]] | |||
{{Navbox items|miscellaneous_food}} | |||
[[Category:Non-perishable food]] | |||
[[Category:Non- | |||
Revision as of 07:11, 14 April 2024
A candy package (Assorted Candy on the model) is a non-perishable, non directly edible food item.
Usage
Candy package can be opened, giving the player lollipops and mint candy. Once opened, the contents cannot be put back into a candy package, which is much lighter than the contents alone.
Contents
Name | Amount |
---|---|
Lollipop | x5 |
Mint Candy | x6 |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
artstore | shelves | 4 | 4 |
bandkitchen | counter | 4 | 4 |
candystorage | metal_shelves | 4 | 1 |
conveniencestore | crate | 4 | 1 |
crate | 4 | 1 | |
crate | 4 | 2 | |
crate | 4 | 2 | |
crate | 4 | 5 | |
gasstorage | crate | 4 | 4 |
grocerystorage | crate | 4 | 1 |
Candy package can be found in candy store display shelves and counters, or in convenience store shelves.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item CandyPackage
{
DisplayName = Candy Package,
DisplayCategory = Food,
Type = Food,
Weight = 0.6,
Icon = CandyPackagei,
CantEat = TRUE,
Packaged = TRUE,
Calories = 500,
Carbohydrates = 125,
Lipids = 2.5,
Proteins = 0,
WorldStaticModel = CandyPackage,
}