Lollipop: Difference between revisions

From PZwiki
(Update of NavBar.)
m (Automated Formatting)
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Sweets}}
{{languages}}
{{Page version|41.78.16}}
<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 -->
{{Infobox item
<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 -->
|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 -->
|model=Lollipop_Model.png
{{Consumables
|icon=Lollipop.png
|image = Lollipop.png
|icon_name=Lollipop
|hunger = -5
|icon2=CandyPackagei.png
|unhappiness = -10
|icon_name2=Candy Package
|weight = 0.1
Candy Package
<!--GENERAL-->
|category=Food
|weight=0.1
<!--NUTRITION-->
|hunger_change=-5
|calories=40
|lipids=0.5
|proteins=0
|carbohydrates=10
<!--EFFECTS-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|item_id=Base.Lollipop
}}
}}
A '''lollipop''' is a non-perishable [[food]] [[Items|item]].


The lollipop is a [[Food#Non-Perishable|non-perishable]] food that is found in many [[Containers#Kitchen_cupboard|kitchen drawers]], desks, crates, and even dumpsters. <br>
==Usage==
A very common spawn for lollipops is also garbage cans, which are very prevalent, making them a very surprisingly good source of lollipops. The 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.
Lollipops can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


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


== Nutritional Information ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
A lollipop provides when completely eaten: -5 hunger and a boost of 10 to happiness.
! colspan="4" | Containers
<br><br>
|-
'''It's Nutritional Values are as follows:'''<br>
! Building/Room
Carbohydrates = 10 <br>
! Container
Proteins = 0 <br>
! style="width: 3.2em;" | Rolls
Lipids = 0.5 <br>
! style="width: 3.2em;" | Chance
Calories = 40 <br><br>
|-
|classroom
|[[desk]]
|4
|1
|-
|daycare
|[[desk]]
|4
|1
|}


== Code ==
===Buildings===
<br>
Lollipops can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].
<nowiki>
item Lollipop
HungerChange = -5,
Weight = 0.1,
Type = Food,
UnhappyChange = -10,
DisplayName = Lollipop,
Icon = Lollipop,
        Carbohydrates = 10,
        Proteins = 0,
        Lipids = 0.5,
        Calories = 40,
</nowiki>


{{Navbox/Consumables}}
===Items===
[[Category:Consumables]]
Lollipops can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 5 lollipops.
[[Category:Food]]
 
[[Category:Non-Perishable_Food]]
==Code==
[[Category:Version 34.28]]
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 3943
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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==
*[[Candy Cane]]
*[[Mint Candy]]
*[[Modjeska]]
 
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Non-perishable food]]

Revision as of 09:49, 14 April 2024

Project ZomboidItemsFoodSweetsLollipop
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Lollipop
Lollipop Model.png
Candy Package Candy Package
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Nutrition
HungerMoodle Icon Hungry.png
-5
CaloriesCalories
40
CarbohydratesCarbohydrates
10
ProteinsProteins
0
FatFat
0.5
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
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

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

Containers
Building/Room Container Rolls Chance
classroom desk 4 1
daycare desk 4 1

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

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 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