Candy Package: Difference between revisions

From PZwiki
m (pztable -> wikitable theme-red)
m (Category Project: Sweets)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Languages}}
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{page version|41.73}}
{{Infobox food
|display_name=Candy Package
|display_name=Candy Package
|name_colour=Food
|name_colour=Food
Line 50: Line 53:
==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41.73}}
<pre>    item CandyPackage
<pre>    item CandyPackage
{
{
Line 73: Line 76:


{{Navbox food}}
{{Navbox food}}
[[Category:Non-perishable food]]

Revision as of 16:06, 27 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
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