Ice Cream: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
mNo edit summary
Line 1: Line 1:
{{languages}}
{{languages|Ice Cream}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=73}}{{Infobox food
|display_name=Ice Cream
|display_name=Ice Cream
|name_colour=Food
|name_colour=Food
|name_text_colour=Food
|name_text_colour=Food
|image=IceCream_Model.png
|image=Icecream_120px.png
|image_width=250px
|alternate_image=Icecream.png
|alternate_link=
|alternate_name=Ice Cream
|alternate_image2=IcecreamMelted.png
|alternate_image2=IcecreamMelted.png
|alternate_link2=
|alternate_link2=
Line 26: Line 22:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Icecream
|class_name=Base.Icecream<br>Base.IcecreamMelted
}}'''Ice cream''' is a [[Food#Perishable|perishable]] food [[item]].
}}'''Ice cream''' is a [[Food#Perishable|perishable]] food [[item]].


Line 52: Line 48:
Ice cream is often found in [[Containers#Refrigerators|freezers]].
Ice cream is often found in [[Containers#Refrigerators|freezers]].


==Gallery==
<gallery>
File:IceCream Model.png|Model for: [[File:Icecream.png]]
File:IceCreamMelted Model.png|Model for: [[File:IcecreamMelted.png]]
</gallery>
<div class="mw-collapsible mw-collapsed">
== Code ==
== Code ==
'''''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=68}}
{{Retrieved|version=41|incver=73}}
<pre> item Icecream
<pre> item Icecream
{
{
DisplayName = Ice Cream,
DisplayCategory = Food,
DisplayCategory = Food,
HungerChange = -30,
Type = Food,
Weight = 0.2,
Weight = 0.2,
UnhappyChange = -10,
Icon = Icecream,
        DaysFresh = 1,
Packaged = TRUE,
        DaysTotallyRotten = 1,
ReplaceOnRotten = IcecreamMelted,
AlwaysWelcomeGift = true,
DaysFresh = 1,
Type = Food,
DaysTotallyRotten = 1,
DisplayName = Ice Cream,
HungerChange = -30,
Icon = Icecream,
UnhappyChange = -10,
        Carbohydrates = 180,
Calories = 1680,
        Proteins = 26,
Carbohydrates = 180,
        Lipids = 84,
Lipids = 84,
        Calories = 1680,
Proteins = 26,
        ReplaceOnRotten = IcecreamMelted,
WorldStaticModel = IceCream,
        Packaged = TRUE,
        WorldStaticModel = IceCream,
}</pre>
}</pre>
''Melted Ice Cream'' [[File:IcecreamMelted.png]]
''Melted Ice Cream'' [[File:IcecreamMelted.png]]
{{Retrieved|version=41|incver=68}}
{{Retrieved|version=41|incver=73}}
<pre> item IcecreamMelted
<pre> item IcecreamMelted
{
{
DisplayName = Melted Ice Cream,
DisplayCategory = Food,
DisplayCategory = Food,
HungerChange = -30,
Type = Food,
Weight = 0.2,
Weight = 0.2,
Type = Food,
Icon = IcecreamMelted,
DisplayName = Melted Ice Cream,
Packaged = TRUE,
Icon = IcecreamMelted,
HungerChange = -30,
        Carbohydrates = 180,
Calories = 1680,
        Proteins = 26,
Carbohydrates = 180,
        Lipids = 84,
Lipids = 84,
        Calories = 1680,
Proteins = 26,
        Packaged = TRUE,
WorldStaticModel = IcecreamMelted,
        WorldStaticModel = IcecreamMelted,
}</pre>
}</pre>
</div>


==See also==
==See also==

Revision as of 20:07, 5 October 2022

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

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