Coffee: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
(45 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Items
{{Page version|41.78.16}}
|image = SmallCoffeeJar.png
{{Infobox item
|weight = 0.5
|name=Coffee
|model=Coffee_Model.png
|icon=Coffee.png
|icon_name=Coffee
<!--GENERAL-->
|category=Food
|weight=1
|packaged=Yes
<!--NUTRITION-->
|hunger_change=-30
|thirst_change=-20
|calories=2
|lipids=0
|proteins=1
|carbohydrates=0
<!--EFFECT-->
|unhappy_change=+20
|fatigue_change=-50
<!--TECHNICAL DETAILS-->
|item_id=Base.Coffee2
}}
}}
== Crafting ==
'''Coffee''' is a non-perishable [[food]] [[Items|item]].
{| class="wikitable sortable" style="text-align:center;"  
 
|-  
==Usage==
! Name
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.
! class="unsortable" | Recipe
 
! class="unsortable" | Description
==Crafting==
{{RecipeLookup|12}}
{{Main|Cooking}}
 
===Evolved recipes===
{{EvolvedRecipesForItem|beverage=5}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|rowspan="2"|bakerykitchen
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|2
|-
|rowspan="2"|breakroom
|[[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
|}
|}
== Code ==
Coffee can often be found in [[Containers#Kitchen Counter|kitchen counters]].
<nowiki>item Coffee
 
{
==Code==
Type = Normal,
{{CodeBox
DisplayName = Coffee,
| {{CodeSnip
Icon = InstantCoffee,
  | lang = java
Weight = 0.5,
  | line = true
}</nowiki>
  | start = 4877
[[Category:Version 0.2.0p]]
  | source = items_food.txt
[[Category:Food]]
  | retrieved = true
[[Category:Non-Perishable_Food]]
  | version = 41.78.16
[[Category:Consumables]]
  | code =
[[Category:Drinks]]
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}}
 
[[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