Lollipop: Difference between revisions

From PZwiki
(Added some more spawn information, and a little tip.)
m (Distribution table update)
(34 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{Consumables
{{Page version|41.78.16}}
|image = Lollipop.png
{{Infobox item
|hunger = -5
|name=Lollipop
|weight = 0.1
|model=Lollipop_Model.png
|icon=Lollipop.png
|icon_name=Lollipop
|icon2=CandyPackagei.png
|icon_name2=Candy Package
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 non perishable food that is found in many kitchen drawers, desks, crates, and even dumpsters. 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.
==Usage==
Lollipops can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]].


== Effects ==
==Distribution==
[[Hunger]]: -5<br>
The loot distributions can be found in the table(s) below.
[[Unhappy]]: -10


<!--BOT FLAG|Lollipop|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Lollipop distribution
        <span class="mw-customtoggle-togglebox-Lollipop" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Lollipop">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | classroom
    | {{ll|desk}}
    | 4
    | 1.0
    |-
    | daycare
    | {{ll|desk}}
    | 4
    | 1.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Lollipop" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Lollipop|41.78.16-->


===Buildings===
Lollipops can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].


===Items===
Lollipops can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 5 lollipops.


==Code==
{{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}}


== Code ==
<nowiki>item Lollipop
{
Type = Food,
DisplayName = Lollipop,
Icon = Lollipop,
Weight = 0.1,
HungerChange = -5,
UnhappyChange = -10,
}</nowiki>


{{Navbox/Consumables}}
[[Category:Non-perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable Food]]
[[Category:Version 0.2.0p]]

Revision as of 15:55, 24 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.

Lollipop distribution Show / Hide
Containers
Building / Room Container Rolls Chance
classroom desk 4 1.0
daycare desk 4 1.0

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