Lollipop: Difference between revisions
(updated to 41.68 + added model + navbox) |
m (Distribution table update) |
||
(26 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Lollipop | ||
|model=Lollipop_Model.png | |||
|icon=Lollipop.png | |||
| | |icon_name=Lollipop | ||
|icon2=CandyPackagei.png | |||
| | |icon_name2=Candy Package | ||
| | Candy Package | ||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
Line 17: | Line 14: | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-5 | |hunger_change=-5 | ||
|calories=40 | |calories=40 | ||
|lipids=0.5 | |lipids=0.5 | ||
Line 25: | Line 21: | ||
|unhappy_change=-10 | |unhappy_change=-10 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Lollipop | ||
}}A '''lollipop''' is a | }} | ||
A '''lollipop''' is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Lollipops can be eaten, providing the player with some positive effects, including reducing [[Unhappy|unhappiness]]. | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--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=== | ===Buildings=== | ||
Lollipops can be found in grocery stores, [[Containers#Desks|office desks]], motel room [[Containers#Refrigerators|refrigerators]] and [[Containers#Bins|bins]]. | Lollipops 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. | Lollipops can be found in [[Garbage Bag|garbage bags]] or by opening a [[Candy Package|candy package]], giving 5 lollipops. | ||
== Code == | ==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, | DisplayCategory = Food, | ||
Type = Food, | |||
Weight = 0.1, | Weight = 0.1, | ||
Icon = Lollipop, | |||
HungerChange = -5, | |||
UnhappyChange = -10, | |||
Calories = 40, | |||
Carbohydrates = 10, | |||
Lipids = 0.5, | |||
Proteins = 0, | |||
WorldStaticModel = Lollipop, | |||
} | |||
} | }} | ||
}} | |||
==See also== | ==See also== | ||
Line 61: | Line 99: | ||
*[[Modjeska]] | *[[Modjeska]] | ||
{{ | {{Navbox items|miscellaneous_food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 15:55, 24 April 2024
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.
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
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}