Ice Cream: Difference between revisions

From PZwiki
(Codebox)
m (Move gallery to infobox, minor)
Line 6: Line 6:
|icon=Icecream.png
|icon=Icecream.png
|icon_name=Ice Cream
|icon_name=Ice Cream
|model2=IceCreamMelted_Model.png
|icon2=IcecreamMelted.png
|icon2=IcecreamMelted.png
|icon_name2=Melted Ice Cream
|icon_name2=Melted Ice Cream
<!--GENERAL-->
<!--GENERAL-->
Line 32: Line 32:
Ice cream can be eaten, providing the player with some positive effects, however it will lose its unhappiness bonus once melted, which is [[Food#Non-Perishable|non-perishable]].
Ice cream can be eaten, providing the player with some positive effects, however it will lose its unhappiness bonus once melted, which is [[Food#Non-Perishable|non-perishable]].


Ice cream must stay in the freezer, otherwise it will melt, giving the player [[Moodles#Unhappy|unhappiness]] and [[Moodles#Bored|boredom]]. Once melted, ice cream cannot be reverted, regardless of how long it stays in a freezer.
Ice cream must stay in the freezer. Otherwise, it will melt, giving the player [[Moodles#Unhappy|unhappiness]] and [[Moodles#Bored|boredom]]. Once melted, ice cream cannot be reverted, regardless of how long it stays in a freezer.
{{Consumables
{{Consumables
|image = Icecream.png
|image = Icecream.png
Line 50: Line 50:
==Distribution==
==Distribution==
Ice cream is often found in [[Containers#Refrigerators|freezers]].
Ice cream is often found in [[Containers#Refrigerators|freezers]].
==Gallery==
<gallery>
IceCream Model.png|Model for: [[File:Icecream.png]]
IceCreamMelted Model.png|Model for: [[File:IcecreamMelted.png]]
</gallery>


==Code==
==Code==
Line 125: Line 119:


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

Revision as of 15:55, 17 March 2024

Project ZomboidItemsFoodSweetsIce Cream
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
IceCreamMelted Model.png
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.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Icecream.png Base.Icecream
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
		Tags = GoodFrozen,
	}

IcecreamMelted.png Base.IcecreamMelted
Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
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,
		DaysFresh = 2,
		DaysTotallyRotten = 2,
	}

See also