Ice Cream: Difference between revisions

From PZwiki
(updated to 41.68 + added model + navbox)
m (Distribution table update)
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Food|Sweets}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 41|incver=68}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Ice Cream
{{Infobox item
|name_colour=Food
|name=Ice Cream
|name_text_colour=Food
|model=IceCream_Model.png
|image=IceCream_Model.png
|icon=Icecream.png
|image_width=250px
|icon_name=Ice Cream
|alternate_image=Icecream.png
|model2=IceCreamMelted_Model.png
|alternate_link=
|icon2=IcecreamMelted.png
|alternate_name=Ice Cream
|icon_name2=Melted Ice Cream
|alternate_image2=IcecreamMelted.png
|alternate_link2=
|alternate_name2=Melted Ice Cream
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 26: Line 23:
|unhappy_change=-10
|unhappy_change=-10
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Icecream
|item_id=Base.Icecream
}}'''Ice cream''' is a [[Food#Perishable|perishable]] food [[item]].
|item_id2=Base.IcecreamMelted
}}
'''Ice cream''' is a perishable [[food]] [[Items|item]].


==Usage==
==Usage==
Line 33: 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 [[Unhappy|unhappiness]] and [[Bored|boredom]]. Once melted, ice cream cannot be reverted, regardless of how long it stays in a freezer.
{{Consumables2
{{Consumables
|image = Icecream.png
|image = Icecream.png
|hunger = -30  
|hunger = -30
|unhappiness = -10
|unhappiness = -10
|perishable = 1
|perishable = 1
Line 50: Line 49:


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Icecream|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Icecream distribution
        <span class="mw-customtoggle-togglebox-Icecream" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Icecream">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|freezer}}
    | 4
    | 50.0
    |-
    | all
    | {{ll|freezer}}
    | 4
    | 10.0
    |-
    | all
    | {{ll|freezer}}
    | 4
    | 20.0
    |-
    | kitchen
    | {{ll|freezer}}
    | 4
    | 10.0
    |-
    | theatrekitchen
    | {{ll|freezer}}
    | 4
    | 20.0
    |-
    | theatrekitchen
    | {{ll|freezer}}
    | 4
    | 10.0
    |-
    | theatrekitchen
    | {{ll|freezer}}
    | 4
    | 50.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Icecream" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Icecream|41.78.16-->
Ice cream is often found in [[Containers#Refrigerators|freezers]].
Ice cream is often found in [[Containers#Refrigerators|freezers]].


== Code ==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:Icecream.png]] {{ID|Base.Icecream}}<br>
 
{{CodeSnip
''Ice Cream'' [[File:Icecream.png]]
  | lang = java
{{Retrieved|version=41|incver=68}}
  | line = true
<pre> item Icecream
  | start = 3761
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
Tags = GoodFrozen,
        WorldStaticModel = IceCream,
}
}</pre>
}}
''Melted Ice Cream'' [[File:IcecreamMelted.png]]
 
{{Retrieved|version=41|incver=68}}
[[File:IcecreamMelted.png]] {{ID|Base.IcecreamMelted}}<br>
<pre> item IcecreamMelted
{{CodeSnip
  | lang = java
  | line = true
  | start = 3782
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
DaysFresh = 2,
}</pre>
DaysTotallyRotten = 2,
}
}}
}}


==See also==
==See also==
Line 101: Line 173:
*[[Yoghurt]]
*[[Yoghurt]]


{{Navbox_food}}
{{Navbox items|miscellaneous_food}}
 
 
[[Category:Perishable food]]

Revision as of 15:46, 24 April 2024

Project ZomboidItemsFoodSweetsIce Cream
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
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

The loot distributions can be found in the table(s) below.

Icecream distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all freezer 4 50.0
all freezer 4 10.0
all freezer 4 20.0
kitchen freezer 4 10.0
theatrekitchen freezer 4 20.0
theatrekitchen freezer 4 10.0
theatrekitchen freezer 4 50.0

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