Grapes: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
(33 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Grapes}}
{{Header|Project Zomboid|Items|Food|Fruit}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 40|incver=6}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Grapes
{{Infobox item
|name_colour=Food
|name=Grapes
|name_text_colour=Food
|model=Grapes_Model.png
|image=Grapes_120px.png
|icon=Grapes.png
|alternate_image=GrapesRotten.png
|icon_name=Grapes
|alternate_link=
|icon2=GrapesRotten.png
|alternate_name=Grapes (Rotten)
|icon_name2=Grapes (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 21: Line 21:
|carbohydrates=15.78
|carbohydrates=15.78
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Grapes
|item_id=Base.Grapes
}}'''Grapes''' are a [[Food#Perishable|perishable]] food [[item]].
}}
'''Grapes''' are a [[Food#Perishable|perishable]] food [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
Grapes can be eaten, providing the player with some positive effects, however these will become more negative the longer they're left to perish.  
Grapes can be eaten, providing the player with some positive effects, however these will become more negative the longer they're left to perish.
{{Consumables2
{{Consumables
|image = Item Grapes.png
|image = Grapes.png
|hunger = -15
|hunger = -15
|thirst = 0
|thirst = 0
Line 41: Line 42:
|rotten thirst = 0
|rotten thirst = 0
|perishable = 1
|perishable = 1
|rotten image = Item GrapesRotten.png
|rotten image = GrapesRotten.png
}}
}}


== Crafting ==
==Crafting==
=== Evolved recipes ===
{{Main|Cooking}}
{{EvolvedRecipesForItem|cake=15|fruitsalad=15}}
 
===Evolved recipes===
{{EvolvedRecipesForItem|cake=15|fruitsalad=15|pancakes=15|waffles=15|muffin=15|salad=5}}
 
===Sack of Grapes===
{{Crafting/sandbox2
|grapes
}}


==Distribution==
==Distribution==
Grapes are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].  
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|Grapes|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{clear}}
{{Retrieved|version=40|incver=6}}
<div class="togglebox theme-red">
<pre> item Grapes
    <div>Grapes distribution
        HungerChange = -15,
        <span class="mw-customtoggle-togglebox-Grapes" 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>
        Weight = 0.2,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Grapes">
        Type = Food,
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
        DaysTotallyRotten = 8,
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
        DisplayName = Grapes,
    |+ {{ll|Containers}}
        Icon = Grapes,
    ! Building / Room
        DaysFresh = 5,
    ! Container
        EvolvedRecipe = Cake:15,
    ! Rolls
        FoodType    = Fruits,
    ! Chance
Carbohydrates = 15.78,
    |-
        Proteins = 0.58,
    | Not referenced
        Lipids = 0.32,
    | {{ll|CafeteriaFruit}}
        Calories = 62,</pre>
    | 4
    | 8.0
    |-
    | all
    | {{ll|GroceryBag1}}
    | 1
    | 2.0
    |-
    | all
    | {{ll|GroceryBag2}}
    | 1
    | 4.0
    |-
    | all
    | {{ll|fridge}}
    | 4
    | 2.0
    |-
    | all
    | {{ll|grocerstand}}
    | 4
    | 8.0
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 4
    | 20.0
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    {| class="wikitable theme-red" style="width:98%;"
    |+ {{ll|Foraging}}
    ! rowspan="2" | Amount
    ! rowspan="2" | Skill level
    ! rowspan="2" | Biomes
    ! colspan="4" style="text-align:center;" | Weather modifiers
    ! colspan="3" style="text-align:center;" | Month modifiers
    |-
    ! Snow
    ! Rain
    ! Day
    ! Night
    ! Months available
    ! Bonus months
    ! Malus months
    |-
    | ---
    | 7
    | Forest  5<br> DeepForest  5<br> FarmLand  5<br> Farm  5
    | -10
    | -
    | -
    | -
    | -
    | August<br>September<br>October
    | June<br>December
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Grapes" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Grapes|41.78.16-->
Grapes are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
 
Sacks of grapes can be found in grocery stores and warehouses.
 
==Gallery==
<gallery>
Grapes Model.png|Grapes model when placed in the world
GrapesRotten Model.png|Rotten grapes model when placed in the world
</gallery>
 
==Code==
{{CodeBox|[[File:Grapes.png]] {{ID|Base.Grapes}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1585
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Grapes
{
DisplayName = Grapes,
DisplayCategory = Food,
Type = Food,
Weight = 0.2,
Icon = Grapes,
EvolvedRecipe = Cake:15;FruitSalad:15;Pancakes:15;Waffles:15;Muffin:15;Salad:5,
FoodType = Fruits,
DaysFresh = 5,
DaysTotallyRotten = 8,
HungerChange = -15,
ThirstChange = -5,
Calories = 62,
Carbohydrates = 15.78,
Lipids = 0.32,
Proteins = 0.58,
CustomEatSound = EatingFruit,
WorldStaticModel = Grapes_Ground,
EvolvedRecipeName = Grape,
}
}}
 
[[File:Sandbag.png]] {{ID|Base.SackProduce_Grapes}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 8122
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SackProduce_Grapes
{
DisplayName = Sack of Grapes,
DisplayCategory = Food,
Type = Food,
Weight = 2,
Icon = Sandbag,
CantEat = TRUE,
DaysFresh = 5,
DaysTotallyRotten = 8,
WorldStaticModel = SandBag,
}
}}
}}


