Lettuce: Difference between revisions
m (→Code: Bump to .16) |
m (Distribution table fix) |
||
(31 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Vegetables}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Lettuce | ||
| | |model=Lettuce_Model.png | ||
| | |icon=Lettuce.png | ||
|icon_name=Lettuce | |||
| | |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= | |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--> | ||
| | |item_id=Base.Lettuce | ||
}}'''Lettuce''' is a [[ | }} | ||
'''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 [[ | 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. | ||
{{ | {{Consumables | ||
|image = Lettuce.png | |image = Lettuce.png | ||
|hunger = -15 | |hunger = -15 | ||
Line 52: | Line 54: | ||
===Evolved recipes=== | ===Evolved recipes=== | ||
Lettuce is a [[cooking]] [[Recipe | 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. | |||
<!--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--> | |||
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> | ||
Lettuce Model.png|Lettuce model when placed in the world | |||
LettuceRotten Model.png|Rotten lettuce model when placed in the world | |||
</gallery> | </gallery> | ||
==Code== | ==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, | DisplayName = Lettuce, | ||
Line 88: | Line 219: | ||
WorldStaticModel = Lettuce_Ground, | 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}} | |||
[[Category:Perishable food]] |
Latest revision as of 19:23, 30 April 2024
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 |
---|---|---|
|
|
|
Crafting
- Main article: Cooking
Evolved recipes
Lettuce is a cooking ingredient.
Product | Nutrition |
---|---|
Salad |
5 |
Sandwich |
5 |
Burger |
5 |
Taco |
3 |
Burrito |
3 |
Sack of Lettuce
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Lettuce ×12 |
Sack of Lettuce ×1 | none | none | none | none |
Distribution
The loot distributions can be found in the table(s) below.
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% |
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 |
Lettuce is often found in refrigerators and grocery displays.
Sacks of lettuce can be found in grocery stores and warehouses.
Gallery
Code
Base.Lettuce
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}
Base.SackProduce_Lettuce
Source: ProjectZomboid\media\scripts\items_food.txt
item SackProduce_Lettuce
{
DisplayName = Sack of Lettuce,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 3,
DaysTotallyRotten = 5,
WorldStaticModel = SandBag,
}