Cereal: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(43 intermediate revisions by 12 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 which offers a total hunger reduction of 15.
|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">
    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==
{{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]]

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