Mayonnaise: Difference between revisions

From PZwiki
m (→‎Evolved recipes: Update link - avoid redirect)
m (Version bump)
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Spices}}
{{header/sandbox2|Project Zomboid|Items|Food|Spices}}
{{Page version|41.78.16}}
{{page version|41.73}}
{{Infobox item
{{Infobox food
|name=Mayonnaise
|display_name=Mayonnaise
|model=MayoJar_Model.png
|name_colour=Food
|icon=TZ_MayonnaiseFull.png
|name_text_colour=Food
|icon_name=Mayonnaise
|image=MayoJar Model.png
|icon2=TZ_MayonnaiseEmpty.png
|image_width=200px
|icon_name2=Empty Bottle
|alternate_image=TZ_MayonnaiseFull.png
Water Bottle (Mayonnaise)
|alternate_name=Mayonnaise
|alternate_link=
|alternate_image2=TZ_MayonnaiseEmpty.png
|alternate_name2=Empty Bottle
|alternate_link2=Water Bottle (Mayonnaise)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 30: Line 25:
|boredom_change=+10
|boredom_change=+10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=farming.MayonnaiseFull
|item_id=farming.MayonnaiseFull
}}
}}
'''Mayonnaise''' is a [[Food#Perishable|perishable]] 'spice' food [[item]] used in [[cooking]].  
 
'''Mayonnaise''' is a [[Food#Perishable|perishable]] 'spice' food [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
Line 64: Line 60:


==Code==
==Code==
'''''From farming.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.73}}
| {{CodeSnip
<pre>
  | lang = java
    item MayonnaiseFull
  | line = true
  | start = 224
  | source = farming.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item MayonnaiseFull
{
{
DisplayCategory = Food,
    DisplayCategory = Food,
Type = Food,
Type = Food,
DisplayName = Mayonnaise,
DisplayName = Mayonnaise,
Icon = TZ_MayonnaiseFull,
Icon = TZ_MayonnaiseFull,
Weight = 0.5,
Weight = 0.5,
HungerChange = -30,
HungerChange = -30,
BoredomChange = 10,
BoredomChange = 10,
UnhappyChange = 5,
UnhappyChange = 5,
DaysFresh = 10,
DaysFresh = 10,
DaysTotallyRotten = 13,
DaysTotallyRotten = 13,
ReplaceOnUse     = MayonnaiseEmpty,
ReplaceOnUse     = MayonnaiseEmpty,
EvolvedRecipe       = Sandwich:2;Sandwich Baguette:2;Burger:2;Salad:2;RicePot:2;RicePan:2;PastaPot:2;PastaPan:2;Taco:2;Burrito:2,
EvolvedRecipe       =       Sandwich:2;Sandwich Baguette:2;Burger:2;Salad:2;RicePot:2;RicePan:2;PastaPot:2;PastaPan:2;Taco:2;Burrito:2,
Spice   = true,
Spice   =   true,
        Carbohydrates = 0,
        Carbohydrates = 0,
        Proteins = 0,
        Proteins = 0,
        Lipids = 330,
        Lipids = 330,
        Calories = 3000,
        Calories = 3000,
        Packaged = TRUE,
        Packaged = TRUE,
        EatType = candrink,
        EatType = candrink,
        StaticModel = MayoJar,
        StaticModel = MayoJar,
        WorldStaticModel = MayoJar_Ground,
        WorldStaticModel = MayoJar_Ground,
}
FoodType = NoExplicit,
</pre>
}  
}}
}}


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

Revision as of 02:43, 28 March 2024

Project ZomboidItemsFoodSpicesMayonnaise
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Mayonnaise
MayoJar Model.png
Empty Bottle Water Bottle (Mayonnaise)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Properties
Packaged
Yes
Days fresh
10 days
Days until rotten
3 days
Nutrition
HungerMoodle Icon Hungry.png
-30
CaloriesCalories
3000
CarbohydratesCarbohydrates
0
ProteinsProteins
0
FatFat
330
Effect
UnhappinessMoodle Icon Unhappy.png
+5
BoredomMoodle Icon Bored.png
+10
Technical
Item ID
farming.MayonnaiseFull

Mayonnaise is a perishable 'spice' food item used in cooking.

Usage

Consumable properties

Mayonnaise 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

TZ MayonnaiseFull.png
Hunger: -30
Boredom: +10
Unhappiness: +5

TZ MayonnaiseFull.png
Hunger: -23
Boredom: +20
Unhappiness: +15

TZ MayonnaiseFull.png
Hunger: -13
Boredom: +30
Unhappiness: +25
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Mayonnaise is a spice when used in cooking recipes, therefore will not be included in the maximum number of ingredients.

Product Nutrition
Salad
Salad
2
Sandwich
Sandwich
2
Burger
Burger
2
Rice Pot/Saucepan
Rice Pot/Saucepan
2
Pasta Pot/Saucepan
Pasta Pot/Saucepan
2
Taco
Taco
2
Burrito
Burrito
2

Distribution

Mayonnaise can be found in refrigerators.

Code

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

Source: ProjectZomboid\media\scripts\farming.txt

Retrieved: Build 41.78.16
item MayonnaiseFull
	{
	    DisplayCategory = Food,
		Type				=		Food,
		DisplayName			=		Mayonnaise,
		Icon				=		TZ_MayonnaiseFull,
		Weight				=		0.5,
		HungerChange 		=		-30,
		BoredomChange 		=		10,
		UnhappyChange 		=		5,
		DaysFresh 			=		10,
		DaysTotallyRotten 	=	 	13,
		ReplaceOnUse 	    = 		MayonnaiseEmpty,
		EvolvedRecipe       =       Sandwich:2;Sandwich Baguette:2;Burger:2;Salad:2;RicePot:2;RicePan:2;PastaPot:2;PastaPan:2;Taco:2;Burrito:2,
		Spice   =   true,
        Carbohydrates = 0,
        Proteins = 0,
        Lipids = 330,
        Calories = 3000,
        Packaged = TRUE,
        EatType = candrink,
        StaticModel = MayoJar,
        WorldStaticModel = MayoJar_Ground,
		FoodType = NoExplicit,
	}