Lettuce: Difference between revisions

From PZwiki
(Lettuce can now be used in tacos and burritos.)
m (Automated Formatting)
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=78}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Vegetables}}
|display_name=Lettuce
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Lettuce
|image=Lettuce.png
|model=Lettuce_Model.png
|alternate_image=LettuceRotten.png
|icon=Lettuce.png
|alternate_link=
|icon_name=Lettuce
|alternate_name=Lettuce (Rotten)
|icon2=LettuceRotten.png
 
|icon_name2=Lettuce (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.2
|weight=0.2
|days_fresh=3
|days_fresh=3
|days_rotten=2
|days_rotten=5
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-15
|hunger_change=-15
Line 20: Line 22:
|carbohydrates=10.33
|carbohydrates=10.33
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Lettuce
|item_id=Base.Lettuce
}}'''Lettuce''' is a [[Food#Perishable|perishable]] food [[item]].
}}
'''Lettuce''' is a perishable [[food]] [[Items|item]]]].


==Usage==
==Usage==
===Trapping===
===Trapping===
{{Main|Trapping}}
{{Main|Trapping}}
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.
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===
===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.
Lettuce can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = Lettuce.png
|image = Lettuce.png
|hunger = -15
|hunger = -15
Line 52: Line 54:


===Evolved recipes===
===Evolved recipes===
Lettuce is a [[cooking]] [[Recipe Ingredients|ingredient]].
Lettuce is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|sandwich=5|burger=5|salad=5|taco=3|burrito=3}}
{{EvolvedRecipesForItem|sandwich=5|burger=5|salad=5|taco=3|burrito=3}}
===Sack of Lettuce===
{{Crafting/sandbox2
|lettuce
}}


==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
|-
|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
|}
Lettuce is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
Lettuce is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
Sacks of lettuce can be found in grocery stores and warehouses.


==Gallery==
==Gallery==
<gallery>
<gallery>
File:Lettuce Model.png|Lettuce model when placed in the world.
Lettuce Model.png|Lettuce model when placed in the world
File:LettuceRotten Model.png|Rotten lettuce model when placed in the world.
LettuceRotten Model.png|Rotten lettuce model when placed in the world
</gallery>
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:Lettuce.png]] {{ID|Base.Lettuce}}<br>
{{Retrieved|version=41|incver=78}}
{{CodeSnip
<pre>
  | lang = java
item Lettuce
  | line = true
  | start = 1022
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Lettuce
{
{
DisplayName = Lettuce,
DisplayName = Lettuce,
Line 88: Line 173:
WorldStaticModel = Lettuce_Ground,
WorldStaticModel = Lettuce_Ground,
}
}
</pre>
}}
 
[[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,
}
}}
}}
 
==See also==
{{Navbox items|plants}}
 


{{Navbox food}}
[[Category:Perishable food]]

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