Candy Package: Difference between revisions

From PZwiki
mNo edit summary
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Candy Package}}
{{languages|Candy Package}}
<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 -->
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Notice|Future}}{{Infobox food
<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 -->
|display_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 -->
|name_colour=Food
{{Consumables
|name_text_colour=Food
|image = CandyPackagei.png
|image=CandyPackagei_120px.png
|weight = 0.6
|alternate_image=Lollipop.png
}}
|alternate_name=Lollipop
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.
|alternate_link=Lollipop
|alternate_image2=MintCandy.png
|alternate_name2=Mint Candy
|alternate_link2=Mint Candy
<!--GENERAL-->
|category=Food
|weight=0.6
|packaged=True
<!--NUTRITION-->
|hunger_change=-5
|calories=500
|lipids=2.5
|proteins=0
|carbohydrates=125
<!--TECHNICAL DETAILS-->
|class_name=Base.CandyPackage
}}A '''candy package''' is a [[Food#Non-Perishable|non-perishable]], non-edible food [[items|item]].  


== Nutritional information ==
==Usage==
 
A candy package can be opened, giving the player [[Lollipop|lollipops]] 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" 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
|-
|-
|}
|}
==Distribution==
Candy packages can be found in candy store [[Containers#Displays|display shelves]] and [[Containers#Counters|counters]], or in convenience store [[Containers#Shelves|shelves]].


== Code ==
== Code ==
<br>
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
{{Retrieved|version=40|incver=14}}
    item CandyPackage
<pre> item CandyPackage
        Type = Food,
        Type = Food,
        DisplayName = Candy Package,
      DisplayName = Candy Package,
        Icon = CandyPackagei,
        Icon = CandyPackagei,
        Weight = 0.6,
        Weight = 0.6,
        Carbohydrates = 125,
        Carbohydrates = 125,
        Proteins = 0,
        Proteins = 0,
        Lipids = 2.5,
        Lipids = 2.5,
        Calories = 500,
        Calories = 500,
        PAckaged = TRUE,
        PAckaged = TRUE,</pre>
</nowiki>
 
==See also==
*[[Candy Cane]]
*[[Modjeska]]
*[[Chips]]


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

Revision as of 16:27, 12 September 2018

PictureKate.png
This is a future feature.
This article is about an item or mechanic that is currently unimplemented and planned for a future version.
It has either been previewed or found in the game files and does not exist yet.
Candy Package
Candy Package
Lollipop Mint Candy
General
Category Food
Encumbrance
Heavy Load
0.6
Packaged True
Nutrition
Hunger
Hunger
-5
Calories
Calories
500
Carbohydrates
Carbohydrates
125
Proteins
Proteins
0
Fat
Fat
2.5
Technical details
Item ID Base.CandyPackage

A candy package is a non-perishable, non-edible food item.

Usage

A 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

Candy packages can be found in candy store display shelves and counters, or in convenience store shelves.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.14

	item CandyPackage
        	Type		= Food,
       		DisplayName	= Candy Package,
        	Icon		= CandyPackagei,
        	Weight		= 0.6,
        	Carbohydrates 	= 125,
        	Proteins 	= 0,
        	Lipids 		= 2.5,
        	Calories 	= 500,
        	PAckaged 	= TRUE,

See also

Template:Navbox/Consumables