Bowl of Cereal: Difference between revisions

From PZwiki
(Updated to build 41.51)
(→‎Code: Updated item code)
Line 68: Line 68:
== Code ==
== Code ==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=51}}
{{Retrieved|version=41|incver=65}}
<pre>   item CerealBowl
<pre>
    item CerealBowl
     {
     {
         Type = Food,
        DisplayCategory = Food,
         DisplayName = Cereal Bowl,
         Type               =       Food,
         Icon = Oatmeal,
         DisplayName         =       Cereal Bowl,
         Weight = 0.8,
         Icon               =       Oatmeal,
         HungerChange = -8,
         Weight             =       0.8,
         ThirstChange = -20,
         HungerChange       =       -8,
DaysFresh = 1,
         ThirstChange       =       -20,
DaysTotallyRotten = 1,
        DaysFresh           =       1,
        DaysTotallyRotten   =       1,
         ReplaceOnUse    =  Bowl,
         ReplaceOnUse    =  Bowl,
         Carbohydrates = 71.5,
         Carbohydrates = 71.5,
Line 85: Line 87:
         Calories = 295,
         Calories = 295,
         StaticModel = Bowl,
         StaticModel = Bowl,
        WorldStaticModel = BowlRamen_Ground,
         EatType = 2hand,
         EatType = 2hand,
     }</pre>
     }
</pre>
 
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
<pre>
    item CerealBowl
    {
        DisplayCategory = Food,
        Type                =      Food,
        DisplayName        =      Cereal Bowl,
        Icon                =      Oatmeal,
        Weight              =      0.8,
        HungerChange        =      -8,
        ThirstChange        =      -20,
        DaysFresh          =      1,
        DaysTotallyRotten  =      1,
        ReplaceOnUse    =  Bowl,
        Carbohydrates = 71.5,
        Proteins = 6.5,
        Lipids = 3.25,
        Calories = 295,
        StaticModel = Bowl,
        WorldStaticModel = BowlRamen_Ground,
        EatType = 2hand,
    }
</pre>
 
'''''From recipes.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=65}}
<pre>
    recipe Make Bowl of Cereal
    {
      Bowl,
      Cereal;5,
      Milk;2,
 
      Result:CerealBowl,
      Time:20.0,
      Category:Cooking,
      OnGiveXP:Recipe.OnGiveXP.Cooking3,
    }
</pre>


==See also==
==See also==

Revision as of 00:34, 28 December 2021

Project ZomboidItemsFoodPerishable FoodBowl of Cereal
Bowl of Cereal
Bowl of Cereal
Cereal Bowl of Cereal
General
Category Food
Encumbrance
Heavy Load
0.8
Days until stale 1 days
Days until rotten 1 days
Nutrition
Hunger
Hunger
-8
Thirst
Thirst
-20
Calories
Calories
295
Carbohydrates
Carbohydrates
71.5
Proteins
Proteins
6.5
Fat
Fat
3.25
Technical details
Item ID Base.CerealBowl

A bowl of cereal is a perishable food item.

Usage

Consumable properties

A bowl of cereal can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish. Template:Consumables2

Crafting

Cooking

Main article: Cooking
Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Oatmeal.png
Bowl of Cereal
0.75 Cooking none Bowl.png
Bowl
(consumed)
Cereal.png
Cereal
(5 units)

(consumed)

Code

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    item CerealBowl
    {
        DisplayCategory = Food,
        Type                =       Food,
        DisplayName         =       Cereal Bowl,
        Icon                =       Oatmeal,
        Weight              =       0.8,
        HungerChange        =       -8,
        ThirstChange        =       -20,
        DaysFresh           =       1,
        DaysTotallyRotten   =       1,
        ReplaceOnUse    =   Bowl,
        Carbohydrates = 71.5,
        Proteins = 6.5,
        Lipids = 3.25,
        Calories = 295,
        StaticModel = Bowl,
        WorldStaticModel = BowlRamen_Ground,
        EatType = 2hand,
    }

From items_food.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    item CerealBowl
    {
        DisplayCategory = Food,
        Type                =       Food,
        DisplayName         =       Cereal Bowl,
        Icon                =       Oatmeal,
        Weight              =       0.8,
        HungerChange        =       -8,
        ThirstChange        =       -20,
        DaysFresh           =       1,
        DaysTotallyRotten   =       1,
        ReplaceOnUse    =   Bowl,
        Carbohydrates = 71.5,
        Proteins = 6.5,
        Lipids = 3.25,
        Calories = 295,
        StaticModel = Bowl,
        WorldStaticModel = BowlRamen_Ground,
        EatType = 2hand,
    }

From recipes.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.65

    recipe Make Bowl of Cereal
    {
       Bowl,
       Cereal;5,
       Milk;2,

       Result:CerealBowl,
       Time:20.0,
       Category:Cooking,
       OnGiveXP:Recipe.OnGiveXP.Cooking3,
    }

See also

Template:Navbox/Consumables