==See also==
==See also==
Line 73: Line 210:
*[[Cherry]]
*[[Cherry]]


{{Navbox/Consumables}}
{{Navbox items|plants}}
 
 
[[Category:Perishable food]]

Revision as of 15:39, 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]
Grapes
Grapes Model.png
Grapes (Rotten)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
5 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-15
ThirstMoodle Icon Thirsty.png
-5
CaloriesCalories
62
CarbohydratesCarbohydrates
15.78
ProteinsProteins
0.58
FatFat
0.32
Technical
Item ID
Base.Grapes

Grapes are a perishable food item.

Usage

Consumable properties

Grapes can be eaten, providing the player with some positive effects, however these will become more negative the longer they're left to perish.

Fresh Stale Rotten

Grapes.png
Hunger: -15


Grapes.png
Hunger: -11
Boredom: +10
Unhappiness: +10

GrapesRotten.png
Hunger: -6
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Main article: Cooking

Evolved recipes

Product Nutrition
Salad
Salad
5
Fruit Salad
Fruit Salad
15
Cake
Cake
15
Muffin
Muffin
15
Pancakes
Pancakes
15
Waffles
Waffles
15

Sack of Grapes

Product Ingredients Tools Requirements Workstation XP
Grapes.png
Grapes ×12
Sandbag.png Sack of Grapes ×1 none none none none

Distribution

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

Grapes distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced CafeteriaFruit 4 8.0
all GroceryBag1 1 2.0
all GroceryBag2 1 4.0
all fridge 4 2.0
all grocerstand 4 8.0
gigamart grocerstand 4 20.0
gigamart grocerstand 4 10.0
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
--- 7 Forest 5
DeepForest 5
FarmLand 5
Farm 5
-10 - - - - August
September
October
June
December

Grapes are often found in refrigerators and grocery displays.

Sacks of grapes can be found in grocery stores and warehouses.

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Grapes.png Base.Grapes
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item Grapes
	{
		DisplayName = Grapes,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Grapes,
		EvolvedRecipe = Cake:15;FruitSalad:15;Pancakes:15;Waffles:15;Muffin:15;Salad:5,
		FoodType = Fruits,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		HungerChange = -15,
		ThirstChange = -5,
		Calories = 62,
		Carbohydrates = 15.78,
		Lipids = 0.32,
		Proteins = 0.58,
		CustomEatSound = EatingFruit,
		WorldStaticModel = Grapes_Ground,
		EvolvedRecipeName = Grape,
	}

Sandbag.png Base.SackProduce_Grapes
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item SackProduce_Grapes
	{
		DisplayName = Sack of Grapes,
		DisplayCategory = Food,
		Type = Food,
		Weight = 2,
		Icon = Sandbag,
		CantEat = TRUE,
		DaysFresh = 5,
		DaysTotallyRotten = 8,
		WorldStaticModel = SandBag,
	}

See also