Cereal: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: deploy ReLookup, eid: 1a98ad9c01c69277302cb0cedbef6d69))
m (Update shorthand parameters)
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Cereal}}
{{Header|Project Zomboid|Items|Food|Grains}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Cereal
{{Infobox item
|name_colour=Food
|name=Cereal
|name_text_colour=Food
|model=Cereal_Model.png
|image=Cereal_120px.png
|icon=Cereal.png
|alternate_image=Oatmeal.png
|icon_name=Cereal
|alternate_name=Cereal Bowl
|icon2=Oatmeal.png
|alternate_link=Cereal Bowl
|icon_name2=Bowl of Cereal
Bowl of Cereal
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.2
|weight=0.2
|function=[[Trapping|Trap bait]]
|packaged=Yes
|packaged=True
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-40
|hunger_change=-40
|thirst_change=
|calories=2360
|calories=2360
|lipids=26
|lipids=26
Line 21: 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==
Cereal can be eaten directly, providing the player with some positive effects.
===Trapping===
===Trapping===
{{Main|Trapping}}
{{Main|Trapping}}
Cereal can be used as bait in [[Trapping|traps]] to capture [[Dead_Bird|small birds]] and [[Dead_Squirrel|squirrels]].
Cereal can be used as bait in [[Trapping|traps]] to capture [[Dead_Bird|small birds]] and [[Dead_Squirrel|squirrels]].


== Crafting ==
==Crafting==
{{Main|Cooking}}
 
===Cooking===
===Cooking===
{{Main|Cooking}}
Cereal can be used to make a [[Bowl of Cereal|bowl of cereal]].
{{Crafting header|ing=3}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 2089 -->
{{Crafting header|type=food|ing=3}}
{{Crafting/core|ing=3
{{Crafting cooking|112|ing=3}}
| product_image = [[File:Oatmeal.png|link=Cereal Bowl|Cereal Bowl]] | product_name = [[Cereal Bowl]] | product_quantity = x1
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:Cereal.png|link=Cereal|Cereal]] | i1 = [[Cereal]] | q1 = x1 | tag1 = (5 units)
| f2 = [[File:Milk.png|link=Milk|Milk]] | i2 = [[Milk]] | q2 = x1 | tag2 = (2 units)
| f3 = [[File:Bowl.png|link=Bowl|Bowl]] | i3 = [[Bowl]] | q3 = x1 | tag3 = (consumed)
}}
|}
|}


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


==Distribution==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
Cereal is often found in [[Containers#Kitchen_Counter|kitchen counters]].  
! 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 newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=14}}
| {{CodeSnip
<pre> item Cereal
  | lang = java
HungerChange = -40,
  | line = true
Weight = 0.2,
  | start = 3830
AlwaysWelcomeGift = true,
  | source = items_food.txt
Type = Food,
  | retrieved = true
DisplayName = Cereal,
  | version = 41.78.16
Icon = Cereal,
  | code =
        Carbohydrates = 572,
item Cereal
        Proteins = 52,
{
        Lipids = 26,
DisplayName = Cereal,
        Calories = 2360,
DisplayCategory = Food,
        Packaged = TRUE,</pre>
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==
Line 69: Line 141:
*[[Canned Soup]]
*[[Canned Soup]]


{{Navbox/Consumables}}
{{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