Grapes: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (Distribution table fix)
 
(35 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Fruit}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruit|type=Food|version=Version 41|incver=68}}{{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_Model.png
|icon=Grapes.png
|image_width=150px
|icon_name=Grapes
|alternate_image=Grapes.png
|icon2=GrapesRotten.png
|alternate_link=
|icon_name2=Grapes (Rotten)
|alternate_name=Grapes
|alternate_image2=GrapesRotten.png
|alternate_link2=
|alternate_name2=Grapes (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 25: 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 45: 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|pancakes=15|waffles=15|muffin=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_food.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=41|incver=68}}
<div class="togglebox theme-red">
<pre>   item Grapes
    <div>Grapes distribution
    {
        <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>
        DisplayCategory = Food,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Grapes">
        HungerChange = -15,
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
        Weight = 0.2,
<div class="pz-container">
        Type = Food,
<div id="containers" style="flex-basis:30%">
        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;FruitSalad:15;Pancakes:15;Waffles:15;Muffin:15,
    ! Effective chance
        FoodType   =   Fruits,
    |-
        ThirstChange = -5,
    | GroceryBag1
        Carbohydrates = 15.78,
    | {{ll|GroceryBag1}}
        Proteins = 0.58,
    | 1.61%
        Lipids = 0.32,
    |-
        Calories = 62,
    | GroceryBag2
        WorldStaticModel = Grapes_Ground,
    | {{ll|GroceryBag2}}
        CustomEatSound = EatingFruit,
    | 2.81%
    }</pre>
    |-
    | all
    | {{ll|fridge}}
    | 6.29%
    |-
    | all
    | {{ll|grocerstand}}
    | 19.27%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 23.28%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 41.14%
    |-
    | icecreamkitchen
    | {{ll|fridge}}
    | 23.28%
    |-
    | icecreamkitchen
    | {{ll|fridge}}
    | 41.14%
    |}
</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 83: Line 216:
*[[Cherry]]
*[[Cherry]]


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

Latest revision as of 19:16, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
GroceryBag1 GroceryBag1 1.61%
GroceryBag2 GroceryBag2 2.81%
all fridge 6.29%
all grocerstand 19.27%
gigamart grocerstand 23.28%
gigamart grocerstand 41.14%
grocery grocerstand 23.28%
grocery grocerstand 41.14%
icecreamkitchen fridge 23.28%
icecreamkitchen fridge 41.14%
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