Cereal: Difference between revisions
m (Replace obsolete template) |
(Update distribution file) |
||
(29 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Food|Grains}} | |||
| | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Cereal | ||
| | |model=Cereal_Model.png | ||
| | |icon=Cereal.png | ||
| | |icon_name=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--> | ||
| | |item_id=Base.Cereal | ||
}}'''Cereal''' is a | }} | ||
'''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 | {{Crafting/sandbox2 | ||
|bowl_of_cereal | |||
}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--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"> | |||
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"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| 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== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| 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 196: | ||
Proteins = 52, | Proteins = 52, | ||
WorldStaticModel = Cereal, | WorldStaticModel = Cereal, | ||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 69: | Line 205: | ||
*[[Canned Soup]] | *[[Canned Soup]] | ||
{{Navbox | {{Navbox items|plants}} | ||
[[Category:Non-perishable food]] |
Latest revision as of 12:20, 30 April 2024
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 |
---|---|---|---|---|---|
Bowl of Cereal |
One of: Milk ×1 Canned Evaporated Milk ×1 Each of: Bowl ×1 Cereal ×5 unit(s) |
none | none | none | 0.75 Cooking |
Distribution
The loot distributions can be found in the table(s) below.
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
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}