Candy Package: Difference between revisions

From PZwiki
m (Category Project: Sweets)
(→‎top: New infobox upgrade - Food)
Line 2: Line 2:
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{page version|41.73}}
{{page version|41.73}}
{{Infobox food
{{Infobox item
|display_name=Candy Package
|name=Candy Package
|name_colour=Food
|model=CandyPackage_Model.png
|name_text_colour=Food
|icon=CandyPackagei.png
|image=CandyPackage_Model.png
|icon_name=Candy Package
|image_width=200px
|icon2=Lollipop.png
|alternate_image=CandyPackagei.png
|icon_name2=Lollipop
|alternate_name=Candy Package
Lollipop
|alternate_link=
|icon3=MintCandy.png
|alternate_image2=Lollipop.png
|icon_name3=Mint Candy
|alternate_name2=Lollipop
Mint Candy
|alternate_link2=Lollipop
|alternate_image3=MintCandy.png
|alternate_name3=Mint Candy
|alternate_link3=Mint Candy
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 28: Line 24:
|carbohydrates=125
|carbohydrates=125
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CandyPackage
|item_id=Base.CandyPackage
}}A '''candy package''' is a [[Food#Non-Perishable|non-perishable]], non-edible food [[items|item]].  
}}A '''candy package''' is a [[Food#Non-Perishable|non-perishable]], non-edible food [[items|item]].  



Revision as of 11:17, 29 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
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 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.

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