Mayonnaise: Difference between revisions

From PZwiki
m (Remove 120px, minor fixes)
(Update distribution file)
 
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Spices}}
|display_name=Mayonnaise
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Mayonnaise
|image=TZ_MayonnaiseFull.png
|model=MayoJar_Model.png
|image_width=120px
|icon=TZ_MayonnaiseFull.png
|alternate_image=TZ_MayonnaiseEmpty.png
|icon_name=Mayonnaise
|alternate_name=Empty Bottle
|icon2=TZ_MayonnaiseEmpty.png
|alternate_link=Water Bottle (Mayonnaise)
|icon_name2=Empty Bottle
Water Bottle (Mayonnaise)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 24: 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==
===Consumable properties===
===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.
Mayonnaise can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = TZ_MayonnaiseFull.png
|image = TZ_MayonnaiseFull.png
|boredom = +10
|unhappiness = +5
|rotten image = TZ_MayonnaiseFull.png
|rotten image = TZ_MayonnaiseFull.png
|hunger = -30
|hunger = -30
Line 49: Line 52:


===Evolved recipes===
===Evolved recipes===
Mayonnaise is a spice when used in [[cooking]] [[Recipe Ingredients|recipes]], therefore will not be included in the maximum number of ingredients.
Mayonnaise is a spice when used in [[cooking]] [[Recipe ingredients|recipes]], therefore will not be included in the maximum number of ingredients.
{{EvolvedRecipesForItem|spice=true|sandwich=2|burger=2|salad=2|rice=2|pasta=2|taco=2|burrito=2}}
{{EvolvedRecipesForItem|spice=true|sandwich=2|burger=2|salad=2|rice=2|pasta=2|taco=2|burrito=2}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|MayonnaiseFull|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>MayonnaiseFull distribution
        <span class="mw-customtoggle-togglebox-MayonnaiseFull" 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-MayonnaiseFull">
    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
    |-
    | all
    | {{ll|fridge}}
    | 2.1%
    |-
    | bandkitchen
    | {{ll|fridge}}
    | 3.98%
    |-
    | breakroom
    | {{ll|fridge}}
    | 3.98%
    |-
    | burgerkitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | burgerkitchen
    | {{ll|fridge}}
    | 15.1%
    |-
    | cafeteriakitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | cafeteriakitchen
    | {{ll|fridge}}
    | 15.1%
    |-
    | conveniencestore
    | {{ll|fridge}}
    | 23.28%
    |-
    | cornerstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | daycare
    | {{ll|fridge}}
    | 3.98%
    |-
    | deepfry_kitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | deepfry_kitchen
    | {{ll|fridge}}
    | 3.98%
    |-
    | dinerkitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | dinerkitchen
    | {{ll|fridge}}
    | 3.98%
    |-
    | fishchipskitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | fossoil
    | {{ll|fridge}}
    | 23.28%
    |-
    | gasstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstore
    | {{ll|fridge}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|fridge}}
    | 23.28%
    |-
    | gigamart
    | {{ll|fridge}}
    | 23.28%
    |-
    | grocery
    | {{ll|fridge}}
    | 23.28%
    |-
    | jayschicken_kitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | kitchen_crepe
    | {{ll|counter}}
    | 15.1%
    |-
    | kitchen_crepe
    | {{ll|fridge}}
    | 3.98%
    |-
    | pharmacy
    | {{ll|fridge}}
    | 23.28%
    |-
    | restaurantkitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | restaurantkitchen
    | {{ll|fridge}}
    | 3.98%
    |-
    | seafoodkitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | seafoodkitchen
    | {{ll|counter}}
    | 41.14%
    |-
    | spiffoskitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | spiffoskitchen
    | {{ll|fridge}}
    | 3.98%
    |-
    | westernkitchen
    | {{ll|counter}}
    | 15.1%
    |-
    | zippeestore
    | {{ll|fridge}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-MayonnaiseFull" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|MayonnaiseFull|41.78.16-->
Mayonnaise can be found in [[refrigerator]]s.
Mayonnaise can be found in [[refrigerator]]s.
==Gallery==
<gallery>
JarLid Mayo Model.png|Mayonnaise model when placed in the world.
</gallery>


==Code==
==Code==
'''''From farming.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=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>
}}
}}
 
==See also==
 
{{Navbox items|miscellaneous_food}}


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

Latest revision as of 13:15, 30 April 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

The loot distributions can be found in the table(s) below.

MayonnaiseFull distribution Show / Hide
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.
Containers
Building/Room Container Effective chance
all fridge 2.1%
bandkitchen fridge 3.98%
breakroom fridge 3.98%
burgerkitchen counter 15.1%
burgerkitchen fridge 15.1%
cafeteriakitchen counter 15.1%
cafeteriakitchen fridge 15.1%
conveniencestore fridge 23.28%
cornerstore fridge 23.28%
daycare fridge 3.98%
deepfry_kitchen counter 15.1%
deepfry_kitchen fridge 3.98%
dinerkitchen counter 15.1%
dinerkitchen fridge 3.98%
fishchipskitchen counter 15.1%
fossoil fridge 23.28%
gasstore fridge 23.28%
generalstore fridge 23.28%
generalstorestorage fridge 23.28%
gigamart fridge 23.28%
grocery fridge 23.28%
jayschicken_kitchen counter 15.1%
kitchen_crepe counter 15.1%
kitchen_crepe fridge 3.98%
pharmacy fridge 23.28%
restaurantkitchen counter 15.1%
restaurantkitchen fridge 3.98%
seafoodkitchen counter 23.28%
seafoodkitchen counter 41.14%
spiffoskitchen counter 15.1%
spiffoskitchen fridge 3.98%
westernkitchen counter 15.1%
zippeestore fridge 23.28%

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

See also