Candy Package

From PZwiki
Revision as of 16:06, 27 January 2024 by VaileasysBot (talk | contribs) (Category Project: Sweets)

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

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