Mac and Cheese: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (Automated Formatting)
(26 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Mac and Cheese
{{Infobox item
|name_colour=Food
|name=Mac and Cheese
|name_text_colour=Food
|model=MacAndCheese_Model.png
|image=MacAndCheese_Model.png
|icon=Macandcheese.png
|image_width=175px
|icon_name=Mac and Cheese
|alternate_image=Macandcheese.png
|alternate_name=Mac and Cheese
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.5
|weight=0.5
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-40
|hunger_change=-40
|thirst_change=
|calories=690
|calories=126
|lipids=12
|lipids=12
|proteins=21
|proteins=21
|carbohydrates=126
|carbohydrates=126
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Macandcheese
|item_id=Base.Macandcheese
}}'''Mac and cheese''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
'''Mac and cheese''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumption===
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 only be consumed, reducing some of the player's [[Moodles#Hungry|Hunger]].  


==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.


== Code ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
! colspan="4" | Containers
{{Retrieved|version=41|incver=68}}
|-
<pre>    item Macandcheese
! Building/Room
    {
! Container
        DisplayCategory = Food,
! style="width: 3.2em;" | Rolls
        Type = Food,
! style="width: 3.2em;" | Chance
        DisplayName = Mac and Cheese,
|-
        Icon = Macandcheese,
|generalstore
        Weight = 0.5,
|[[shelves]]
        HungerChange = -40,
|4
        Carbohydrates = 126,
|1
        Proteins = 21,
|-
        Lipids = 12,
|grocerystorage
        Calories = 690,
|[[crate]]
        Packaged = TRUE,
|4
        WorldStaticModel = MacAndCheese,
|1
    }</pre>
|-
|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,
}
}}
}}


==See also==
==See also==
Line 56: Line 86:
*[[TV Dinner]]
*[[TV Dinner]]


{{Navbox_food}}
{{Navbox items|food}}
 
[[Category:Non-perishable food]]

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