Candy Package: Difference between revisions
(Automated update of distribution section) |
m (Distribution table update) |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Candy Package | |name=Candy Package | ||
Line 25: | Line 24: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id=Base.CandyPackage | |item_id=Base.CandyPackage | ||
}}A '''candy package''' is a | }} | ||
A '''candy package''' (''Assorted Candy'' on the model) is a non-perishable, non directly edible [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Candy package can be opened, giving the player [[ | 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=== | ===Contents=== | ||
Line 44: | Line 44: | ||
|} | |} | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|CandyPackage|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>CandyPackage distribution | |||
<span class="mw-customtoggle-togglebox-CandyPackage" 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-CandyPackage"> | |||
<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 | ||
| 4 | ! Container | ||
| | ! Rolls | ||
|- | ! Chance | ||
| | |- | ||
| | | Not referenced | ||
| 4 | | {{ll|TheatreSnacks}} | ||
| | | 4 | ||
|- | | 20.0 | ||
| | |- | ||
| | | Not referenced | ||
| | | {{ll|TheatreSnacks}} | ||
| 1 | | 4 | ||
|- | | 10.0 | ||
| | |- | ||
| | | all | ||
| 4 | | {{ll|GroceryBag1}} | ||
| | | 1 | ||
|- | | 1.0 | ||
| | |- | ||
|4 | | all | ||
| | | {{ll|GroceryBag3}} | ||
|- | | 1 | ||
| | | 10.0 | ||
|4 | |- | ||
| | | artstore | ||
|- | | {{ll|shelves}} | ||
| | | 4 | ||
|4 | | 4.0 | ||
| | |- | ||
|- | | bandkitchen | ||
| | | {{ll|counter}} | ||
|4 | | 4 | ||
| | | 4.0 | ||
|- | |- | ||
| gasstorage | | candystorage | ||
| | | {{ll|metal_shelves}} | ||
| 4 | | 4 | ||
| 4 | | 10.0 | ||
|- | |- | ||
| grocerystorage | | conveniencestore | ||
| | | {{ll|crate}} | ||
| 4 | | 4 | ||
| 1 | | 20.0 | ||
|} | |- | ||
| conveniencestore | |||
| {{ll|crate}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| conveniencestore | |||
| {{ll|crate}} | |||
| 4 | |||
| 50.0 | |||
|- | |||
| gasstorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 4.0 | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 1.0 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-CandyPackage" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|CandyPackage|41.78.16--> | |||
Candy package can be found in candy store [[Containers#Displays|display shelves]] and [[Containers#Counters|counters]], or in convenience store [[Containers#Shelves|shelves]]. | Candy package can be found in candy store [[Containers#Displays|display shelves]] and [[Containers#Counters|counters]], or in convenience store [[Containers#Shelves|shelves]]. | ||
Line 108: | Line 131: | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 3959 | |||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item CandyPackage | 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, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 137: | Line 160: | ||
*[[Chips]] | *[[Chips]] | ||
{{Navbox | {{Navbox items|miscellaneous_food}} | ||
[[Category:Non-perishable food]] | [[Category:Non-perishable food]] |
Revision as of 15:08, 24 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.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
Not referenced | TheatreSnacks | 4 | 20.0 |
Not referenced | TheatreSnacks | 4 | 10.0 |
all | GroceryBag1 | 1 | 1.0 |
all | GroceryBag3 | 1 | 10.0 |
artstore | shelves | 4 | 4.0 |
bandkitchen | counter | 4 | 4.0 |
candystorage | metal_shelves | 4 | 10.0 |
conveniencestore | crate | 4 | 20.0 |
conveniencestore | crate | 4 | 10.0 |
conveniencestore | crate | 4 | 50.0 |
gasstorage | crate | 4 | 4.0 |
grocerystorage | crate | 4 | 1.0 |
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,
}