Watermelon: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (Distribution table fix)
 
(32 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=Watermelon
{{Infobox item
|name_colour=Food
|name=Watermelon
|name_text_colour=Food
|model=Watermelon_Model.png
|image=Watermelon_Model.png
|icon=Watermelon.png
|image_width=150px
|icon_name=Watermelon
|alternate_image=Watermelon.png
|model2=WatermelonRotten_Model.png
|alternate_link=
|icon2=WatermelonRotten.png
|alternate_name=Watermelon
|icon_name2=Watermelon (Rotten)
|alternate_image2=WatermelonRotten.png
|alternate_link2=
|alternate_name2=Watermelon Slice
|alternate_image3=WatermelonSliced.png
|alternate_link3=Watermelon Slice
|alternate_name3=Watermelon (Rotten)
|alternate_image4=WatermelonSmashed.png
|alternate_link4=Watermelon Chunks
|alternate_name4=Watermelon Chunks
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 31: Line 22:
|carbohydrates=341.11
|carbohydrates=341.11
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Watermelon
|item_id=Base.Watermelon
}}A '''watermelon''' is a [[Food#Perishable|perishable]] food [[item]].  
}}
A '''watermelon''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
A watermelon can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.  
Watermelon can't be eaten, instead the player must either cut or smash them first.
{{Consumables2
{{Consumables
|image = Watermelon.png
|image = Watermelon.png
|hunger = -60
|hunger = -60
Line 54: Line 46:
}}
}}


== Crafting ==
==Crafting==
===What it can make===
===What it can make===
A watermelon can be cut into slices with a [[saw]], [[axe]], or [[Kitchen Knife|knife]] or smashed into chunks with a [[Weapons#Blunt weapons|blunt weapon]].
Watermelon can be cut into [[Watermelon Slice|slices]] with a [[saw]], [[axe]], or [[Kitchen Knife|knife]] or smashed into [[Watermelon Chunks|chunks]] with a [[Weapons#Blunt weapons|blunt weapon]].
{{Crafting header|ing=2}}
{{Crafting/sandbox2
{{Crafting cooking|401|ing=2}}
|watermelon_slice
{{Crafting cooking|402|ing=2}}
|watermelon_chunks
|}
}}
=== Evolved recipes ===
 
Watermelons are a [[cooking]] [[Recipe Ingredients|ingredient]].
==Distribution==
{{EvolvedRecipesForItem|cake=10|fruitsalad=10|pancakes=10|waffles=10|muffin=10}}
The loot distributions can be found in the table(s) below.
== Distribution ==
 
Watermelons are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].  
<!--BOT FLAG|Watermelon|41.78.16-->
== Code ==
{{Clear}}
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
<div class="togglebox theme-red">
{{Retrieved|version=41|incver=68}}
    <div>Watermelon distribution
<pre>    item Watermelon
        <span class="mw-customtoggle-togglebox-Watermelon" 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-Watermelon">
    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">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|fridge}}
    | 2.1%
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 10.78%
    |-
    | grocery
    | {{ll|grocerstand}}
    | 10.78%
    |-
    | icecreamkitchen
    | {{ll|fridge}}
    | 10.78%
    |-
    | producestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | producestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | producestorage
    | {{ll|crate}}
    | 76.55%
    |}
</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
    |-
    | ---
    | 10
    | Forest  1<br> FarmLand  3<br> Farm  3
    | -20
    | -
    | -
    | -
    | -
    | July<br>August<br>September<br>October
    | May<br>December
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-Watermelon" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Watermelon|41.78.16-->
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1516
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Watermelon
{
{
DisplayName = Watermelon,
DisplayCategory = Food,
DisplayCategory = Food,
HungerChange = -60,
Type = Food,
Weight = 3,
Weight = 3,
Type = Food,
Icon = Watermelon,
DaysTotallyRotten = 8,
CantEat = TRUE,
ThirstChange = -140,
/*EvolvedRecipe = Salad:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,*/
DisplayName = Watermelon,
FoodType = Fruits,
EvolvedRecipe       =       Salad:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,
DaysFresh = 6,
FoodType           =       Fruits,
DaysTotallyRotten = 8,
Icon = Watermelon,
HungerChange = -60,
        Carbohydrates = 341.11,
ThirstChange = -140,
        Proteins = 27.56,
Calories = 1355,
        Lipids = 6.78,
Carbohydrates = 341.11,
        Calories = 1355,
Lipids = 6.78,
DaysFresh = 6,
Proteins = 27.56,
CustomEatSound = EatingFruit,
WorldStaticModel = Watermelon_Ground,
WorldStaticModel = Watermelon_Ground,
        CustomEatSound = EatingFruit,
Tooltip = Tooltip_item_Watermelon,
}</pre>
EvolvedRecipeName = Watermelon,
}
}}
}}


==See also==
==See also==
*[[Pineapple]]
*[[Pineapple]]
*[[orange]]
*[[Orange]]
 
{{Navbox items|plants}}


{{Navbox_food}}
[[Category:Perishable food]]

Latest revision as of 19:52, 30 April 2024

Project ZomboidItemsFoodFruitWatermelon
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Watermelon
Watermelon Model.png
WatermelonRotten Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
3
Properties
Days fresh
6 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-60
ThirstMoodle Icon Thirsty.png
-140
CaloriesCalories
1355
CarbohydratesCarbohydrates
341.11
ProteinsProteins
27.56
FatFat
6.78
Technical
Item ID
Base.Watermelon

A watermelon is a perishable food item.

Usage

Consumable properties

Watermelon can't be eaten, instead the player must either cut or smash them first.

Fresh Stale Rotten

Watermelon.png
Hunger: -60


Watermelon.png
Hunger: -40
Boredom: +10
Unhappiness: +10

Rotten Watermelon.png
Hunger: -27
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

What it can make

Watermelon can be cut into slices with a saw, axe, or knife or smashed into chunks with a blunt weapon.

Product Ingredients Tools Requirements Workstation XP
WatermelonSliced.png
Watermelon Slice ×10
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
Hacksaw.png Saw ×1
Axe.png Axe ×1
AxeStone.png Stone Axe ×1
AxeHand.png Hand Axe ×1
WoodAxe.png Wood Axe ×1
Cleaver.png Meat Cleaver ×1
Each of:
Watermelon.png Watermelon ×1
none none none 0.75 Cooking
WatermelonSmashed.png
Watermelon Chunks ×5
One of:
BaseballBat.png Baseball Bat ×1
Hammer.png Hammer ×1
Logs.png Log ×1
Plank.png Plank ×1
Sledgehamer.png Sledgehammer ×1
BaseballBatNails.png Spiked Baseball Bat ×1
HammerStone.png Stone Hammer ×1
Each of:
Watermelon.png Watermelon ×1
none none none 0.75 Cooking

Distribution

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

Watermelon 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
all fridge 2.1%
gigamart grocerstand 10.78%
grocery grocerstand 10.78%
icecreamkitchen fridge 10.78%
producestorage crate 23.28%
producestorage crate 41.14%
producestorage crate 76.55%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
--- 10 Forest 1
FarmLand 3
Farm 3
-20 - - - - July
August
September
October
May
December

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 Watermelon
	{
		DisplayName = Watermelon,
		DisplayCategory = Food,
		Type = Food,
		Weight = 3,
		Icon = Watermelon,
		CantEat = TRUE,
		/*EvolvedRecipe = Salad:10;FruitSalad:10;Pancakes:10;Waffles:10;Muffin:10,*/
		FoodType = Fruits,
		DaysFresh = 6,
		DaysTotallyRotten = 8,
		HungerChange = -60,
		ThirstChange = -140,
		Calories = 1355,
		Carbohydrates = 341.11,
		Lipids = 6.78,
		Proteins = 27.56,
		CustomEatSound = EatingFruit,
		WorldStaticModel = Watermelon_Ground,
		Tooltip = Tooltip_item_Watermelon,
		EvolvedRecipeName = Watermelon,
	}

See also