Ice Cream: Difference between revisions

From PZwiki
m (Automated Formatting)
m (Distribution table update)
Line 51: Line 51:
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|Icecream|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>Icecream distribution
! Container
        <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>
! style="width: 3.2em;" | Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Icecream">
! style="width: 3.2em;" | Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
|rowspan="5"|all
    |+ {{ll|Containers}}
|[[freezer]]
    ! Building / Room
|4
    ! Container
|1
    ! Rolls
|-
    ! Chance
|[[freezer]]
    |-
|4
    | all
|1
    | {{ll|freezer}}
|-
    | 4
|[[freezer]]
    | 50.0
|4
    |-
|2
    | all
|-
    | {{ll|freezer}}
|[[freezer]]
    | 4
|4
    | 10.0
|2
    |-
|-
    | all
|[[freezer]]
    | {{ll|freezer}}
|4
    | 4
|5
    | 20.0
|-
    |-
|rowspan="3"|kitchen
    | kitchen
|[[freezer]]
    | {{ll|freezer}}
|4
    | 4
|1
    | 10.0
|-
    |-
|[[freezer]]
    | theatrekitchen
|4
    | {{ll|freezer}}
|1
    | 4
|-
    | 20.0
|[[freezer]]
    |-
|4
    | theatrekitchen
|1
    | {{ll|freezer}}
|-
    | 4
|rowspan="5"|theatrekitchen
    | 10.0
|[[freezer]]
    |-
|4
    | theatrekitchen
|1
    | {{ll|freezer}}
|-
    | 4
|[[freezer]]
    | 50.0
|4
    |}
|1
</div>
|-
    </div><div style="clear:both;"></div>
|[[freezer]]
    </div></div><div class="toggle large mw-customtoggle-togglebox-Icecream" title="{{int:show}}/{{int:hide}}"></div></div>
|4
<!--END BOT FLAG|Icecream|41.78.16-->
|2
Ice cream is often found in [[Containers#Refrigerators|freezers]].
|-
|[[freezer]]
|4
|2
|-
|[[freezer]]
|4
|5
|}Ice cream is often found in [[Containers#Refrigerators|freezers]].


==Code==
==Code==

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