Candy Package: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
(28 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Sweets}}
{{languages|Candy Package}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Candy Package
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=CandyPackage_Model.png
{{Consumables
|icon=CandyPackagei.png
|image = CandyPackagei.png
|icon_name=Candy Package
|weight = 0.6
|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
}}
}}
A '''candy package''' is a container for [[Food#Non-Perishable|non-perishable]] food items which is often found in [[Containers#Kitchen_Counter|kitchen counters]]. It contains [[Lollipop|lollipops]] and [[Mint_Candy|mint candies]] which can be consumed.
A '''candy package''' (''Assorted Candy'' on the model) is a non-perishable, non directly edible [[food]] [[Items|item]].


== Nutritional information ==
==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.


'''Its nutritional values are as follows:'''<br>
===Contents===
Carbohydrates = 125 <br>
{| class="wikitable theme-red" style="text-align:center;"
Proteins = 0 <br>
Lipids = 2.5 <br>
Calories = 500 <br><br>
 
== Contents ==
{| class="wikitable"
|-
! colspan="2"| Contents of Bag
|-
|-
! Name
! Name
! Amount
! Amount
|-
|-
|[[File:Lollipop.png|center]] Lollipop
|[[File:Lollipop.png|center]] [[Lollipop]]
|style="text-align: center;" |x5
|x5
|-
|-
|[[File:MintCandy.png|center]]Mint Candy
|[[File:MintCandy.png|center]] [[Mint Candy]]
|style="text-align: center;" |x5
|x6
|-
|-
|}
|}


== Code ==
==Distribution==
<br>
The loot distributions can be found in the table(s) below.
<nowiki>
 
     item CandyPackage
<!--BOT FLAG|CandyPackage|41.78.16-->
         Type = Food,
{{clear}}
        DisplayName = Candy Package,
<div class="togglebox theme-red">
        Icon = CandyPackagei,
     <div>CandyPackage distribution
        Weight = 0.6,
         <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>
        Carbohydrates = 125,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CandyPackage">
        Proteins = 0,
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
        Lipids = 2.5,
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
        Calories = 500,
    |+ {{ll|Containers}}
        PAckaged = TRUE,
    ! Building / Room
</nowiki>
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|TheatreSnacks}}
    | 4
    | 20.0
    |-
    | Not referenced
    | {{ll|TheatreSnacks}}
    | 4
    | 10.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|GroceryBag3}}
    | 1
    | 10.0
    |-
    | artstore
    | {{ll|shelves}}
    | 4
    | 4.0
    |-
    | bandkitchen
    | {{ll|counter}}
    | 4
    | 4.0
    |-
    | candystorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | conveniencestore
    | {{ll|crate}}
    | 4
    | 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]].
 
==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}}
 


{{Navbox/Consumables}}
[[Category:Non-perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 15:08, 24 April 2024

Project ZomboidItemsFoodSweetsCandy Package
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Candy Package
CandyPackage Model.png
Lollipop Lollipop
Mint Candy Mint Candy
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.6
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-5
CaloriesCalories
500
CarbohydratesCarbohydrates
125
ProteinsProteins
0
FatFat
2.5
Technical
Item ID
Base.CandyPackage

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.png
Lollipop
x5
MintCandy.png
Mint Candy
x6

Distribution

The loot distributions can be found in the table(s) below.

CandyPackage distribution Show / Hide
Containers
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

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 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