Cereal: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(34 intermediate revisions by 8 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]].
{{Cooking table header}}
{{Crafting/sandbox2
{{RecipeLookup|2089}}
|bowl_of_cereal
{{Crafting table footer}}
}}


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


== Code ==
<!--BOT FLAG|Cereal|41.78.16-->
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=40|incver=14}}
<div class="togglebox theme-red">
<pre> item Cereal
    <div>Cereal distribution
HungerChange = -40,
        <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>
Weight = 0.2,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Cereal">
AlwaysWelcomeGift = true,
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
Type = Food,
<div class="pz-container">
DisplayName = Cereal,
<div id="containers" style="flex-basis:30%">
Icon = Cereal,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
        Carbohydrates = 572,
    |+ {{ll|Containers}}
        Proteins = 52,
    ! Building/Room
        Lipids = 26,
    ! Container
        Calories = 2360,
    ! Effective chance
        Packaged = TRUE,</pre>
    |-
    | FoodCache1
    | {{ll|FoodBox}}
    | 62.98%
    |-
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 23.28%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 23.28%
    |-
    | breakroom
    | {{ll|counter}}
    | 15.1%
    |-
    | breakroom
    | {{ll|overhead}}
    | 15.1%
    |-
    | breakroom
    | {{ll|shelves}}
    | 15.1%
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 23.28%
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 41.14%
    |-
    | cafeteriakitchen
    | {{ll|crate}}
    | 76.55%
    |-
    | cafeteriakitchen
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | cafeteriakitchen
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | cafeteriakitchen
    | {{ll|metal_shelves}}
    | 76.55%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 3.98%
    |-
    | kitchen
    | {{ll|counter}}
    | 23.28%
    |-
    | kitchen
    | {{ll|overhead}}
    | 23.28%
    |-
    | kitchen
    | {{ll|shelves}}
    | 23.28%
    |-
    | livingroom
    | {{ll|counter}}
    | 23.28%
    |-
    | livingroom
    | {{ll|overhead}}
    | 23.28%
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 10.78%
    |}
</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==
==See also==
Line 60: Line 205:
*[[Canned Soup]]
*[[Canned Soup]]


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

Latest revision as of 12:20, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
FoodCache1 FoodBox 62.98%
GroceryBag1 GroceryBag1 1.01%
SurvivorCache1 counter 23.28%
SurvivorCache2 counter 23.28%
breakroom counter 15.1%
breakroom overhead 15.1%
breakroom shelves 15.1%
cafeteriakitchen crate 23.28%
cafeteriakitchen crate 41.14%
cafeteriakitchen crate 76.55%
cafeteriakitchen metal_shelves 23.28%
cafeteriakitchen metal_shelves 41.14%
cafeteriakitchen metal_shelves 76.55%
generalstore shelves 23.28%
generalstorestorage crate 23.28%
generalstorestorage shelves 23.28%
gigamart shelves 23.28%
grocery shelves 23.28%
grocerystorage crate 3.98%
grocerystorage metal_shelves 3.98%
grocerystorage smallcrate 3.98%
kitchen counter 23.28%
kitchen overhead 23.28%
kitchen shelves 23.28%
livingroom counter 23.28%
livingroom overhead 23.28%
prisoncells wardrobe 10.78%

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