Lemon: Difference between revisions

From PZwiki
(Formatted page, adjusted consumable detail, minor summary adjustment, added cake recipe based on code info, removed TOC)
m (Automated Formatting)
(42 intermediate revisions by 12 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Fruit}}
{{languages}}
{{Page version|41.78.16}}
{{Consumables
{{Infobox item
|image = Lemon.png
|name=Lemon
|weight = 0.2
|model=Lemon_Model.png
|hunger = -11
|icon=Lemon.png
|icon_name=Lemon
|model2=LemonRotten_Model.png
|icon2=LemonRotten.png
|icon_name2=Lemon (Rotten)
<!--GENERAL-->
|category=Food
|weight=0.2
|days_fresh=7
|days_rotten=9
<!--NUTRITION-->
|hunger_change=-10
|thirst_change=-5
|calories=17
|lipids=0.17
|proteins=0.64
|carbohydrates=5.41
<!--TECHNICAL DETAILS-->
|item_id=Base.Lemon
}}
}}
A perishable food item that goes bad as time passes. Lemons are often found inside of [[refrigerator]]s, [[containers#Kitchen_cupboard|kitchen cupboards]], and in produce bins. A lemon takes seven in-game days to go stale, and nine in-game days to rot.
A '''lemon''' is a perishable 'spice' food [[Items|item]]] used in [[cooking]].
 
==Usage==
===Consumable properties===
Lemon can be eaten, providing the player with some positive effects, however, these will become more negative the longer it's left to perish.


== Nutritional Information ==
{{Consumables
{| border=0 align=left
|
{{Consumables2
|image = Lemon.png
|image = Lemon.png
|hunger = -15
|hunger = -10
|thirst = 0
|thirst = 0
|unrotten hunger = -11
|unrotten hunger = -7
|unrotten boredom = +10
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten unhappiness = +10
|unrotten thirst = 0
|unrotten thirst = 0
|unrotten image = Lemon.png
|unrotten image = Lemon.png
|rotten hunger = -6
|rotten hunger = -4
|rotten boredom = +20
|rotten boredom = +20
|rotten unhappiness = +20
|rotten unhappiness = +20
Line 27: Line 46:
|rotten image = Lemon rotten.png
|rotten image = Lemon rotten.png
}}
}}
==Crafting==
{{Main|Cooking}}
===Evolved recipes===
Lemon is a spice when used in [[cooking]] [[Recipe ingredients|recipes]], therefore will not be included in the maximum number of ingredients.
{{EvolvedRecipesForItem|cake=5|fruitsalad=5|pancakes=5|waffles=5|muffin=5|pie=5|stirfry=5|soup=10|beverage=2|beer=2|taco=2|burrito=2}}
==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
|-
|rowspan="3"|all
|[[fridge]]
|4
|2
|-
|[[fridge]]
|4
|2
|-
|[[fridge]]
|4
|2
|-
|bakery
|[[fridge]]
|4
|8
|-
|cafe
|[[fridge]]
|4
|8
|-
|dinerkitchen
|[[fridge]]
|4
|2
|-
|rowspan="2"|gigamart
|[[grocerstand]]
|4
|1
|-
|[[grocerstand]]
|4
|2
|-
|kitchen_crepe
|[[fridge]]
|4
|8
|-
|mexicankitchen
|[[fridge]]
|4
|8
|-
|restaurantkitchen
|[[fridge]]
|4
|2
|-
|rowspan="2"|seafoodkitchen
|[[fridge]]
|4
|8
|-
|[[fridge]]
|4
|8
|}
|}
<br><br><br><br><br><br><br><br><br><br><br>
Lemon is often found in [[refrigerator]]s, [[Containers#Displays|grocery displays]] and can be foraged in Farm and Forest.
== Evolved Recipes ==
{{EvolvedRecipesForItem
|cake=8}}


== Code ==
==Code==
<nowiki>item Lemon
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1237
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Lemon
{
{
HungerChange = -15,
DisplayName = Lemon,
Weight = 0.2,
DisplayCategory = Food,
Type = Food,
Type = Food,
DaysTotallyRotten = 9,
Weight = 0.2,
DisplayName = Lemon,
Icon = Lemon,
Icon = Lemon,
EvolvedRecipe = HotDrink:2;HotDrinkRed:2;HotDrinkWhite:2;HotDrinkSpiffo:2;HotDrinkTea:2;Cake:5;FruitSalad:5;Pancakes:5;Waffles:5;Muffin:5;PieSweet:5;Stir fry Griddle Pan:5;Stir fry:5;Soup:10;Beverage:2;Beverage2:2;Beer:2;Beer2:2;Taco:2;Burrito:2,
DaysFresh = 7,
FoodType = Citrus,
EvolvedRecipe = Cake:8,
Spice = true,
FoodType    =   Fruits,
DaysFresh = 7,
}</nowiki>
DaysTotallyRotten = 9,
HungerChange = -10,
ThirstChange = -5,
Calories = 17,
Carbohydrates = 5.41,
Lipids = 0.17,
Proteins = 0.64,
CustomEatSound = EatingFruit,
StaticModel = RoundFood_Yellow,
WorldStaticModel = Lemon_Ground,
Tags = HerbalTea,
}
}}
}}
 
