Mac and Cheese: Difference between revisions

From PZwiki
(→‎top: New infobox upgrade - Food)
(→‎Code: CodeBox update)
Line 27: Line 27:
Mac and cheese can often be found in [[Containers#Kitchen_Counter|kitchen counters]].  
Mac and cheese can often be found in [[Containers#Kitchen_Counter|kitchen counters]].  


==Code==
{{CodeBox
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
| {{CodeSnip
{{Retrieved|version=41.73}}
  | lang = java
<pre>    item Macandcheese
  | line = false
{
  | source = items_food.txt
DisplayName = Mac and Cheese,
  | retrieved = true
DisplayCategory = Food,
  | version = 41
Type = Food,
  | incver = 73
Weight = 0.5,
  | code =
Icon = Macandcheese,
item Macandcheese
Packaged = TRUE,
{
HungerChange = -40,
  DisplayName         = Mac and Cheese,
Calories = 690,
  DisplayCategory     = Food,
Carbohydrates = 126,
  Type               = Food,
Lipids = 12,
  Weight             = 0.5,
Proteins = 21,
  Icon               = Macandcheese,
WorldStaticModel = MacAndCheese,
  Packaged           = TRUE,
}</pre>
  HungerChange       = -40,
  Calories           = 690,
  Carbohydrates       = 126,
  Lipids             = 12,
  Proteins           = 21,
  WorldStaticModel   = MacAndCheese,
}
  }}
}}


==See also==
==See also==

Revision as of 09:15, 31 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
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

Mac and cheese can often be found in kitchen counters.

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

Source: ProjectZomboid\media\scripts\items_food.txt

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