Lettuce: Difference between revisions

From PZwiki
(Reworked Page, +Nav bar, reworked description, corrected consumables, added nutrition values/info, + info + categories.)
m (Automated Formatting)
(37 intermediate revisions by 12 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{languages}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Lettuce
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[ Main_Page|Index]] -> [[:Category:Food|Food]] -> [[:Category:Perishable_Food|Perishable Foods]] -> [[Lettuce|Lettuce]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Lettuce_Model.png
{{Consumables
|icon=Lettuce.png
|image = Lettuce.png
|icon_name=Lettuce
|hunger = -15
|icon2=LettuceRotten.png
|thirst = -15
 
|weight = 0.7
|icon_name2=Lettuce (Rotten)
<!--GENERAL-->
|category=Food
|weight=0.2
|days_fresh=3
|days_rotten=5
<!--NUTRITION-->
|hunger_change=-15
|thirst_change=-7
|calories=54
|lipids=0.54
|proteins=4.9
|carbohydrates=10.33
<!--TECHNICAL DETAILS-->
|item_id=Base.Lettuce
}}
}}
Lettuce are [[Food#Perishable|perishable]] food items that goes bad as time passes. Lettuce are often found within houses, inside of refrigerators, and in produce bins. Lettuce take three in-game days to go stale, and five in-game days to rot.
'''Lettuce''' is a perishable [[food]] [[Items|item]]]].


== Nutritional Information ==
==Usage==
{| border=0 align=left
===Trapping===
|
{{Main|Trapping}}
{{Consumables2
Lettuce can be used as bait in [[Trapping|traps]] to capture [[Dead Rabbit|rabbits]] and [[Dead Squirrel|squirrels]]. Due to the high chance of catching these animals with this bait, it may be considered a better use of lettuce than merely eating it or even using it in an evolved recipe.
 
===Consumable properties===
Lettuce can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables
|image = Lettuce.png
|image = Lettuce.png
|hunger = -15
|hunger = -15
Line 31: Line 49:
|rotten image = LettuceRotten.png
|rotten image = LettuceRotten.png
}}
}}
==Crafting==
{{Main|Cooking}}
===Evolved recipes===
Lettuce is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|sandwich=5|burger=5|salad=5|taco=3|burrito=3}}
===Sack of Lettuce===
{{Crafting/sandbox2
|lettuce
}}
==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="2"|all
|[[fridge]]
|4
|2
|-
|[[fridge]]
|4
|2
|-
|burgerkitchen
|[[fridge]]
|4
|4
|-
|deepfry_kitchen
|[[fridge]]
|4
|8
|-
|dinerkitchen
|[[fridge]]
|4
|4
|-
|rowspan="5"|gigamart
|[[grocerstand]]
|4
|1
|-
|[[grocerstand]]
|4
|1
|-
|[[grocerstand]]
|4
|2
|-
|[[grocerstand]]
|4
|2
|-
|[[grocerstand]]
|4
|5
|-
|mexicankitchen
|[[fridge]]
|4
|8
|-
|restaurantkitchen
|[[fridge]]
|4
|4
|-
|spiffoskitchen
|[[fridge]]
|4
|4
|}
|}
<br><br><br><br><br><br><br><br><br><br><br><br>
Lettuce is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
'''It's Nutritional Values are as follows:'''<br>
 
Carbohydrates = 10.33 <br>
Sacks of lettuce can be found in grocery stores and warehouses.
Proteins = 4.9 <br>
Lipids = 0.54 <br>
Calories = 54 <br><br>


== Evolved Recipes ==
==Gallery==
{{EvolvedRecipesForItem
<gallery>
|sandwich=5|burger=5|salad=5|}}
Lettuce Model.png|Lettuce model when placed in the world
LettuceRotten Model.png|Rotten lettuce model when placed in the world
</gallery>


