Coffee: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{Header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 41|incver=73}}
{{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_Model.png
|icon_name=Coffee
|image_width=200px
|alternate_image=Coffee.png
|alternate_name=Coffee
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 25: Line 21:
|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 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.
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==
Line 39: Line 35:


==Distribution==
==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
|}
Coffee can often be found in [[Containers#Kitchen Counter|kitchen counters]].
Coffee can often be found in [[Containers#Kitchen Counter|kitchen counters]].
==Gallery==
<gallery>
Coffee Model.png|Model for: [[File:Coffee.png]]
</gallery>


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=73}}
| {{CodeSnip
<pre>
  | lang = java
    item Coffee2
  | line = true
  | start = 4877
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Coffee2
{
{
DisplayName = Coffee,
DisplayName = Coffee,
Line 70: Line 131:
WorldStaticModel = Coffee,
WorldStaticModel = Coffee,
}
}
</pre>
}}
}}


==See also==
==See also==
Line 77: Line 139:
*[[Honey]]
*[[Honey]]


{{Navbox food}}
{{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