==See also==
*[[Orange]]
*[[Pineapple]]
*[[Banana]]
*[[Apple]]
 
{{Navbox items|plants}}
 


{{Navbox/Consumables}}
[[Category:Perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Perishable Food]]
[[Category:Version 2.9.9.17]]

Revision as of 09:43, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Lemon
Lemon Model.png
LemonRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
7 days
Days until rotten
9 days
Nutrition
HungerMoodle Icon Hungry.png
-10
ThirstMoodle Icon Thirsty.png
-5
CaloriesCalories
17
CarbohydratesCarbohydrates
5.41
ProteinsProteins
0.64
FatFat
0.17
Technical
Item ID
Base.Lemon

A lemon is a perishable 'spice' food item] used in cooking.

Usage

Consumable properties

Lemon can be eaten, providing the player with some positive effects, however, these will become more negative the longer it's left to perish.


Fresh Stale Rotten

Lemon.png
Hunger: -10


Lemon.png
Hunger: -7
Boredom: +10
Unhappiness: +10

Lemon rotten.png
Hunger: -4
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Lemon is a spice when used in cooking recipes, therefore will not be included in the maximum number of ingredients.

Product Nutrition
Soup
Soup
10
Fruit Salad
Fruit Salad
5
Stir Fry
Stir Fry
5
Pie (savory)
Pie (savory)
5
Cake
Cake
5
Taco
Taco
2
Burrito
Burrito
2
Muffin
Muffin
5
Pancakes
Pancakes
5
Waffles
Waffles
5
Beverage
Beverage
2
Beer
Beer
2

Distribution

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

Containers
Building/Room Container Rolls Chance
all fridge 4 2
fridge 4 2
fridge 4 2
bakery fridge 4 8
cafe fridge 4 8
dinerkitchen fridge 4 2
gigamart grocerstand 4 1
grocerstand 4 2
kitchen_crepe fridge 4 8
mexicankitchen fridge 4 8
restaurantkitchen fridge 4 2
seafoodkitchen fridge 4 8
fridge 4 8

Lemon is often found in refrigerators, grocery displays and can be foraged in Farm and Forest.

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 Lemon
	{
		DisplayName = Lemon,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Lemon,
		EvolvedRecipe = HotDrink:2;HotDrinkRed:2;HotDrinkWhite:2;HotDrinkSpiffo:2;HotDrinkTea:2;Cake:5;FruitSalad:5;Pancakes:5;Waffles:5;Muffin:5;PieSweet:5;Stir fry Griddle Pan:5;Stir fry:5;Soup:10;Beverage:2;Beverage2:2;Beer:2;Beer2:2;Taco:2;Burrito:2,
		FoodType = Citrus,
		Spice = true,
		DaysFresh = 7,
		DaysTotallyRotten = 9,
		HungerChange = -10,
		ThirstChange = -5,
		Calories = 17,
		Carbohydrates = 5.41,
		Lipids = 0.17,
		Proteins = 0.64,
		CustomEatSound = EatingFruit,
		StaticModel = RoundFood_Yellow,
		WorldStaticModel = Lemon_Ground,
		Tags = HerbalTea,
	}

See also