Coffee: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(33 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Coffee}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=7}}
{{Page version|41.78.16}}
{{Infobox food
{{Infobox item
|display_name=Coffee
|name=Coffee
|name_colour=Food
|model=Coffee_Model.png
|name_text_colour=Food
|icon=Coffee.png
|image=Coffee_120px.png
|icon_name=Coffee
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=1
|weight=1
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-30
|hunger_change=-30
|thirst_change=60
|thirst_change=-20
|calories=2
|calories=2
|lipids=0
|lipids=0
Line 18: Line 18:
|carbohydrates=0
|carbohydrates=0
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=20
|unhappy_change=+20
|fatigue_change=-50
|fatigue_change=-50
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Coffee2
|item_id=Base.Coffee2
}}
}}
'''Coffee''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
'''Coffee''' is a non-perishable [[food]] [[Items|item]].


== 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 raw, 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 [[Recipe ingredients#Beverage ingredients|beverage]], as all negative effects are removed.


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


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


== Distribution ==
==Distribution==
Coffee can be found in [[Containers#Kitchen Counter|kitchen counters]].
The loot distributions can be found in the table(s) below.


== Code ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
! colspan="4" | Containers
{{Retrieved|version=40|incver=7}}
|-
<pre> item Coffee2
! Building/Room
        Weight = 1,
! Container
        Type = Food,
! style="width: 3.2em;" | Rolls
        HungerChange    = -30,
! style="width: 3.2em;" | Chance
        UnhappyChange  = 20,
|-
        ThirstChange    = 60,
|rowspan="2"|bakerykitchen
FatigueChange = -50,
|[[counter]]
        DisplayName = Coffee,
|4
        Icon = InstantCoffee,
|1
        EvolvedRecipe  = HotDrink:5,
|-
        FoodType    = Coffee,
|[[counter]]
        Carbohydrates = 0,
|4
        Proteins = 1,
|2
        Lipids = 0,
|-
Calories = 2,
|rowspan="2"|breakroom
        Packaged = TRUE,</pre>
|[[counter]]
|4
|1
|-
|[[overhead]]
|4
|1
|-
|rowspan="5"|dinerkitchen
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|2
|-
|[[crate]]
|4
|5
|-
|generalstore
|[[shelves]]
|4
|1
|-
|grocerystorage
|[[crate]]
|4
|1
|-
|kitchen
|[[counter]]
|4
|6
|}
Coffee can often be found in [[Containers#Kitchen Counter|kitchen counters]].


== See also ==
==Code==
* [[Tea Bag]]
{{CodeBox
* [[Milk]]
| {{CodeSnip
* [[Honey]]
  | lang = java
  | line = true
  | start = 4877
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Coffee2
{
DisplayName = Coffee,
DisplayCategory = Food,
Type = Food,
Weight = 1,
Icon = InstantCoffee,
EvolvedRecipe = HotDrink:5;HotDrinkRed:5;HotDrinkWhite:5;HotDrinkSpiffo:5;HotDrinkTea:5,
FoodType = Coffee,
Packaged = TRUE,
FatigueChange = -50,
HungerChange = -30,
ThirstChange = 60,
UnhappyChange = 20,
Calories = 2,
Carbohydrates = 0,
Lipids = 0,
Proteins = 1,
WorldStaticModel = Coffee,
}
}}
}}
 
==See also==
*[[Tea Bag]]
*[[Milk]]
*[[Honey]]
 
{{Navbox items|food}}


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

Revision as of 07:39, 14 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]
Coffee
Coffee Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
1
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-30
ThirstMoodle Icon Thirsty.png
-20
CaloriesCalories
2
CarbohydratesCarbohydrates
0
ProteinsProteins
1
FatFat
0
Effect
UnhappinessMoodle Icon Unhappy.png
+20
FatigueMoodle Icon Tired.png
-50
Technical
Item ID
Base.Coffee2

Coffee is a non-perishable food item.

Usage

Coffee can be eaten raw, 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 beverage, as all negative effects are removed.

Crafting

Main article: Cooking

Evolved recipes

Product Nutrition
Beverage
Beverage
5

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
bakerykitchen counter 4 1
counter 4 2
breakroom counter 4 1
overhead 4 1
dinerkitchen crate 4 1
crate 4 1
crate 4 2
crate 4 2
crate 4 5
generalstore shelves 4 1
grocerystorage crate 4 1
kitchen counter 4 6

Coffee can often be 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 Coffee2
	{
		DisplayName = Coffee,
		DisplayCategory = Food,
		Type = Food,
		Weight = 1,
		Icon = InstantCoffee,
		EvolvedRecipe = HotDrink:5;HotDrinkRed:5;HotDrinkWhite:5;HotDrinkSpiffo:5;HotDrinkTea:5,
		FoodType = Coffee,
		Packaged = TRUE,
		FatigueChange = -50,
		HungerChange = -30,
		ThirstChange = 60,
		UnhappyChange = 20,
		Calories = 2,
		Carbohydrates = 0,
		Lipids = 0,
		Proteins = 1,
		WorldStaticModel = Coffee,
	}

See also