Lollipop: Difference between revisions

From PZwiki
mNo edit summary
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Lollipop}}
{{languages|Lollipop}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|display_name=Lollipop
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name_colour=Food
{{Consumables
|name_text_colour=Food
|image = Lollipop.png
|image=Lollipop_120px.png
|hunger = -5
|alternate_image=CandyPackagei.png
|unhappiness = -10
|alternate_name=Candy Package
|weight = 0.1
|alternate_link=Candy Package
}}
<!--GENERAL-->
A [[lollipop]] is a [[Food#Non-Perishable|non-perishable]] food that is found in many [[Containers#Kitchen Counter|kitchen counters]], [[Containers#Desks|desks]], [[Containers#Wooden Crate|crates]], and even [[Containers#Bins|dumpsters]]. A very common spawn for lollipops is also [[Containers#Bins|garbage cans]], which are very prevalent, surprisingly making them a good source of lollipops.<br>
|category=Food
A lollipop does little to reduce hunger, but manages to take down some unhappiness. Due to their low weight, they can be a good food to take on short trips where you need an extra strength boost.
|weight=0.1
|packaged=True
<!--NUTRITION-->
|hunger_change=-5
|thirst_change=
|calories=40
|lipids=0.5
|proteins=0
|carbohydrates=10
<!--EFFECTS-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|class_name=Base.Lollipop
}}A '''lollipop''' is a [[Food#Non-Perishable|non-perishable]] food [[items|item]].


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


== Nutritional information ==
==Distribution==
<br>
===Buildings===
'''Its nutritional values are as follows:'''<br>
Lollipops can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].
Carbohydrates = 10 <br>
===Items===
Proteins = 0 <br>
Lollipops can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 5 lollipops.
Lipids = 0.5 <br>
Calories = 40 <br><br>


== Code ==
== Code ==
<br>
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
{{Retrieved|version=40|incver=14}}
item Lollipop
<pre> item Lollipop
HungerChange = -5,
HungerChange = -5,
Weight = 0.1,
Weight = 0.1,
Line 35: Line 47:
         Proteins = 0,
         Proteins = 0,
        Lipids = 0.5,
        Lipids = 0.5,
         Calories = 40,
         Calories = 40,</pre>
</nowiki>
 
==See also==
*[[Candy Cane]]
*[[Mint Candy]]
*[[Modjeska]]


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 17:42, 12 September 2018

Lollipop
Lollipop
Candy Package
General
Category Food
Encumbrance
Heavy Load
0.1
Packaged True
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

A lollipop 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 newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.14

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

See also

Template:Navbox/Consumables