Candy Package: Difference between revisions

From PZwiki
m (Automatically add empty line after navbox)
m (Automated Formatting)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Page version|41.73}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Candy Package
|name=Candy Package
Line 25: Line 25:
|item_id=Base.CandyPackage
|item_id=Base.CandyPackage
}}
}}
 
A '''candy package''' (''Assorted Candy'' on the model) is a non-perishable, non directly edible [[food]] [[Items|item]].
A '''candy package''' is a [[Food#Non-Perishable|non-perishable]], non-edible food [[Items|item]].


==Usage==
==Usage==
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]]s 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===
Line 51: Line 50:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
|-
| artstore
|artstore
| [[shelves]]
|[[shelves]]
| 4
|4
| 4
|4
|-
|-
| bandkitchen
|bandkitchen
| [[counter]]
|[[counter]]
| 4
|4
| 4
|4
|-
|-
| candystorage
|candystorage
| [[metal_shelves]]
|[[metal_shelves]]
| 4
|4
| 1
|1
|-
|-
| rowspan="5"|conveniencestore
|rowspan="5"|conveniencestore
| [[crate]]
|[[crate]]
| 4
|4
| 1
|1
|-
|-
|[[crate]]
|[[crate]]
Line 92: Line 91:
|5
|5
|-
|-
| gasstorage
|gasstorage
| [[crate]]
|[[crate]]
| 4
|4
| 4
|4
|-
|-
| grocerystorage
|grocerystorage
| [[crate]]
|[[crate]]
| 4
|4
| 1
|1
|}
|}
Candy package 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]].
Line 108: Line 107:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 3959
   | source = items_food.txt
   | source = items_food.txt
   | retrieved = true
   | retrieved = true
   | version = 41.73
   | version = 41.78.16
   | code =
   | code =
item CandyPackage
item CandyPackage
{
{
  DisplayName         = Candy Package,
DisplayName = Candy Package,
  DisplayCategory     = Food,
DisplayCategory = Food,
  Type               = Food,
Type = Food,
  Weight             = 0.6,
Weight = 0.6,
  Icon               = CandyPackagei,
Icon = CandyPackagei,
  CantEat             = TRUE,
CantEat = TRUE,
  Packaged           = TRUE,
Packaged = TRUE,
  Calories           = 500,
Calories = 500,
  Carbohydrates       = 125,
Carbohydrates = 125,
  Lipids             = 2.5,
Lipids = 2.5,
  Proteins           = 0,
Proteins = 0,
  WorldStaticModel   = CandyPackage,
WorldStaticModel = CandyPackage,
}
}
  }}
}}
}}
}}


Line 136: Line 136:
*[[Chips]]
*[[Chips]]


{{Navbox food}}
{{Navbox items|miscellaneous_food}}
 


[[Category:Non-perishable food]]
[[Category:Non-perishable food]]

Revision as of 07:11, 14 April 2024

Project ZomboidItemsFoodSweetsCandy Package
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
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 (Assorted Candy on the model) is a non-perishable, non directly 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

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
artstore shelves 4 4
bandkitchen counter 4 4
candystorage metal_shelves 4 1
conveniencestore crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5
gasstorage crate 4 4
grocerystorage crate 4 1

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

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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