Coffee: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
 
(39 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{languages|Coffee}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Coffee
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Drinks|Drinks]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=Coffee_Model.png
{{Items
|icon=Coffee.png
|image = SmallCoffeeJar.png
|icon_name=Coffee
|weight = 1
<!--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
}}
}}
'''Coffee''' is an inedible [[Food#Non-Perishable|non-perishable]] food item often found in [[Containers#Kitchen_Counter|kitchen counters]]. It is used to make a [[Hot_Cuppa|hot cuppa]] and is totally consumed in this process.
'''Coffee''' is a non-perishable [[food]] [[Items|item]].
<br><br>
== Crafting ==
{| class="wikitable sortable" style="text-align:center;"
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
{{RecipeLookup|2003}}
|}


== Code ==
==Usage==
<nowiki>
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.
item Coffee
Weight = 1,
Type = Normal,
DisplayName = Coffee,
Icon = InstantCoffee,
</nowiki>


{{Navbox/Consumables}}
==Crafting==
[[Category:Consumables]]
{{Main|Cooking}}
[[Category:Items]]
 
[[Category:Drinks]]
===Evolved recipes===
[[Category:Version 34.28]]
{{EvolvedRecipesForItem|beverage=5}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Coffee2|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Coffee2 distribution
        <span class="mw-customtoggle-togglebox-Coffee2" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Coffee2">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 1.0
    |-
    | bakerykitchen
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | bakerykitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | breakroom
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | breakroom
    | {{ll|overhead}}
    | 4
    | 10.0
    |-
    | dinerkitchen
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | dinerkitchen
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | dinerkitchen
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | grocerystorage
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 6.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Coffee2" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Coffee2|41.78.16-->
Coffee can often be found in [[Containers#Kitchen Counter|kitchen counters]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | 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}}
 
[[Category:Non-perishable food]]

Latest revision as of 15:14, 24 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.

Coffee2 distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all GroceryBag1 1 1.0
bakerykitchen counter 4 20.0
bakerykitchen counter 4 10.0
breakroom counter 4 10.0
breakroom overhead 4 10.0
dinerkitchen crate 4 20.0
dinerkitchen crate 4 10.0
dinerkitchen crate 4 50.0
generalstore shelves 4 10.0
grocerystorage crate 4 1.0
kitchen counter 4 6.0

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