Watermelon: Difference between revisions

From PZwiki
No edit summary
mNo edit summary
(14 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages}}
{{languages|Watermelon}}
{{Consumables
{{header|Project Zomboid|Items|Food|Perishable Food|Fruits|type=Food|version=Version 40|incver=6}}{{Infobox food
|display_name=Watermelon
|name_colour=Food
|name_text_colour=Food
|image=Watermelon_120px.png
|alternate_image=WatermelonRotten.png
|alternate_link=
|alternate_name=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-->
|class_name=Base.Watermelon
}}A '''watermelon''' is a [[Food#Perishable|perishable]] food [[item]].
 
==Usage==
===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.
{{Consumables2
|image = Watermelon.png
|image = Watermelon.png
|hunger = -70
|hunger = -60
|weight = 2
|thirst = -140
|unrotten hunger = -40
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten thirst = -140
|unrotten image = Tomato.png
|rotten hunger = -27
|rotten boredom = +20
|rotten unhappiness = +20
|rotten thirst = -140
|perishable = 1
|rotten image = Rotten Watermelon.png
}}
}}
== Effects ==
 
[[Hunger]]: -70<br>
[[Thirst]]: -140
== Crafting ==
== Crafting ==
{| class="wikitable sortable" style="text-align:center;"
===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]].
! Name
{{Crafting table header}}
! class="unsortable" | Recipe
{{RecipeLookup|2015}}
! class="unsortable" | Description
{{RecipeLookup|2016}}
{{RecipeLookup|34}}
{{Crafting table footer}}
{{RecipeLookup|35}}
=== Evolved recipes ===
|}
Watermelons are a [[cooking]] [[Recipe Ingredients|ingredient]].
{{EvolvedRecipesForItem|cake=10|fruitsalad=10}}
== Distribution ==
Watermelons are often found in [[refrigerator]]s and [[Containers#Displays|grocery displays]].
== Code ==
== Code ==
<nowiki>item Watermelon
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{
{{Retrieved|version=40|incver=6}}
Type = Food,
<pre> item Watermelon
DisplayName = Watermelon,
HungerChange = -60,
Icon = Watermelon,
Weight = 3,
Weight = 2,
Type = Food,
HungerChange = -70,
DaysTotallyRotten = 8,
ThirstChange = -140,
ThirstChange = -140,
DaysFresh = 3,
DisplayName = Watermelon,
DaysTotallyRotten = 5,
Icon = Watermelon,
}</nowiki>
        Carbohydrates = 341.11,
        Proteins = 27.56,
        Lipids = 6.78,
        Calories = 1355,
DaysFresh = 6,</pre>


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Version 0.2.0p]]

Revision as of 10:52, 20 August 2018

Watermelon
Watermelon
Watermelon (Rotten)
General
Category Food
Encumbrance
Heavy Load
3
Days until stale 6 days
Days until rotten 8 days
Nutrition
Hunger
Hunger
-60
Thirst
Thirst
-140
Calories
Calories
1355
Carbohydrates
Carbohydrates
341.11
Proteins
Proteins
27.56
Fat
Fat
6.78
Technical details
Item ID Base.Watermelon

A watermelon is a perishable food item.

Usage

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. Template:Consumables2

Crafting

What it can make

A watermelon can be cut into slices with a saw, axe, or knife or smashed into chunks with a blunt weapon. Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Evolved recipes

Watermelons are a cooking ingredient.

Product Nutrition
Fruit Salad
Fruit Salad
10
Cake
Cake
10

Distribution

Watermelons are often found in refrigerators and grocery displays.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.6

	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,

Template:Navbox/Consumables