Cereal: Difference between revisions

From PZwiki
m (Replace obsolete template)
m (Distribution table update)
(27 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
{{Header|Project Zomboid|Items|Food|Grains}}
|display_name=Cereal
{{Page version|41.78.16}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Cereal
|image=Cereal.png
|model=Cereal_Model.png
|alternate_image=Oatmeal.png
|icon=Cereal.png
|alternate_name=Bowl of Cereal
|icon_name=Cereal
|alternate_link=Bowl of Cereal
|icon2=Oatmeal.png
|icon_name2=Bowl of Cereal
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 18: 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 33: Line 36:
===Cooking===
===Cooking===
Cereal can be used to make a [[Bowl of Cereal|bowl of cereal]].
Cereal can be used to make a [[Bowl of Cereal|bowl of cereal]].
{{Crafting header|type=food|ing=3}}
{{Crafting/sandbox2
{{Crafting cooking|112|ing=3}}
|bowl_of_cereal
|}
}}


==Distribution==
==Distribution==
Cereal is often found in [[Containers#Kitchen_Counter|kitchen counters]].  
The loot distributions can be found in the table(s) below.


==Gallery==
<!--BOT FLAG|Cereal|41.78.16-->
<gallery>
{{clear}}
File:Cereal Model.png|Cereal model when placed in the world.
<div class="togglebox theme-red">
</gallery>
    <div>Cereal distribution
        <span class="mw-customtoggle-togglebox-Cereal" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Cereal">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|FoodBox}}
    | 15
    | 10.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | breakroom
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | breakroom
    | {{ll|overhead}}
    | 4
    | 6.0
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 4
    | 4.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Cereal" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Cereal|41.78.16-->
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> item Cereal
  | lang = java
  | line = true
  | start = 3830
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Cereal
{
{
DisplayName = Cereal,
DisplayName = Cereal,
Line 62: Line 142:
Proteins = 52,
Proteins = 52,
WorldStaticModel = Cereal,
WorldStaticModel = Cereal,
}</pre>
}
}}
}}


==See also==
==See also==
Line 69: Line 151:
*[[Canned Soup]]
*[[Canned Soup]]


{{Navbox food}}
{{Navbox items|plants}}
 
 
[[Category:Non-perishable food]]

Revision as of 15:09, 24 April 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 Ingredients Tools Requirements Workstation XP
Oatmeal.png
Bowl of Cereal
One of:
Milk.png Milk ×1
CannedCondensedMilk.png Canned Evaporated Milk ×1
Each of:
Bowl.png Bowl ×1
Cereal.png Cereal ×5 unit(s)
none none none 0.75 Cooking

Distribution

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

Cereal distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all FoodBox 15 10.0
all GroceryBag1 1 1.0
breakroom counter 4 6.0
breakroom overhead 4 6.0
cafeteriakitchen crate 4 20.0
cafeteriakitchen crate 4 50.0
cafeteriakitchen crate 4 10.0
generalstore shelves 4 10.0
grocerystorage crate 4 1.0
kitchen counter 4 10.0
prisoncells wardrobe 4 4.0

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