Cereal: Difference between revisions

From PZwiki
mNo edit summary
m (Update shorthand parameters)
(36 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Consumables
{{Header|Project Zomboid|Items|Food|Grains}}
|image = Cereal.png  
{{Page version|41.78.16}}
|hunger = -15
{{Infobox item
|weight = 0.2
|name=Cereal
}} <!--/infobox-->
|model=Cereal_Model.png
A light box of nonperishable cereal.
|icon=Cereal.png
|icon_name=Cereal
|icon2=Oatmeal.png
|icon_name2=Bowl of Cereal
Bowl of Cereal
<!--GENERAL-->
|category=Food
|weight=0.2
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-40
|calories=2360
|lipids=26
|proteins=52
|carbohydrates=572
<!--TECHNICAL DETAILS-->
|item_id=Base.Cereal
}}


== Effects ==
'''Cereal''' is a non-perishable [[food]] [[Items|item]].
<!--list of effects here-->
Hunger: -30


== Code ==
==Usage==
<nowiki>item Cereal
Cereal can be eaten directly, providing the player with some positive effects.
{
HungerChange = -15,
Weight = 0.2,
AlwaysWelcomeGift = true,
Type = Food,
DisplayName = Cereal,
Icon = Cereal,
}</nowiki>


<!--
===Trapping===
== Crafting ==
{{Main|Trapping}}
Cereal can be used in the following recipes:
Cereal can be used as bait in [[Trapping|traps]] to capture [[Dead_Bird|small birds]] and [[Dead_Squirrel|squirrels]].


{| class="wikitable" width="550" style="text-align:center;"
==Crafting==
{{Main|Cooking}}
 
===Cooking===
Cereal can be used to make a [[Bowl of Cereal|bowl of cereal]].
{{Crafting header|type=food|ing=3}}
{{Crafting cooking|112|ing=3}}
|}
 
==Distribution==
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
|-
|-
! Ingredients || Other Items || Output || Description
|[[crate]]
|4
|2
|-
|-
| Ingredient + Ingredient || Oven/None || What the recipe makes || Brief description of what it makes.
|[[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==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 3830
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | 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==
*[[Can of Oats]]
*[[Canned Beans]]
*[[Canned Soup]]
 
{{Navbox food}}


{{Navbox/Consumables}}
[[Category:Non-perishable food]]
[[Category:Consumables]]
[[Category:Food]]
[[Category: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