Lollipop: Difference between revisions

From PZwiki
(added model to infobox)
(-gallery (dupe only))
Line 36: Line 36:
===Items===
===Items===
Lollipops can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 5 lollipops.
Lollipops can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 5 lollipops.
==Gallery==
<gallery>
File:Lollipop Model.png|Model for: [[File:Lollipop.png]]
</gallery>


==Code==
==Code==

Revision as of 06:54, 18 December 2023

Lollipop
Lollipop
Lollipop Candy Package
General
Category Food
Encumbrance
Heavy Load
0.1
Nutrition
Hunger
Hunger
-5
Calories
Calories
40
Carbohydrates
Carbohydrates
10
Proteins
Proteins
0
Fat
Fat
0.5
Effect
Unhappiness
Unhappiness
-10
Technical details
Item ID Base.Lollipop

A lollipop is a non-perishable food item.

Usage

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

Distribution

Buildings

Lollipops can be found in grocery stores, office desks, motel room refrigerators and bins.

Items

Lollipops can be found in garbage bags or by opening a candy package, giving 5 lollipops.

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

	item Lollipop
	{
		DisplayName = Lollipop,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.1,
		Icon = Lollipop,
		HungerChange = -5,
		UnhappyChange = -10,
		Calories = 40,
		Carbohydrates = 10,
		Lipids = 0.5,
		Proteins = 0,
		WorldStaticModel = Lollipop,
	}

See also