Mac and Cheese: Difference between revisions
(→Code: CodeBox update) |
m (Automated Formatting) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Miscellaneous food}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Mac and Cheese | |name=Mac and Cheese | ||
|model= | |model=MacAndCheese_Model.png | ||
|icon=Macandcheese.png | |icon=Macandcheese.png | ||
|icon_name=Mac and Cheese | |icon_name=Mac and Cheese | ||
Line 19: | Line 18: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id=Base.Macandcheese | |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 be eaten, providing the player with some positive effects. As it is non-perishable, mac and cheese will never go stale or rotten. | ||
==Distribution== | ==Distribution== | ||
Mac and cheese can often be found in [[Containers#Kitchen_Counter|kitchen counters]]. | 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 | |||
|- | |||
|generalstore | |||
|[[shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|grocerystorage | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|- | |||
|kitchen | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|} | |||
Mac and cheese can often be found in [[Containers#Kitchen_Counter|kitchen counters]]. | |||
==Code== | |||
{{CodeBox | {{CodeBox | ||
| {{CodeSnip | | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 5101 | |||
| source = items_food.txt | | source = items_food.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item Macandcheese | 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, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 60: | Line 86: | ||
*[[TV Dinner]] | *[[TV Dinner]] | ||
{{Navbox food}} | {{Navbox items|food}} | ||
[[Category:Non-perishable food]] | [[Category:Non-perishable food]] |
Revision as of 09:59, 14 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.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
generalstore | shelves | 4 | 1 |
grocerystorage | crate | 4 | 1 |
kitchen | counter | 4 | 1 |
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,
}