Eggplant: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(47 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Vegetables}}
{{Consumables
{{Page version|41.78.16}}
|image = Eggplant.png
{{Infobox item
|weight = 0.2
|name=Eggplant
|model=EggPlant_Model.png
|icon=Eggplant.png
|icon_name=Eggplant
|model2=EggPlantRotten_Model.png
|icon2=EggplantRotten.png
|icon_name2=Eggplant (Rotten)
<!--GENERAL-->
|category=Food
|weight=0.2
|days_fresh=5
|days_rotten=8
<!--NUTRITION-->
|hunger_change=-16
|thirst_change=-9
|calories=114
|lipids=0.82
|proteins=4.49
|carbohydrates=26.93
<!--TECHNICAL DETAILS-->
|item_id=Base.Eggplant
}}
}}
A perishable food item that goes bad as time passes. Eggplant is often inside of [[refrigerator]]s, [[containers#Kitchen_cupboard|kitchen cupboards]], and in produce bins. Eggplant takes five in-game days to go stale, and eight in-game days to become rotten.  
An '''eggplant''' is a perishable [[food]] [[Items|item]].


== Nutritional Information ==
==Usage==
{{Consumables2
===Consumable properties===
Eggplant can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables
|image = Eggplant.png
|image = Eggplant.png
|hunger = -15
|hunger = -16
|thirst = 0
|thirst = 0
|unrotten hunger = -11
|unrotten hunger = -11
Line 24: Line 46:
}}
}}


== Code ==
==Crafting==
<nowiki>item Eggplant
Eggplant can be preserved to extend their lifespan by using a [[Empty Jar|jar]].
{{Crafting/sandbox2
|jar_of_eggplants
}}
 
===Evolved recipes===
Eggplant is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|pizza=8|omelette=8|soup=16|stew=16|pie=16|stirfry=16|burger=8|sandwich=4|salad=8|roastedvegetables=16|rice=16|pasta=16}}
 
===Sack of Eggplant===
{{Crafting/sandbox2
|eggplant
}}
 
==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
|-
|chinesekitchen
|[[fridge]]
|4
|8
|-
|dinerkitchen
|[[fridge]]
|4
|2
|-
|italiankitchen
|[[fridge]]
|4
|8
|-
|restaurantkitchen
|[[fridge]]
|4
|2
|}
Eggplant is often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
Sacks of Eggplants can be found in grocery stores and warehouses.
 
==Code==
{{CodeBox|[[File:Eggplant.png]] {{ID|Base.Eggplant}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1193
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Eggplant
{
DisplayName = Eggplant,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Eggplant,
EvolvedRecipe = Pizza:8;Omelette:8;Soup:16;Stew:16;Pie:16;Stir fry Griddle Pan:16;Stir fry:16;Burger:8;Sandwich:4;Sandwich Baguette:4;Salad:8;Roasted Vegetables:16;RicePot:16;RicePan:16;PastaPot:16;PastaPan:16,
FoodType = Vegetables,
DaysFresh = 5,
DaysTotallyRotten = 8,
HungerChange = -16,
ThirstChange = -9,
Calories = 114,
Carbohydrates = 26.93,
Lipids = 0.82,
Proteins = 4.49,
StaticModel = CylinderFood_Purple,
WorldStaticModel = EggPlant_Ground,
}
}}
 
[[File:Sandbag.png]] {{ID|Base.SackProduce_Eggplant}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8109
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SackProduce_Eggplant
{
{
HungerChange = -15,
DisplayName = Sack of Eggplants,
Weight = 0.2,
DisplayCategory = Food,
Type = Food,
Type = Food,
DaysTotallyRotten = 8,
Weight = 2,
DisplayName = Eggplant,
Icon = Sandbag,
Icon = Eggplant,
CantEat = TRUE,
DaysFresh = 5,
DaysFresh = 5,
EvolvedRecipe = Soup:15;Stew:15;Pie:15;Stir fry:15;Sandwich:5;Salad:10;Roasted Vegetables:15,
DaysTotallyRotten = 8,
FoodType    =   Vegetables,
WorldStaticModel = SandBag,
}</nowiki>
}
}}
}}
 
==See also==
{{Navbox items|plants}}
 


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

Revision as of 08:15, 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]
Eggplant
EggPlant Model.png
EggPlantRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
5 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-16
ThirstMoodle Icon Thirsty.png
-9
CaloriesCalories
114
CarbohydratesCarbohydrates
26.93
ProteinsProteins
4.49
FatFat
0.82
Technical
Item ID
Base.Eggplant

An eggplant is a perishable food item.

Usage

Consumable properties

Eggplant 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

Eggplant.png
Hunger: -16


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

EggplantRotten.png
Hunger: -6
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Eggplant can be preserved to extend their lifespan by using a jar.

Product Ingredients Tools Requirements Workstation XP
JamPurple.png
Jar of Eggplants
One of:
SugarBrown.png Brown Sugar ×1
Sugar.png Sugar ×1
SugarPacket.png Sugar Packet ×1
Each of:
JarEmpty2.png Jar ×1
JarLid.png Jar Lid ×1
Eggplant.png Eggplant ×5
WaterDrop.png Water ×10 unit(s)
Vinegar.png Vinegar ×2 unit(s)
none none none 2.5 Cooking

Evolved recipes

Eggplant is a cooking ingredient.

Product Nutrition
Soup
Soup
16
Stew
Stew
16
Salad
Salad
8
Stir Fry
Stir Fry
16
Roasted Vegetables
Roasted Vegetables
16
Sandwich
Sandwich
4
Burger
Burger
8
Pie (savory)
Pie (savory)
16
Rice Pot/Saucepan
Rice Pot/Saucepan
16
Pasta Pot/Saucepan
Pasta Pot/Saucepan
16
Omelette
Omelette
8
Pizza
Pizza
8

Sack of Eggplant

Product Ingredients Tools Requirements Workstation XP
Eggplant.png
Eggplant ×12
Sandbag.png Sack of Eggplant ×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
chinesekitchen fridge 4 8
dinerkitchen fridge 4 2
italiankitchen fridge 4 8
restaurantkitchen fridge 4 2

Eggplant is often found in refrigerators and grocery displays.

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

Code

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

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

Retrieved: Build 41.78.16
item Eggplant
	{
		DisplayName = Eggplant,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Eggplant,
		EvolvedRecipe = Pizza:8;Omelette:8;Soup:16;Stew:16;Pie:16;Stir fry Griddle Pan:16;Stir fry:16;Burger:8;Sandwich:4;Sandwich Baguette:4;Salad:8;Roasted Vegetables:16;RicePot:16;RicePan:16;PastaPot:16;PastaPan:16,
		FoodType = Vegetables,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -16,
		ThirstChange = -9,
		Calories = 114,
		Carbohydrates = 26.93,
		Lipids = 0.82,
		Proteins = 4.49,
		StaticModel = CylinderFood_Purple,
		WorldStaticModel = EggPlant_Ground,
	}

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

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

See also