Mac and Cheese: Difference between revisions
(New infobox + new layout) |
(Update distribution file) |
||
(30 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Miscellaneous food}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Mac and Cheese | ||
| | |model=MacAndCheese_Model.png | ||
| | |icon=Macandcheese.png | ||
|icon_name=Mac and Cheese | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Food | |category=Food | ||
|weight=0.5 | |weight=0.5 | ||
|packaged= | |packaged=Yes | ||
<!--NUTRITION--> | <!--NUTRITION--> | ||
|hunger_change=-40 | |hunger_change=-40 | ||
|calories=690 | |||
|calories= | |||
|lipids=12 | |lipids=12 | ||
|proteins=21 | |proteins=21 | ||
|carbohydrates=126 | |carbohydrates=126 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Macandcheese | ||
}}'''Mac and cheese''' is a | }} | ||
'''Mac and cheese''' is a non-perishable [[food]] [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Mac and cheese can be eaten, providing the player with some positive effects. As it is non-perishable, mac and cheese will never go stale or rotten. | |||
Mac and cheese can | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|Macandcheese|41.78.16--> | ||
{{Clear}} | |||
{{ | <div class="togglebox theme-red"> | ||
< | <div>Macandcheese distribution | ||
<span class="mw-customtoggle-togglebox-Macandcheese" 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> | |||
DisplayName | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Macandcheese"> | ||
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"> | |||
Weight | <div class="pz-container"> | ||
HungerChange | <div id="containers" style="flex-basis:30%"> | ||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
Lipids | ! Building/Room | ||
! Container | |||
! Effective chance | |||
|- | |||
| FoodCache1 | |||
| {{ll|FoodBox}} | |||
| 62.98% | |||
|- | |||
| GroceryBag1 | |||
| {{ll|GroceryBag1}} | |||
| 1.01% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| grocery | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| grocerystorage | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| grocerystorage | |||
| {{ll|metal_shelves}} | |||
| 3.98% | |||
|- | |||
| grocerystorage | |||
| {{ll|smallcrate}} | |||
| 3.98% | |||
|- | |||
| kitchen | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| kitchen | |||
| {{ll|overhead}} | |||
| 23.28% | |||
|- | |||
| kitchen | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| livingroom | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| livingroom | |||
| {{ll|overhead}} | |||
| 23.28% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Macandcheese" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Macandcheese|41.78.16--> | |||
Mac and cheese can often be found in [[Containers#Kitchen_Counter|kitchen counters]]. | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 5101 | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Macandcheese | |||
{ | |||
DisplayName = Mac and Cheese, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.5, | |||
Icon = Macandcheese, | |||
Packaged = TRUE, | |||
HungerChange = -40, | |||
Calories = 690, | |||
Carbohydrates = 126, | |||
Lipids = 12, | |||
Proteins = 21, | |||
WorldStaticModel = MacAndCheese, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 48: | Line 150: | ||
*[[TV Dinner]] | *[[TV Dinner]] | ||
{{Navbox | {{Navbox items|food}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 13:14, 30 April 2024
Mac and cheese is a non-perishable food item.
Usage
Mac and cheese can be eaten, providing the player with some positive effects. As it is non-perishable, mac and cheese will never go stale or rotten.
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
FoodCache1 | FoodBox | 62.98% |
GroceryBag1 | GroceryBag1 | 1.01% |
SurvivorCache1 | counter | 23.28% |
SurvivorCache2 | counter | 23.28% |
generalstore | shelves | 23.28% |
generalstorestorage | crate | 23.28% |
generalstorestorage | shelves | 23.28% |
gigamart | shelves | 23.28% |
grocery | shelves | 23.28% |
grocerystorage | crate | 3.98% |
grocerystorage | metal_shelves | 3.98% |
grocerystorage | smallcrate | 3.98% |
kitchen | counter | 23.28% |
kitchen | overhead | 23.28% |
kitchen | shelves | 23.28% |
livingroom | counter | 23.28% |
livingroom | overhead | 23.28% |
Mac and cheese can often be found in kitchen counters.
Code
Source: ProjectZomboid\media\scripts\items_food.txt
item Macandcheese
{
DisplayName = Mac and Cheese,
DisplayCategory = Food,
Type = Food,
Weight = 0.5,
Icon = Macandcheese,
Packaged = TRUE,
HungerChange = -40,
Calories = 690,
Carbohydrates = 126,
Lipids = 12,
Proteins = 21,
WorldStaticModel = MacAndCheese,
}