Mac and Cheese: Difference between revisions

From PZwiki
(New infobox + new layout)
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{languages|Mac and Cheese}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
|display_name=Mac and Cheese
|display_name=Mac and Cheese
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Macandcheese_120px.png
|image=MacAndCheese_Model.png
|image_width=175px
|alternate_image=Macandcheese.png
|alternate_name=Mac and Cheese
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 28: Line 32:


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=14}}
{{Retrieved|version=41|incver=68}}
<pre> item Macandcheese
<pre>   item Macandcheese
Type = Food,
    {
DisplayName = Mac and Cheese,
        DisplayCategory = Food,
Icon = Macandcheese,
        Type = Food,
Weight = 0.5,
        DisplayName = Mac and Cheese,
HungerChange = -40,
        Icon = Macandcheese,
Carbohydrates = 126,
        Weight = 0.5,
Proteins = 21,
        HungerChange = -40,
Lipids = 12,
        Carbohydrates = 126,
Calories = 690,
        Proteins = 21,
Packaged = TRUE,</pre>
        Lipids = 12,
        Calories = 690,
        Packaged = TRUE,
        WorldStaticModel = MacAndCheese,
    }</pre>


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


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 05:40, 14 March 2022

Mac and Cheese
Mac and Cheese
Mac and Cheese
General
Category Food
Encumbrance
Heavy Load
0.5
Packaged True
Nutrition
Hunger
Hunger
-40
Calories
Calories
126
Carbohydrates
Carbohydrates
126
Proteins
Proteins
21
Fat
Fat
12
Technical details
Item ID Base.Macandcheese

Mac and cheese is a non-perishable food item.

Usage

Consumption

Mac and cheese can only be consumed, reducing some of the player's Hunger.

Distribution

Mac and cheese can often be found in kitchen counters.

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.68

    item Macandcheese
    {
        DisplayCategory = Food,
        Type				=		Food,
        DisplayName			=		Mac and Cheese,
        Icon				=		Macandcheese,
        Weight				=		0.5,
        HungerChange 		=		-40,
        Carbohydrates = 126,
        Proteins = 21,
        Lipids = 12,
        Calories = 690,
        Packaged = TRUE,
        WorldStaticModel = MacAndCheese,
    }

See also