Ice Cream

From PZwiki
Revision as of 11:54, 20 August 2018 by Vaileasys (talk | contribs) (New infobox + new layout)
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

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

Distribution

Ice cream is often found in freezers.

Code

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

Ice Cream Icecream.png Retrieved: Build 40.7

	item Icecream
		HungerChange		= -30,
		Weight			= 0.2,
		UnhappyChange		= -10,
        	DaysFresh		= 1,
        	DaysTotallyRotten	= 1,
		AlwaysWelcomeGift	= true,
		Type			= Food,
		DisplayName		= Icecream,
		Icon			= Icecream,
        	Carbohydrates 		= 180,
        	Proteins 		= 26,
        	Lipids 			= 84,
        	Calories 		= 1680,
        	ReplaceOnRotten 	= IcecreamMelted,
        	Packaged 		= TRUE,

Melted Ice Cream IcecreamMelted.png Retrieved: Build 40.7

	item IcecreamMelted
		HungerChange		= -30,
		Weight			= 0.2,
		Type			= Food,
		DisplayName		= Melted Icecream,
		Icon			= IcecreamMelted,
       		Carbohydrates 		= 180,
        	Proteins 		= 26,
        	Lipids 			= 84,
        	Calories 		= 1680,
        	Packaged 		= TRUE,

See also

Template:Navbox/Consumables