Cereal: Difference between revisions
VaileasysBot (talk | contribs) (→top: New infobox upgrade - Food) |
(→Code: CodeBox update) |
||
Line 45: | Line 45: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = false | |||
| source = items_food.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 73 | |||
| code = | |||
item Cereal | |||
{ | |||
DisplayName = Cereal, | |||
DisplayCategory = Food, | |||
Type = Food, | |||
Weight = 0.2, | |||
Icon = Cereal, | |||
Packaged = TRUE, | |||
HungerChange = -40, | |||
Calories = 2360, | |||
Carbohydrates = 572, | |||
Lipids = 26, | |||
Proteins = 52, | |||
WorldStaticModel = Cereal, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 10:14, 31 January 2024
Cereal
Properties
Packaged
Yes
Technical
Item ID
Base.Cereal
Cereal is a non-perishable food item.
Usage
Cereal can be eaten directly, providing the player with some positive effects.
Trapping
- Main article: Trapping
Cereal can be used as bait in traps to capture small birds and squirrels.
Crafting
- Main article: Cooking
Cooking
Cereal can be used to make a bowl of cereal.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Bowl of Cereal |
0.75 Cooking | none | Bowl (consumed) |
Cereal (5 units) (consumed) |
(consumed) |
Distribution
Cereal is often found in kitchen counters.
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_food.txt
item Cereal
{
DisplayName = Cereal,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Cereal,
Packaged = TRUE,
HungerChange = -40,
Calories = 2360,
Carbohydrates = 572,
Lipids = 26,
Proteins = 52,
WorldStaticModel = Cereal,
}