Watermelon Slice: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
 
(25 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Watermelon_Slice}}
{{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 Slice
{{Infobox item
|name_colour=Food
|name=Watermelon Slice
|name_text_colour=Food
|model=MelonSlice_Model.png <!-- TODO: update file to latest world model -->
|image=WatermelonSliced_120px.png
|icon=WatermelonSliced.png
|icon_name=Watermelon Slice
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 18: Line 19:
|carbohydrates=34.11
|carbohydrates=34.11
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.WatermelonSliced
|item_id=Base.WatermelonSliced
}}A '''watermelon slice''' is a [[Food#Perishable|perishable]] food [[item]].
}}
A '''watermelon slice''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
A watermelon slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.  
Watermelon slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.
{{Consumables2
{{Consumables
|image = Watermelon Slice.png
|image = Watermelon Slice.png
|hunger = -6
|hunger = -6
Line 40: Line 42:
}}
}}


== Crafting ==
==Crafting==
===Obtaining===
===Obtaining===
{{Crafting table header}}
Watermelon slice is made by slicing [[watermelon]].
{{RecipeLookup|2016}}
{{Crafting/sandbox2
{{Crafting table footer}}
|watermelon_slice
=== Evolved recipes ===
}}
Watermelon slices are a [[cooking]] [[Recipe Ingredients|ingredient]].
 
{{EvolvedRecipesForItem|salad=100|fruitsalad=100}}
===Evolved recipes===
Watermelon slice is a [[cooking]] [[Recipe ingredients|ingredient]].
{{EvolvedRecipesForItem|salad=6|fruitsalad=6|pancakes=6|waffles=6|muffin=6}}


==Distribution==
==Distribution==
Watermelon slices do not spawn naturally and can only be obtained through [[#Crafting|crafting]].
Watermelon slice do not spawn naturally and can only be obtained through [[#Crafting|crafting]].
 
==Gallery==
<gallery>
MelonSlice Model.png|Watermelon slice model when placed in the world
WatermelonSliceRotten Model.png|Rotten watermelon slice model when placed in the world
</gallery>


== Code ==
==Code==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=6}}
| {{CodeSnip
<pre> item WatermelonSliced
  | lang = java
HungerChange = -6,
  | line = true
Weight = 0.3,
  | start = 1540
Type = Food,
  | source = items_food.txt
DaysTotallyRotten = 4,
  | retrieved = true
ThirstChange = -20,
  | version = 41.78.16
DisplayName = Watermelon Slice,
  | code =
Icon = WatermelonSliced,
item WatermelonSliced
DaysFresh = 3,
{
        Carbohydrates = 34.11,
DisplayName = Watermelon Slice,
        Proteins = 2.75,
DisplayCategory = Food,
        Lipids = 0.67,
Type = Food,
        Calories = 135.5,</pre>
Weight = 0.3,
Icon = WatermelonSliced,
EvolvedRecipe = Salad:6;FruitSalad:6;Pancakes:6;Waffles:6;Muffin:6,
FoodType = Fruits,
DaysFresh = 3,
DaysTotallyRotten = 4,
HungerChange = -6,
ThirstChange = -20,
Calories = 135.5,
Carbohydrates = 34.11,
Lipids = 0.67,
Proteins = 2.75,
CustomEatSound = EatingFruit,
StaticModel = MelonSlice,
WorldStaticModel = WaterMelonSlice_Ground,
EvolvedRecipeName = Watermelon,
}
}}
}}


==See also==
==See also==
*[[Watermelon Chunks]]
*[[Watermelon Chunks]]
*[[Watermelon]]
{{Navbox items|plants}}


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

Latest revision as of 13:17, 14 April 2024

Project ZomboidItemsFoodFruitWatermelon Slice
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Watermelon Slice
MelonSlice Model.png
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Properties
Days fresh
3 days
Days until rotten
4 days
Nutrition
HungerMoodle Icon Hungry.png
-6
ThirstMoodle Icon Thirsty.png
-20
CaloriesCalories
135.5
CarbohydratesCarbohydrates
34.11
ProteinsProteins
2.75
FatFat
0.67
Technical
Item ID
Base.WatermelonSliced

A watermelon slice is a perishable food item.

Usage

Consumable properties

Watermelon slice can be eaten, providing the player with some positive effects, however these will become negative the longer it's left to perish.

Fresh Stale Rotten

Watermelon Slice.png
Hunger: -6


Watermelon Slice.png
Hunger: -5
Boredom: +10
Unhappiness: +10

Watermelon Slice.png
Hunger: -3
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

Obtaining

Watermelon slice is made by slicing watermelon.

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

Evolved recipes

Watermelon slice is a cooking ingredient.

Product Nutrition
Salad
Salad
6
Fruit Salad
Fruit Salad
6
Muffin
Muffin
6
Pancakes
Pancakes
6
Waffles
Waffles
6

Distribution

Watermelon slice do not spawn naturally and can only be obtained through crafting.

Gallery

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 WatermelonSliced
	{
		DisplayName = Watermelon Slice,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.3,
		Icon = WatermelonSliced,
		EvolvedRecipe = Salad:6;FruitSalad:6;Pancakes:6;Waffles:6;Muffin:6,
		FoodType = Fruits,
		DaysFresh = 3,
		DaysTotallyRotten = 4,
		HungerChange = -6,
		ThirstChange = -20,
		Calories = 135.5,
		Carbohydrates = 34.11,
		Lipids = 0.67,
		Proteins = 2.75,
		CustomEatSound = EatingFruit,
		StaticModel = MelonSlice,
		WorldStaticModel = WaterMelonSlice_Ground,
		EvolvedRecipeName = Watermelon,
	}

See also