Lollipop: Difference between revisions
(→Code: CodeBox update) |
m (Automated Formatting) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Sweets}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Lollipop | |name=Lollipop | ||
|model= | |model=Lollipop_Model.png | ||
|icon=Lollipop.png | |icon=Lollipop.png | ||
|icon_name=Lollipop | |icon_name=Lollipop | ||
Line 23: | Line 22: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id=Base.Lollipop | |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 [[ | 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. | |||
{| 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 | |||
|} | |||
===Buildings=== | ===Buildings=== | ||
Line 36: | Line 56: | ||
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== | |||
{{CodeBox | {{CodeBox | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 3943 | |||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item Lollipop | 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, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 68: | Line 89: | ||
*[[Modjeska]] | *[[Modjeska]] | ||
{{Navbox | {{Navbox items|miscellaneous_food}} | ||
[[Category:Non-perishable food]] | [[Category:Non-perishable food]] |
Revision as of 09:49, 14 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.
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
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,
}