Mayonnaise: Difference between revisions

From PZwiki
(New infobox + new layout)
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{languages|Mayonnaise}}
{{languages}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Mayonnaise
|display_name=Mayonnaise
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=TZ_MayonnaiseFull_120px.png
|image=JarLid_Mayo_Model.png
|alternate_image=TZ_MayonnaiseEmpty.png
|image_width=125px
|alternate_name=Empty Bottle
|alternate_image=TZ_MayonnaiseFull.png
|alternate_link=Empty 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
|weight=0.5
|weight=0.5
|max_units=30
|packaged=True
|packaged=True
|days_fresh=10
|days_fresh=10
Line 34: Line 39:
{{Consumables2
{{Consumables2
|image = TZ_MayonnaiseFull.png
|image = TZ_MayonnaiseFull.png
|rotten image = TZ_MayonnaiseFull.png
|hunger = -30
|hunger = -30
|unrotten hunger = -20
|unrotten hunger = -23
|unrotten boredom = +10
|unrotten boredom = +20
|unrotten unhappiness = +10
|unrotten unhappiness = +15
|unrotten image = Carrots.png
|unrotten image = Carrots.png
|rotten hunger = -14
|rotten hunger = -13
|rotten boredom = +20
|rotten boredom = +30
|rotten unhappiness = +20
|rotten unhappiness = +25
|perishable = 1
|perishable = 1
|rotten image = TZ_MayonnaiseFull.png
}}
}}


Line 51: Line 56:
==== Evolved recipes ====
==== Evolved recipes ====
Mayonnaise is a spice when used in cooking recipes, therefore will not be included in the maximum number of ingredients.
Mayonnaise is a spice when used in cooking recipes, therefore will not be included in the maximum number of ingredients.
{{EvolvedRecipesForItem|sandwich=2|burger=2|salad=2|ricepot=2|ricepan=2|pastapot=2|pastapan=2}}
{{EvolvedRecipesForItem|spice=true|sandwich=2|burger=2|salad=2|ricepot=2|ricepan=2|pastapot=2|pastapan=2|taco=2|burrito=2}}


==Distribution==
==Distribution==
Line 58: Line 63:
== Code ==
== Code ==
'''''From farming.txt (Project Zomboid directory/media/scripts/)'''''
'''''From farming.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
{{Retrieved|version=41|incver=68}}
<pre> item MayonnaiseFull
<pre>   item MayonnaiseFull
{
DisplayCategory = Food,
Type = Food,
Type = Food,
DisplayName = Mayonnaise,
DisplayName = Mayonnaise,
Line 67: Line 74:
BoredomChange = 10,
BoredomChange = 10,
UnhappyChange = 5,
UnhappyChange = 5,
DaysFresh = 10,
DaysFresh = 10,
DaysTotallyRotten = 13,
DaysTotallyRotten = 13,
ReplaceOnUse     = MayonnaiseEmpty,
ReplaceOnUse     = MayonnaiseEmpty,
EvolvedRecipe       = Sandwich:2;Burger:2;Salad:2;RicePot:2;RicePan:2;PastaPot:2;PastaPan: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,</pre>
         Packaged = TRUE,
        EatType = candrink,
        StaticModel = MayoJar,
        WorldStaticModel = MayoJar_Ground,
}</pre>


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 10:10, 14 March 2022

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

Crafting

Cooking

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

From farming.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

    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,
	}