Lettuce: Difference between revisions

From PZwiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{languages|Lettuce}}
{{languages|Lettuce}}
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|Vegetables|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Lettuce
|display_name=Lettuce
|name_colour=Food
|name_colour=Food
Line 10: Line 10:
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.7
|weight=0.2
|days_fresh=3
|days_fresh=3
|days_rotten=5
|days_rotten=2
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-15
|hunger_change=-15
Line 28: Line 28:
{{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]].
=== 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.
Line 54: Line 55:
==Distribution==
==Distribution==
Lettuce is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
Lettuce is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
==Gallery==
<gallery>
File:Lettuce Model.png|Lettuce model when placed in the world.
File:LettuceRotten Model.png|Rotten lettuce model when placed in the world.
</gallery>


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
{{Retrieved|version=41|incver=73}}
<pre> item Lettuce
<pre> item Lettuce
Type = Food,
{
DisplayName = Lettuce,
DisplayName = Lettuce,
Icon = Lettuce,
DisplayCategory = Food,
Weight = 0.7,
Type = Food,
HungerChange = -15,
Weight = 0.2,
ThirstChange = -15,
Icon = Lettuce,
DaysFresh = 3,
EvolvedRecipe = Sandwich:3;Burger:3;Salad:5;Sandwich Baguette:3,
DaysTotallyRotten = 5,
FoodType = Greens,
EvolvedRecipe = Sandwich:5;Burger:5;Salad:5,
DaysFresh = 3,
FoodType    = Vegetables,
DaysTotallyRotten = 5,
        Carbohydrates = 10.33,
HungerChange = -15,
        Proteins = 4.9,
ThirstChange = -7,
        Lipids = 0.54,
Calories = 54,
        Calories = 54,</pre>
Carbohydrates = 10.33,
Lipids = 0.54,
Proteins = 4.9,
StaticModel = RoundFood_Green,
WorldStaticModel = Lettuce_Ground,
}</pre>


{{Navbox/Consumables}}
{{Navbox food}}

Revision as of 10:57, 29 September 2022

Lettuce
Lettuce
Lettuce (Rotten)
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 3 days
Days until rotten 2 days
Nutrition
Hunger
Hunger
-15
Thirst
Thirst
-7
Calories
Calories
54
Carbohydrates
Carbohydrates
10.33
Proteins
Proteins
4.9
Fat
Fat
0.54
Technical details
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.

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. Template:Consumables2

Crafting

Evolved recipes

Lettuce is a cooking ingredient.

Product Nutrition
Salad
Salad
5
Sandwich
Sandwich
5
Burger
Burger
5

Distribution

Lettuce is often found in refrigerators and grocery displays.

Gallery

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.73

	item Lettuce
	{
		DisplayName = Lettuce,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Lettuce,
		EvolvedRecipe = Sandwich:3;Burger:3;Salad:5;Sandwich Baguette: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,
	}