Lollipop: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
mNo edit summary
Line 1: Line 1:
{{languages}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Lollipop
|display_name=Lollipop
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Lollipop_Model.png
|image=Lollipop_120px.png
|image_width=150px
|alternate_image=CandyPackagei.png
|alternate_image=Lollipop.png
|alternate_name=Candy Package
|alternate_name=Lollipop
|alternate_link=Candy Package
|alternate_link=
|alternate_image2=CandyPackagei.png
|alternate_name2=Candy Package
|alternate_link2=Candy Package
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 17: Line 13:
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-5
|hunger_change=-5
|thirst_change=
|calories=40
|calories=40
|lipids=0.5
|lipids=0.5
Line 26: Line 21:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Lollipop
|class_name=Base.Lollipop
}}A '''lollipop''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].
}}'''Lollipop''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].


==Usage==
==Usage==
A lollipop can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].
Lollipop can be eaten, providing the player with some positive effects, including reducing [[Moodles#Unhappy|unhappiness]].


==Distribution==
==Distribution==
===Buildings===
===Buildings===
Lollipops can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].
Lollipop can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].
 
===Items===
===Items===
Lollipops can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 5 lollipops.
Lollipop 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 ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=41|incver=73}}
<pre> item Lollipop
<pre> item Lollipop
{
{
DisplayName = Lollipop,
DisplayCategory = Food,
DisplayCategory = Food,
HungerChange = -5,
Type = Food,
Weight = 0.1,
Weight = 0.1,
Type = Food,
Icon = Lollipop,
UnhappyChange = -10,
HungerChange = -5,
DisplayName = Lollipop,
UnhappyChange = -10,
Icon = Lollipop,
Calories = 40,
        Carbohydrates = 10,
Carbohydrates = 10,
        Proteins = 0,
Lipids = 0.5,
        Lipids = 0.5,
Proteins = 0,
        Calories = 40,
WorldStaticModel = Lollipop,
        WorldStaticModel = Lollipop,
}</pre>
}</pre>



Revision as of 20:28, 5 October 2022

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

Lollipop is a non-perishable food item.

Usage

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

Distribution

Buildings

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

Items

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

Gallery

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