Ice Cream: Difference between revisions

From PZwiki
m (Vaileasys moved page Ice Cream to Ice Cream: official display name)
(New infobox + new layout)
Line 1: Line 1:
__NOTOC__
{{languages|Ice Cream}}
{{languages|Icecream}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=7}}{{Infobox food
<div class="header" style="margin: 5px; align: right; background: #CEF2E0; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #A3BFB1"> <!-- Code for Background Colour -->
|display_name=Ice Cream
<div style="float: right;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name_colour=Food
<div style="float: left;background: #CEF2E0;border: 1px solid #A3BFB1; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Consumables|Consumables]] -> [[:Category:Food|Food]] -> [[:Category:Non-Perishable_Food|Non Perishable Foods]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|name_text_colour=Food
{{Consumables
|image=Icecream_120px.png
|image = Ice cream.png
|alternate_image=IcecreamMelted.png
|weight = 0.2
|alternate_link=
|hunger = -30
|alternate_name=Melted Ice Cream
<!--GENERAL-->
|category=Food
|weight=0.2
|days_fresh=1
|days_rotten=1
<!--NUTRITION-->
|hunger_change=-30
|calories=1680
|lipids=84
|proteins=26
|carbohydrates=180
<!--EFFECT-->
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
|class_name=Base.Icecream
}}'''Ice cream''' is a [[Food#Perishable|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 [[Food#Non-Perishable|non-perishable]].
{{Consumables2
|image = Icecream.png
|hunger = -30  
|unhappiness = -10
|unhappiness = -10
|perishable = 1
|cookable = 0
|unrotten hunger = -30
|unrotten unhappiness = -10
|rotten hunger = -30
|rotten image = IcecreamMelted.png
}}
}}
'''Icecream''' is a [[Food#Non-Perishable|non-perishable]] food item found in the [[Containers#Refrigerators|freezers]] of many houses and certain stores. <br>
Icecream melts into melted icecream if left out of a freezer for more than 1 day.


==Distribution==
Ice cream is often found in [[Containers#Refrigerators|freezers]].


== Nutritional information ==
== Code ==
Melted icecream does not provide the -10 unhappiness bonus given by frozen icecream.
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
<br><br>
'''Its nutritional values are as follows:'''<br>
Carbohydrates = 180 <br>
Proteins = 26 <br>
Lipids = 84 <br>
Calories = 1680 <br><br>


== Code ==
''Ice Cream'' [[File:Icecream.png]]
<br>
{{Retrieved|version=40|incver=7}}
''Icecream (frozen/solid)'' [[File:Icecream.png]]
<pre> item Icecream
<nowiki>
item Icecream
HungerChange = -30,
HungerChange = -30,
Weight = 0.2,
Weight = 0.2,
Line 42: Line 63:
         Calories = 1680,
         Calories = 1680,
         ReplaceOnRotten = IcecreamMelted,
         ReplaceOnRotten = IcecreamMelted,
         Packaged = TRUE,
         Packaged = TRUE,</pre>
</nowiki>
''Melted Ice Cream'' [[File:IcecreamMelted.png]]
''Icecream (melted)'' [[File:IcecreamMelted.png]]
{{Retrieved|version=40|incver=7}}
<nowiki>
<pre> item IcecreamMelted
item IcecreamMelted
HungerChange = -30,
HungerChange = -30,
Weight = 0.2,
Weight = 0.2,
Line 56: Line 76:
         Lipids = 84,
         Lipids = 84,
         Calories = 1680,
         Calories = 1680,
         Packaged = TRUE,
         Packaged = TRUE,</pre>
    </nowiki>
 
== History ==


{| class="wikitable" width="550" style="text-align:center;"
==See also==
|-
*[[Yoghurt]]
! Alpha || 
*[[Milk]]
|-
| 34.27 || Added 'Melted Icecream'
|-
| 32.20 || Possibly due to a bug, ice cream does not expire.
|}


{{Navbox/Consumables}}
{{Navbox/Consumables}}
[[Category:Consumables]]
[[Category:Food]]
[[Category:Non-Perishable_Food]]
[[Category:Version 34.28]]

Revision as of 12:54, 20 August 2018

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