Watermelon: Difference between revisions

From PZwiki
(new layout)
m (Distribution table update)
 
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Watermelon}}
{{Header|Project Zomboid|Items|Food|Fruit}}
{{header|Project Zomboid|Items|Food|Perishable Food|Fruits|type=Food|version=Version 40|incver=6}}{{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_120px.png
|icon=Watermelon.png
|icon_name=Watermelon
|model2=WatermelonRotten_Model.png
|icon2=WatermelonRotten.png
|icon_name2=Watermelon (Rotten)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 18: 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 41: Line 46:
}}
}}


== Crafting ==
==Crafting==
===What it can make===
===What it can make===
It can be cut into slices with a [[saw]] 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 table header}}
{{Crafting/sandbox2
{{RecipeLookup|2015}}
|watermelon_slice
{{RecipeLookup|2016}}
|watermelon_chunks
{{Crafting table footer}}
}}
=== Evolved recipes ===
 
Watermelons are a [[cooking]] [[Recipe Ingredients|ingredient]].
==Distribution==
{{EvolvedRecipesForItem|cake=-10|fruitsalad=-10}}
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Watermelon|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Watermelon distribution
        <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">
    <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|fridge}}
    | 4
    | 0.2
    |-
    | gigamart
    | {{ll|grocerstand}}
    | 4
    | 4.0
    |-
    | producestorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | producestorage
    | {{ll|crate}}
    | 4
    | 50.0
    |-
    | producestorage
    | {{ll|crate}}
    | 4
    | 20.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
    |-
    | ---
    | 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,
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==
*[[Pineapple]]
*[[Orange]]


== Code ==
{{Navbox items|plants}}
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=6}}
<pre> item Watermelon
HungerChange = -60,
Weight = 3,
Type = Food,
DaysTotallyRotten = 8,
ThirstChange = -140,
DisplayName = Watermelon,
Icon = Watermelon,
        Carbohydrates = 341.11,
        Proteins = 27.56,
        Lipids = 6.78,
        Calories = 1355,
DaysFresh = 6,</pre>


{{Navbox/Consumables}}
[[Category:Perishable food]]

Latest revision as of 16:58, 24 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
Containers
Building / Room Container Rolls Chance
all fridge 4 0.2
gigamart grocerstand 4 4.0
producestorage crate 4 10.0
producestorage crate 4 50.0
producestorage crate 4 20.0
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