Rock Candy

From PZwiki
Project ZomboidItemsFoodSweetsRock Candy
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Rock Candy
RockCandy Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-5
CaloriesCalories
40
CarbohydratesCarbohydrates
60
ProteinsProteins
0
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.RockCandy

Rock candy is a non-perishable food item.

Usage

Rock Candy can be eaten, providing the player with some positive effects, including reducing unhappiness.

Crafting

Main article: Cooking

Evolved recipes

Rock candy is a cooking ingredient.

Product Nutrition
Cake
Cake
5
Ice Cream Cone
Ice Cream Cone
5

Distribution

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

RockCandy distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
GroceryBag1 GroceryBag1 1.01%
GroceryBag3 GroceryBag3 6.41%
candystorage crate 23.28%
candystorage metal_shelves 23.28%
candystore counter 23.28%
candystore displaycase 23.28%
candystore shelves 23.28%
generalstore crate 23.28%
generalstore shelves 23.28%
generalstorestorage shelves 23.28%
gigamart crate 23.28%
gigamart shelves 23.28%
grocery crate 23.28%
grocery shelves 23.28%
grocery smallcrate 23.28%
grocerystorage crate 3.98%
grocerystorage metal_shelves 3.98%
grocerystorage smallcrate 3.98%

Rock candy can be found in grocery stores, candy stores, and supermarkets.

Code

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

Item

RockCandy.png Base.RockCandy
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item RockCandy
	{
		DisplayName = Rock Candy,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = RockCandy,
		EvolvedRecipe = Cake:5;ConeIcecream:5,
		FoodType = Candy,
		HungerChange = -5,
		UnhappyChange = -10,
		Calories = 40,
		Carbohydrates = 60,
		Lipids = 0,
		Proteins = 0,
		WorldStaticModel = RockCandy_Ground,
	}

See also