Watermelon: Difference between revisions
(Removing outdated notice as page is up-to-date, removing code and history sections of page (see community portal discussion)) |
m (Distribution table fix) |
||
(43 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Food|Fruit}} | ||
{{Page version|41.78.16}} | |||
{{Infobox item | |||
|name=Watermelon | |||
|model=Watermelon_Model.png | |||
|icon=Watermelon.png | |||
|icon_name=Watermelon | |||
|model2=WatermelonRotten_Model.png | |||
|icon2=WatermelonRotten.png | |||
|icon_name2=Watermelon (Rotten) | |||
<!--GENERAL--> | |||
|category=Food | |||
|weight=3 | |||
|days_fresh=6 | |||
|days_rotten=8 | |||
<!--NUTRITION--> | |||
|hunger_change=-60 | |||
|thirst_change=-140 | |||
|calories=1355 | |||
|lipids=6.78 | |||
|proteins=27.56 | |||
|carbohydrates=341.11 | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.Watermelon | |||
}} | |||
A '''watermelon''' is a perishable [[food]] [[Items|item]]. | |||
==Usage== | |||
===Consumable properties=== | |||
Watermelon can't be eaten, instead the player must either cut or smash them first. | |||
{{Consumables | {{Consumables | ||
|image = Watermelon.png | |image = Watermelon.png | ||
|hunger = -60 | |hunger = -60 | ||
|thirst = -140 | |thirst = -140 | ||
|unrotten hunger = | |unrotten hunger = -40 | ||
|unrotten boredom = | |unrotten boredom = +10 | ||
|unrotten unhappiness = | |unrotten unhappiness = +10 | ||
|unrotten thirst = | |unrotten thirst = -140 | ||
|rotten hunger = | |unrotten image = Tomato.png | ||
|rotten boredom = | |rotten hunger = -27 | ||
|rotten unhappiness = | |rotten boredom = +20 | ||
|rotten thirst = | |rotten unhappiness = +20 | ||
|rotten thirst = -140 | |||
|perishable = 1 | |perishable = 1 | ||
|rotten image = Rotten Watermelon.png | |rotten image = Rotten Watermelon.png | ||
}} | }} | ||
==Crafting== | |||
===What it can make=== | |||
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/sandbox2 | |||
|watermelon_slice | |||
|watermelon_chunks | |||
}} | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
{| class="wikitable | <!--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"> | ||
{{ | 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, | |||
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]] | |||
{{Navbox items|plants}} | |||
[[Category:Perishable food]] | |||
[[Category:Perishable | |||
Latest revision as of 19:52, 30 April 2024
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 |
---|---|---|
|
|
|
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 |
---|---|---|---|---|---|
Watermelon Slice ×10 |
One of: Kitchen Knife ×1 Hunting Knife ×1 Saw ×1 Axe ×1 Stone Axe ×1 Hand Axe ×1 Wood Axe ×1 Meat Cleaver ×1 Each of: Watermelon ×1 |
none | none | none | 0.75 Cooking |
Watermelon Chunks ×5 |
One of: Baseball Bat ×1 Hammer ×1 Log ×1 Plank ×1 Sledgehammer ×1 Spiked Baseball Bat ×1 Stone Hammer ×1 Each of: Watermelon ×1 |
none | none | none | 0.75 Cooking |
Distribution
The loot distributions can be found in the table(s) below.
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% |
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
Source: ProjectZomboid\media\scripts\items_food.txt
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,
}