Ice Cream: Difference between revisions

From PZwiki
m (Category Project: Sweets)
(→‎top: New infobox upgrade - Food)
Line 2: Line 2:
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{page version|41.73}}
{{page version|41.73}}
{{Infobox food
{{Infobox item
|display_name=Ice Cream
|name=Ice Cream
|name_colour=Food
|model=IceCream_Model.png
|name_text_colour=Food
|icon=Icecream.png
|image=IceCream_Model.png
|icon_name=Ice Cream
|image_width=200px
|icon2=IcecreamMelted.png
|alternate_image=Icecream.png
 
|alternate_name=Ice Cream
|icon_name2=Melted Ice Cream
|alternate_link=
|alternate_image2=IcecreamMelted.png
|alternate_link2=
|alternate_name2=Melted Ice Cream
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 28: Line 24:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Icecream<br>Base.IcecreamMelted
|item_id=Base.Icecream<br>Base.IcecreamMelted
}}
}}
'''Ice cream''' is a [[Food#Perishable|perishable]] food [[item]].
'''Ice cream''' is a [[Food#Perishable|perishable]] food [[item]].

Revision as of 10:57, 29 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.73).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Ice Cream
IceCream Model.png
Melted Ice Cream
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Days fresh
1 days
Days until rotten
1 days
Nutrition
HungerMoodle Icon Hungry.png
-30
CaloriesCalories
1680
CarbohydratesCarbohydrates
180
ProteinsProteins
26
FatFat
84
Effect
UnhappinessMoodle Icon Unhappy.png
-10
Technical
Item ID
Base.Icecream
Base.IcecreamMelted

Ice cream is a perishable food item.

Usage

Consumable properties

Ice cream can be eaten, providing the player with some positive effects, however it will lose its unhappiness bonus once melted, which is non-perishable.

Ice cream must stay in the freezer, otherwise it will melt, giving the player unhappiness and boredom. Once melted, ice cream cannot be reverted, regardless of how long it stays in a freezer.

Fresh Stale Rotten

Icecream.png
Hunger: -30

Unhappiness: -10

Icecream.png
Hunger: -30
Boredom: +10

IcecreamMelted.png
Hunger: -30
Boredom: +20
Unhappiness: +10
Dangerous, will cause sickness.

Distribution

Ice cream is often found in freezers.

Gallery

Code

From items_food.txt (Project Zomboid directory/media/scripts/)

Ice Cream Icecream.png Retrieved: Build 41.73

	item Icecream
	{
		DisplayName = Ice Cream,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = Icecream,
		Packaged = TRUE,
		ReplaceOnRotten = IcecreamMelted,
		DaysFresh = 1,
		DaysTotallyRotten = 1,
		HungerChange = -30,
		UnhappyChange = -10,
		Calories = 1680,
		Carbohydrates = 180,
		Lipids = 84,
		Proteins = 26,
		WorldStaticModel = IceCream,
	}

Melted Ice Cream IcecreamMelted.png Retrieved: Build 41.73

	item IcecreamMelted
	{
		DisplayName = Melted Ice Cream,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.2,
		Icon = IcecreamMelted,
		Packaged = TRUE,
		HungerChange = -30,
		Calories = 1680,
		Carbohydrates = 180,
		Lipids = 84,
		Proteins = 26,
		WorldStaticModel = IcecreamMelted,
	}

See also