Candy Package: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
mNo edit summary
Line 1: Line 1:
{{languages}}
{{languages|Candy Package}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Candy Package
|display_name=Candy Package
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=CandyPackage_Model.png
|image=CandyPackagei_120px.png
|image_width=175px
|alternate_image=Lollipop.png
|alternate_image=CandyPackagei.png
|alternate_name=Lollipop
|alternate_name=Candy Package
|alternate_link=Lollipop
|alternate_link=
|alternate_image2=MintCandy.png
|alternate_image2=Lollipop.png
|alternate_name2=Mint Candy
|alternate_name2=Lollipop
|alternate_link2=Mint Candy
|alternate_link2=Lollipop
|alternate_image3=MintCandy.png
|alternate_name3=Mint Candy
|alternate_link3=Mint Candy
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.6
|weight=0.6
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-5
|hunger_change=-5
Line 27: Line 23:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CandyPackage
|class_name=Base.CandyPackage
}}A '''candy package''' is a [[Food#Non-Perishable|non-perishable]], non-edible food [[items|item]].  
}}'''Candy package''' is a [[Food#Non-Perishable|non-perishable]], non-edible food [[items|item]].  


==Usage==
==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.  
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.
 
=== Contents ===
=== Contents ===
{| class="pztable" style="text-align:center;"
{| class="pztable" style="text-align:center;"
Line 46: Line 43:


==Distribution==
==Distribution==
Candy packages 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]].
 
==Gallery==
<gallery>
CandyPackage_Model.png|Candy package model when placed in the world.
</gallery>


== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=41|incver=73}}
<pre>    item CandyPackage
<pre>    item CandyPackage
    {
{
        DisplayCategory = Food,
DisplayName = Candy Package,
        Type = Food,
DisplayCategory = Food,
        DisplayName = Candy Package,
Type = Food,
        Icon = CandyPackagei,
Weight = 0.6,
        Weight = 0.6,
Icon = CandyPackagei,
        Carbohydrates = 125,
CantEat = TRUE,
        Proteins = 0,
Packaged = TRUE,
        Lipids = 2.5,
Calories = 500,
        Calories = 500,
Carbohydrates = 125,
        Packaged = TRUE,
Lipids = 2.5,
        WorldStaticModel = CandyPackage,
Proteins = 0,
    }</pre>
WorldStaticModel = CandyPackage,
}</pre>


==See also==
==See also==

Revision as of 16:45, 5 October 2022

Candy Package
Candy Package
Lollipop Mint Candy
General
Category Food
Encumbrance
Heavy Load
0.6
Packaged Yes
Nutrition
Hunger
Hunger
-5
Calories
Calories
500
Carbohydrates
Carbohydrates
125
Proteins
Proteins
0
Fat
Fat
2.5
Technical details
Item ID Base.CandyPackage

Candy package is a non-perishable, non-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

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

Gallery

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

    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