Cereal: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
(40 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
}}
'''Cereal''' is a non-perishable [[food]] [[Items|item]].


== Effects ==
==Usage==
<!--list of effects here-->
Cereal can be eaten directly, providing the player with some positive effects.
Hunger: -30


== Code ==
===Trapping===
<nowiki>item Cereal
{{Main|Trapping}}
{
Cereal can be used as bait in [[Trapping|traps]] to capture [[Dead_Bird|small birds]] and [[Dead_Squirrel|squirrels]].
HungerChange = -15,
Weight = 0.2,
AlwaysWelcomeGift = true,
Type = Food,
DisplayName = Cereal,
Icon = Cereal,
}</nowiki>


<!--
==Crafting==
== Crafting ==
{{Main|Cooking}}
Cereal can be used in the following recipes:


{| class="wikitable" width="550" style="text-align:center;"
===Cooking===
|-
Cereal can be used to make a [[Bowl of Cereal|bowl of cereal]].
! Ingredients || Other Items || Output || Description
{{Crafting/sandbox2
|-
|bowl_of_cereal
| Ingredient + Ingredient || Oven/None || What the recipe makes || Brief description of what it makes.
}}
|}
-->


{{Navbox/Consumables}}
==Distribution==
[[Category:Consumables]]
The loot distributions can be found in the table(s) below.
[[Category:Food]]
 
[[Category:Perishable Food]]
<!--BOT FLAG|Cereal|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <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==
{{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 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