Cereal: Difference between revisions

From PZwiki
(-gallery (3d dupe only))
m (Update shorthand parameters)
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Grains}}
{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}
{{Page version|41.78.16}}
{{Infobox food
{{Infobox item
|display_name=Cereal
|name=Cereal
|name_colour=Food
|model=Cereal_Model.png
|name_text_colour=Food
|icon=Cereal.png
|image=Cereal Model.png
|icon_name=Cereal
|image_width=200px
|icon2=Oatmeal.png
|alternate_image=Cereal.png
|icon_name2=Bowl of Cereal
|alternate_name=Cereal
Bowl of Cereal
|alternate_image2=Oatmeal.png
|alternate_name2=Bowl of Cereal
|alternate_link2=Bowl of Cereal
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.2
|weight=0.2
|packaged = Yes
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-40
|hunger_change=-40
Line 23: Line 20:
|carbohydrates=572
|carbohydrates=572
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Cereal
|item_id=Base.Cereal
}}
}}
'''Cereal''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
 
'''Cereal''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 44: Line 42:


==Distribution==
==Distribution==
Cereal is often found in [[Containers#Kitchen_Counter|kitchen counters]].  
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
|-
|rowspan="2"|breakroom
|[[counter]]
|4
|6
|-
|[[overhead]]
|4
|6
|-
|rowspan="5"|cafeteriakitchen
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|5
|-
|generalstore
|[[shelves]]
|4
|1
|-
|grocerystorage
|[[crate]]
|4
|1
|-
|rowspan="2"|kitchen
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|prisoncells
|[[wardrobe]]
|4
|4
|}
Cereal is often found in [[Containers#Kitchen_Counter|kitchen counters]].


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
item Cereal
  | line = true
  | start = 3830
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Cereal
{
{
DisplayName = Cereal,
DisplayName = Cereal,
Line 64: Line 132:
Proteins = 52,
Proteins = 52,
WorldStaticModel = Cereal,
WorldStaticModel = Cereal,
}
}  
</pre>
}}
}}


==See also==
==See also==
Line 73: Line 142:


{{Navbox food}}
{{Navbox food}}
[[Category:Non-perishable food]]

Revision as of 02:30, 28 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cereal
Cereal Model.png
Bowl of Cereal Bowl of Cereal
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-40
CaloriesCalories
2360
CarbohydratesCarbohydrates
572
ProteinsProteins
52
FatFat
26
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
Oatmeal.png
Bowl of Cereal
0.75 Cooking none Bowl.png
Bowl
(consumed)
Cereal.png
Cereal
(5 units)

(consumed)

(consumed)

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
breakroom counter 4 6
overhead 4 6
cafeteriakitchen crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5
generalstore shelves 4 1
grocerystorage crate 4 1
kitchen counter 4 1
counter 4 1
prisoncells wardrobe 4 4

Cereal is often 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 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