== Trapping ==
==Code==
{{CodeBox|[[File:Lettuce.png]] {{ID|Base.Lettuce}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1022
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Lettuce
{
DisplayName = Lettuce,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Lettuce,
EvolvedRecipe = Sandwich:3;Burger:3;Salad:5;Sandwich Baguette:3;Taco:3;Burrito:3,
FoodType = Greens,
DaysFresh = 3,
DaysTotallyRotten = 5,
HungerChange = -15,
ThirstChange = -7,
Calories = 54,
Carbohydrates = 10.33,
Lipids = 0.54,
Proteins = 4.9,
StaticModel = RoundFood_Green,
WorldStaticModel = Lettuce_Ground,
}
}}


Lettuce can also be used in [[Trapping|traps]] to capture [[Dead_Rabbit|rabbits]] and [[Dead_Squirrel|squirrels]].
[[File:Sandbag.png]] {{ID|Base.SackProduce_Lettuce}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8148
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SackProduce_Lettuce
{
DisplayName = Sack of Lettuce,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 3,
DaysTotallyRotten = 5,
WorldStaticModel = SandBag,
}
}}
}}


Refer to [[Trapping|trapping]] for further information.
==See also==
{{Navbox items|plants}}


== Code ==
<nowiki>
    item Lettuce
Type = Food,
DisplayName = Lettuce,
Icon = Lettuce,
Weight = 0.7,
HungerChange = -15,
ThirstChange = -15,
DaysFresh = 3,
DaysTotallyRotten = 5,
EvolvedRecipe = Sandwich:5;Burger:5;Salad:5,
FoodType    = Vegetables,
        Carbohydrates = 10.33,
        Proteins = 4.9,
        Lipids = 0.54,
        Calories = 54,
</nowiki>


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

Revision as of 09:44, 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]
Lettuce
Lettuce Model.png
Lettuce (Rotten)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
3 days
Days until rotten
5 days
Nutrition
HungerMoodle Icon Hungry.png
-15
ThirstMoodle Icon Thirsty.png
-7
CaloriesCalories
54
CarbohydratesCarbohydrates
10.33
ProteinsProteins
4.9
FatFat
0.54
Technical
Item ID
Base.Lettuce

Lettuce is a perishable food item]].

Usage

Trapping

Main article: Trapping

Lettuce can be used as bait in traps to capture rabbits and squirrels. Due to the high chance of catching these animals with this bait, it may be considered a better use of lettuce than merely eating it or even using it in an evolved recipe.

Consumable properties

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

Fresh Stale Rotten

Lettuce.png
Hunger: -15


Lettuce.png
Hunger: -11
Boredom: +10
Unhappiness: +10

LettuceRotten.png
Hunger: -7
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Lettuce is a cooking ingredient.

Product Nutrition
Salad
Salad
5
Sandwich
Sandwich
5
Burger
Burger
5
Taco
Taco
3
Burrito
Burrito
3

Sack of Lettuce

Product Ingredients Tools Requirements Workstation XP
Lettuce.png
Lettuce ×12
Sandbag.png Sack of Lettuce ×1 none none none none

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
burgerkitchen fridge 4 4
deepfry_kitchen fridge 4 8
dinerkitchen fridge 4 4
gigamart grocerstand 4 1
grocerstand 4 1
grocerstand 4 2
grocerstand 4 2
grocerstand 4 5
mexicankitchen fridge 4 8
restaurantkitchen fridge 4 4
spiffoskitchen fridge 4 4

Lettuce is often found in refrigerators and grocery displays.

Sacks of lettuce can be found in grocery stores and warehouses.

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Lettuce.png Base.Lettuce
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Lettuce
	{
		DisplayName = Lettuce,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Lettuce,
		EvolvedRecipe = Sandwich:3;Burger:3;Salad:5;Sandwich Baguette:3;Taco:3;Burrito:3,
		FoodType = Greens,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		HungerChange = -15,
		ThirstChange = -7,
		Calories = 54,
		Carbohydrates = 10.33,
		Lipids = 0.54,
		Proteins = 4.9,
		StaticModel = RoundFood_Green,
		WorldStaticModel = Lettuce_Ground,
	}

Sandbag.png Base.SackProduce_Lettuce
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item SackProduce_Lettuce
	{
		DisplayName = Sack of Lettuce,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = Sandbag,
		CantEat = TRUE,
		DaysFresh = 3,
		DaysTotallyRotten = 5,
		WorldStaticModel = SandBag,
	}

See also