Mac and Cheese: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{languages|Mac and Cheese}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Mac and Cheese
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=MacAndCheese_Model.png
|icon=Macandcheese.png
|icon_name=Mac and Cheese
<!--GENERAL-->
|category=Food
|weight=0.5
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-40
|calories=690
|lipids=12
|proteins=21
|carbohydrates=126
<!--TECHNICAL DETAILS-->
|item_id=Base.Macandcheese
}}
'''Mac and cheese''' is a non-perishable [[food]] [[Items|item]].


{{Consumables
==Usage==
|image = Macandcheese.png
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.
|hunger = -40
 
|weight = 0.5
==Distribution==
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
| {{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,
}
}}
}}
}}
'''Mac and cheese''' is a [[Food#Non-Perishable|non-perishable]] food item which is often found in [[Containers#Kitchen_Counter|kitchen counters]]. It does not require anything to open and cannot be improved beyond its -40 hunger bonus.


== Nutritional information ==
==See also==
'''Its nutritional values are as follows:'''<br>
*[[Can of Oats]]
Carbohydrates = 126 <br>
*[[Cereal]]
Proteins = 21 <br>
*[[Instant Popcorn]]
Lipids = 12 <br>
*[[TV Dinner]]
Calories = 690 <br><br>


== Code ==
{{Navbox items|food}}
<br>
<nowiki>
    item Macandcheese
        Type = Food,
        DisplayName = Mac and Cheese,
        Icon = Macandcheese,
        Weight = 0.5,
        HungerChange = -40,
        Carbohydrates = 126,
        Proteins = 21,
        Lipids = 12,
        Calories = 690,
        Packaged = TRUE,
    </nowiki>


{{Navbox/Consumables}}
[[Category:Non-perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 09:59, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Mac and Cheese
MacAndCheese Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.5
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-40
CaloriesCalories
690
CarbohydratesCarbohydrates
126
ProteinsProteins
21
FatFat
12
Technical
Item ID
Base.Macandcheese

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

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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