Ice Cream: Difference between revisions

From PZwiki
m (Minor cleanups)
m (Category Project: Sweets)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}
{{header/sandbox2|Project Zomboid|Items|Food|Sweets}}
{{page version|41.73}}
{{Infobox food
{{Infobox food
|display_name=Ice Cream
|display_name=Ice Cream
Line 64: Line 65:
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
<div class="mw-collapsible-content">'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
''Ice Cream'' [[File:Icecream.png]]
''Ice Cream'' [[File:Icecream.png]]
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41.73}}
<pre>
<pre>
item Icecream
item Icecream
Line 87: Line 88:
</pre>
</pre>
''Melted Ice Cream'' [[File:IcecreamMelted.png]]
''Melted Ice Cream'' [[File:IcecreamMelted.png]]
{{Retrieved|version=41|incver=73}}
{{Retrieved|version=41.73}}
<pre>
<pre>
item IcecreamMelted
item IcecreamMelted
Line 114: Line 115:


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

Revision as of 16:16, 27 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
Ice Cream
Ice Cream Melted Ice Cream
General
Category Food
Encumbrance
Heavy Load
0.2
Days until stale 1 days
Days until rotten 1 days
Nutrition
Hunger
Hunger
-30
Calories
Calories
1680
Carbohydrates
Carbohydrates
180
Proteins
Proteins
26
Fat
Fat
84
Effect
Unhappiness
Unhappiness
-10
Technical details
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