Lettuce: Difference between revisions

From PZwiki
mNo edit summary
(Add distro table)
 
(39 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Lettuce}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Lettuce
{{Infobox item
|name_colour=Food
|name=Lettuce
|name_text_colour=Food
|model=Lettuce_Model.png
|image=Lettuce_120px.png
|icon=Lettuce.png
|alternate_image=LettuceRotten.png
|icon_name=Lettuce
|alternate_link=
|icon2=LettuceRotten.png
|alternate_name=Lettuce (Rotten)
 
|icon_name2=Lettuce (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.7
|weight=0.2
|days_fresh=3
|days_fresh=3
|days_rotten=5
|days_rotten=5
Line 21: 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]].
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 48: Line 51:


==Crafting==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
Lettuce is a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|sandwich=5|burger=5|salad=5|}}
===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==
==Distribution==
Lettuce is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Lettuce|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Lettuce distribution
        <span class="mw-customtoggle-togglebox-Lettuce" 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-Lettuce">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.61%
    |-
    | GroceryBag2
    | {{ll|GroceryBag2}}
    | 2.81%
    |-
    | GroceryBag5
    | {{ll|GroceryBag5}}
    | 12.41%
    |-
    | all
    | {{ll|fridge}}
    | 6.29%
    |-
    | burgerkitchen
    | {{ll|fridge}}
    | 10.78%
    |-
    | cafeteriakitchen
    | {{ll|fridge}}
    | 10.78%
    |-
    | deepfry_kitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | dinerkitchen
    | {{ll|fridge}}
    | 10.78%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 76.55%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 76.55%
    |-
    | mexicankitchen
    | {{ll|fridge}}
    | 19.27%
    |-
    | restaurantkitchen
    | {{ll|fridge}}
    | 10.78%
    |-
    | spiffoskitchen
    | {{ll|fridge}}
    | 10.78%
    |}
</div>
    </div><div style="clear: both;"></div>
    {| class="wikitable theme-red" style="width: 98%;"
    |+ {{ll|Foraging}}
    ! rowspan="2" | Amount
    ! rowspan="2" | Skill level
    ! rowspan="2" | Biomes
    ! colspan="4" style="text-align: center;" | Weather modifiers
    ! colspan="3" style="text-align: center;" | Month modifiers
    |-
    ! Snow
    ! Rain
    ! Day
    ! Night
    ! Months available
    ! Bonus months
    ! Malus months
    |-
    | ---
    | 7
    | Vegitation  1<br> FarmLand  4<br> Farm  4
    | -30
    | -
    | -
    | -
    | -
    | May<br>June<br>July
    | March<br>April
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Lettuce" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Lettuce|41.78.16-->
 
<!--BOT FLAG|SackProduce_Lettuce|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>SackProduce_Lettuce distribution
        <span class="mw-customtoggle-togglebox-SackProduce_Lettuce" 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-SackProduce_Lettuce">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis: 30%;">
    {| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | grocerystorage
    | {{ll|crate}}
    | 1.87%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 10.78%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 1.87%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 1.87%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 10.78%
    |-
    | producestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | producestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | producestorage
    | {{ll|crate}}
    | 76.55%
    |-
    | westernkitchen
    | {{ll|fridge}}
    | 1.87%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-SackProduce_Lettuce" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|SackProduce_Lettuce|41.78.16-->
 
==Gallery==
<gallery>
Lettuce Model.png|Lettuce model when placed in the world
LettuceRotten Model.png|Rotten lettuce model when placed in the world
</gallery>
 
==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,
}
}}
 
[[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}}


== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
<pre> 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,</pre>


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

Latest revision as of 05:32, 5 May 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.

Lettuce distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
GroceryBag1 GroceryBag1 1.61%
GroceryBag2 GroceryBag2 2.81%
GroceryBag5 GroceryBag5 12.41%
all fridge 6.29%
burgerkitchen fridge 10.78%
cafeteriakitchen fridge 10.78%
deepfry_kitchen fridge 19.27%
dinerkitchen fridge 10.78%
gigamart grocerstand 23.28%
gigamart grocerstand 41.14%
gigamart grocerstand 76.55%
grocery grocerstand 23.28%
grocery grocerstand 41.14%
grocery grocerstand 76.55%
mexicankitchen fridge 19.27%
restaurantkitchen fridge 10.78%
spiffoskitchen fridge 10.78%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
--- 7 Vegitation 1
FarmLand 4
Farm 4
-30 - - - - May
June
July
March
April
SackProduce_Lettuce distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
grocerystorage crate 1.87%
grocerystorage crate 10.78%
grocerystorage metal_shelves 1.87%
grocerystorage metal_shelves 10.78%
grocerystorage smallcrate 1.87%
grocerystorage smallcrate 10.78%
producestorage crate 23.28%
producestorage crate 41.14%
producestorage crate 76.55%
westernkitchen fridge 1.87%

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