Coffee: Difference between revisions

From PZwiki
No edit summary
(updated to 41.68 + added model + navbox)
Line 1: Line 1:
{{languages|Coffee}}
{{languages}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=7}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=68}}
{{Infobox food
{{Infobox food
|display_name=Coffee
|display_name=Coffee
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=Coffee_120px.png
|image=Coffee_Model.png
|image_width=250px
|alternate_image=Coffee.png
|alternate_name=Coffee
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 12: Line 16:
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-30
|hunger_change=-30
|thirst_change=60
|thirst_change=+60
|calories=2
|calories=2
|lipids=0
|lipids=0
Line 18: Line 22:
|carbohydrates=0
|carbohydrates=0
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=20
|unhappy_change=+20
|fatigue_change=-50
|fatigue_change=-50
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
Line 26: Line 30:


== Usage ==
== Usage ==
Coffee can be eaten, providing the player with some positive and negative effects. As it is non-perishable, coffee will never go stale or rotten. Coffee is more effective when used in making a [[Hot Cuppa|hot cuppa]] or [[Recipe Ingredients#Beverage Ingredients|beverage]], as all negative effects are removed.
Coffee can be eaten, providing the player with some positive and negative effects. As it is non-perishable, coffee will never go stale or rotten. Coffee is more effective when used in making a [[Hot Cuppa|hot cuppa]] or [[Recipe Ingredients#Beverage Ingredients|hot drink]], as all negative effects are removed.


== Crafting ==
== Crafting ==
Coffee is a [[cooking]] [[Recipe Ingredients|ingredient]].
Coffee is a [[cooking]] [[Recipe Ingredients|ingredient]].
{{Cooking table header}}
{{Crafting header|ing=4}}
{{RecipeLookup|2003}}
{{Crafting cooking|115|ing=4}}
{{RecipeLookup|2091}}
{{Crafting cooking|116|ing=4}}
{{Crafting table footer}}
|}


=== Evolved recipes ===
=== Evolved recipes ===
{{EvolvedRecipesForItem|hotdrink=5}}
{{EvolvedRecipesForItem|hotdrink=5|hotdrinktea=5}}


== Distribution ==
== Distribution ==
Line 42: Line 46:


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=7}}
{{Retrieved|version=41|incver=68}}
<pre> item Coffee2
<pre>   item Coffee2
        Weight = 1,
    {
        Type = Food,
        DisplayCategory = Food,
        HungerChange    = -30,
        Weight = 1,
        UnhappyChange  = 20,
        Type = Food,
        ThirstChange    = 60,
        HungerChange    =   -30,
FatigueChange = -50,
        UnhappyChange  =   20,
        DisplayName = Coffee,
        ThirstChange    =   60,
        Icon = InstantCoffee,
        FatigueChange = -50,
        EvolvedRecipe  = HotDrink:5,
        DisplayName = Coffee,
        FoodType   = Coffee,
        Icon = InstantCoffee,
        Carbohydrates = 0,
        EvolvedRecipe  =   HotDrink:5;HotDrinkRed:5;HotDrinkWhite:5;HotDrinkSpiffo:5;HotDrinkTea:5,
        Proteins = 1,
        FoodType   =   Coffee,
        Lipids = 0,
        Carbohydrates = 0,
Calories = 2,
        Proteins = 1,
        Packaged = TRUE,</pre>
        Lipids = 0,
        Calories = 2,
        Packaged = TRUE,
        WorldStaticModel = Coffee,
    }</pre>


== See also ==
== See also ==
Line 66: Line 74:
* [[Honey]]
* [[Honey]]


{{Navbox/Consumables}}
{{Navbox_food}}

Revision as of 05:31, 14 March 2022

Coffee
Coffee
Coffee
General
Category Food
Encumbrance
Heavy Load
1
Packaged True
Nutrition
Hunger
Hunger
-30
Thirst
Thirst
+60
Calories
Calories
2
Carbohydrates
Carbohydrates
0
Proteins
Proteins
1
Fat
Fat
0
Effect
Unhappiness
Unhappiness
+20
Fatigue
Tired
-50
Technical details
Item ID Base.Coffee2

Coffee is a non-perishable food item.

Usage

Coffee can be eaten, providing the player with some positive and negative effects. As it is non-perishable, coffee will never go stale or rotten. Coffee is more effective when used in making a hot cuppa or hot drink, as all negative effects are removed.

Crafting

Coffee is a cooking ingredient.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
MugFulll.png
Hot CuppaRemoved
0 XP none Mugl.png
Mug
(consumed)
Kettle.png
Kettle
(2 units)

(Heat: -0.22)
One of:
Teabag.png Tea Bag
InstantCoffee.png Coffee

(consumed)
Sugar.png
Sugar
(1 unit)
Cold Cuppa
Cold CuppaRemoved
0 XP none Mugl.png
Mug
(consumed)
Kettle.png
Kettle
(2 units)

(Heat: 1.0)
One of:
Teabag.png Tea Bag
InstantCoffee.png Coffee

(consumed)
Sugar.png
Sugar
(1 unit)

Evolved recipes

Product Nutrition
Beverage
Beverage
5

Distribution

Coffee can be found in kitchen counters.

Code

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

    item Coffee2
    {
        DisplayCategory = Food,
        Weight	=	1,
        Type	=	Food,
        HungerChange    =   -30,
        UnhappyChange   =   20,
        ThirstChange    =   60,
        FatigueChange	=	-50,
        DisplayName	=	Coffee,
        Icon	=	InstantCoffee,
        EvolvedRecipe   =   HotDrink:5;HotDrinkRed:5;HotDrinkWhite:5;HotDrinkSpiffo:5;HotDrinkTea:5,
        FoodType    =   Coffee,
        Carbohydrates = 0,
        Proteins = 1,
        Lipids = 0,
        Calories = 2,
        Packaged = TRUE,
        WorldStaticModel = Coffee,
    }

See also