Lollipop: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(36 intermediate revisions by 12 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]].


==Usage==
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.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|classroom
|[[desk]]
|4
|1
|-
|daycare
|[[desk]]
|4
|1
|}


== Effects ==
===Buildings===
[[Hunger]]: -5<br>
Lollipops can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]].
[[Unhappy]]: -10
 


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