Candy Package: Difference between revisions

From PZwiki
m (Remove 120px, minor fixes)
m (Automated Formatting)
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Sweets}}
|display_name=Candy Package
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Candy Package
|image=CandyPackagei.png
|model=CandyPackage_Model.png
|alternate_image=Lollipop.png
|icon=CandyPackagei.png
|alternate_name=Lollipop
|icon_name=Candy Package
|alternate_link=Lollipop
|icon2=Lollipop.png
|alternate_image2=MintCandy.png
|icon_name2=Lollipop
|alternate_name2=Mint Candy
Lollipop
|alternate_link2=Mint Candy
|icon3=MintCandy.png
|icon_name3=Mint Candy
Mint Candy
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 23:
|carbohydrates=125
|carbohydrates=125
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.CandyPackage
|item_id=Base.CandyPackage
}}'''Candy package''' is a [[Food#Non-Perishable|non-perishable]], non-edible food [[items|item]].  
}}
A '''candy package''' (''Assorted Candy'' on the model) is a non-perishable, non directly 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===
{| class="pztable" style="text-align:center;"
{| class="wikitable theme-red" style="text-align:center;"
|-
|-
! Name
! Name
Line 42: Line 45:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|artstore
|[[shelves]]
|4
|4
|-
|bandkitchen
|[[counter]]
|4
|4
|-
|candystorage
|[[metal_shelves]]
|4
|1
|-
|rowspan="5"|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 [[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/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>    item CandyPackage
  | lang = java
  | line = true
  | start = 3959
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CandyPackage
{
{
DisplayName = Candy Package,
DisplayName = Candy Package,
Line 66: Line 127:
Proteins = 0,
Proteins = 0,
WorldStaticModel = CandyPackage,
WorldStaticModel = CandyPackage,
}</pre>
}
}}
}}


==See also==
==See also==
Line 73: Line 136:
*[[Chips]]
*[[Chips]]


{{Navbox food}}
{{Navbox items|miscellaneous_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