TV Dinner: Difference between revisions

From PZwiki
(New infobox + new layout)
(Update distribution file)
 
(33 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|TV Dinner}}
{{Header|Project Zomboid|Items|Food|Miscellaneous food}}
{{header|Project Zomboid|Items|Food|Non-Perishable Food|type=Food|version=Version 40|incver=14}}{{Infobox food
{{Page version|41.78.16}}
|display_name=TV Dinner
{{Reupload|Missing opened 3D model}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=TV Dinner
|image=TVDinner_120px.png
|model=TVDinner_Model.png
|alternate_image=TVDinnerCooked.png
|icon=TVDinner.png
|alternate_name=TV Dinner (Cooked)
|icon_name=TV Dinner
|alternate_link=
|icon2=TVDinnerCooked.png
|icon_name2=TV Dinner (Cooked)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
|weight=0.4
|weight=0.4
|packaged=True
|packaged=Yes
<!--NUTRITION-->
<!--NUTRITION-->
|hunger_change=-23
|hunger_change=-23
|thirst_change=
|calories=670
|calories=670
|lipids=25
|lipids=25
Line 20: Line 20:
|carbohydrates=81
|carbohydrates=81
<!--EFFECT-->
<!--EFFECT-->
|unhappy_change=+25
|unhappy_change=+20
|boredom_change=+30
<!--COOKING-->
<!--COOKING-->
|dangerous_uncooked=True
|cook_minutes=10
|cook_minutes=15
|burn_minutes=5
|burn_minutes=25
|good_hot=True
|bad_cold=True
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.TVDinner
|item_id=Base.TVDinner
}}A '''TV dinner''' is a [[Food#Non-Perishable|non-perishable]] food [[item]].  
}}
A '''TV dinner''' is a non-perishable [[food]] [[Items|item]].


==Usage==
==Usage==
===Consumable properties===
===Consumable properties===
A TV dinner can be eaten raw, which can make the [[player]] [[Moodles#Sick|sick]] along with causing them to feel [[Moodles#Bored|bored]] and [[Moodles#Unhappy|unhappy]]. Consuming after being cooked will reduce more hunger, however it won't remove any of the negative effects (except for sickness).
TV dinner can be eaten raw, which can make the [[player]] [[sick]] along with causing them to feel [[unhappy]]. Consuming after being cooked will reduce more hunger, however it will only prevent sickness not unhappiness.
{{Consumables2
{{Consumables
|image = TVDinner.png
|image = TVDinner.png
|hunger = -23
|hunger = -23
|unhappiness = +20
|perishable = 0
|perishable = 0
|cookable = 1
|cookable = 1
|dangerous uncooked = 1
|dangerous uncooked = 1
|cooked hunger = -29
|cooked hunger = -29
|cooked unhappiness = +30
|cooked unhappiness = +18
|cooked boredom = +27
|burned hunger = -7
|burned hunger = -3
|burned boredom = +20
|burned boredom = +50
|burned unhappiness = +40
|burned unhappiness = +45
|burned image = TVDinnerCooked.png
|burned image = TVDinnerCooked.png
|cooked image = TVDinnerCooked.png
|cooked image = TVDinnerCooked.png
Line 52: Line 49:


==Distribution==
==Distribution==
TV dinners can often found in [[Containers#Counter|kitchen counters]].
The loot distributions can be found in the table(s) below.


== Code ==
<!--BOT FLAG|TVDinner|41.78.16-->
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Clear}}
{{Retrieved|version=40|incver=14}}
<div class="togglebox theme-red">
<pre> item TVDinner
    <div>TVDinner distribution
HungerChange = -23,
        <span class="mw-customtoggle-togglebox-TVDinner" 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>
Weight = 0.4,
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-TVDinner">
Type = Food,
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
IsCookable = TRUE,
<div class="pz-container">
DangerousUncooked = TRUE,
<div id="containers" style="flex-basis:30%">
UnhappyChange = 25,
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
MinutesToBurn = 15,
    |+ {{ll|Containers}}
DisplayName = TV Dinner,
    ! Building/Room
Icon = TVDinner,
    ! Container
MinutesToCook = 10,
    ! Effective chance
BoredomChange = 30,
    |-
        Carbohydrates = 81,
    | FoodCache1
        Proteins = 30,
    | {{ll|FoodBox}}
        Lipids = 25,
    | 34.79%
        Calories = 670,
    |-
        Packaged = TRUE,</pre>
    | GroceryBag1
    | {{ll|GroceryBag1}}
    | 1.01%
    |-
    | GroceryBag3
    | {{ll|GroceryBag3}}
    | 6.41%
    |-
    | SurvivorCache1
    | {{ll|counter}}
    | 10.78%
    |-
    | SurvivorCache2
    | {{ll|counter}}
    | 10.78%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocery
    | {{ll|shelves}}
    | 23.28%
    |-
    | grocerystorage
    | {{ll|crate}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|metal_shelves}}
    | 3.98%
    |-
    | grocerystorage
    | {{ll|smallcrate}}
    | 3.98%
    |-
    | kitchen
    | {{ll|counter}}
    | 10.78%
    |-
    | kitchen
    | {{ll|overhead}}
    | 10.78%
    |-
    | kitchen
    | {{ll|shelves}}
    | 10.78%
    |-
    | livingroom
    | {{ll|counter}}
    | 10.78%
    |-
    | livingroom
    | {{ll|overhead}}
    | 10.78%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-TVDinner" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|TVDinner|41.78.16-->
TV dinner can often be found in [[Containers#Counter|kitchen counters]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 4753
  | source = items_food.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item TVDinner
{
DisplayName = TV Dinner,
DisplayCategory = Food,
Type = Food,
Weight = 0.4,
Icon = TVDinner,
BadCold = true,
DangerousUncooked = TRUE,
EatType = plate,
GoodHot = true,
IsCookable = TRUE,
Packaged = TRUE,
MinutesToCook = 10,
MinutesToBurn = 15,
HungerChange = -23,
UnhappyChange = 20,
Calories = 670,
Carbohydrates = 81,
Lipids = 25,
Proteins = 30,
StaticModel = TVDinner,
WorldStaticModel = TVDinner_Ground,
}
}}
}}


==See also==
==See also==
Line 79: Line 185:
*[[Instant Popcorn]]
*[[Instant Popcorn]]


{{Navbox/Consumables}}
{{Navbox items|food}}
 
[[Category:Non-perishable food]]

Latest revision as of 14:05, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing opened 3D model
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
TV Dinner
TVDinner Model.png
TV Dinner (Cooked)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Properties
Packaged
Yes
Nutrition
HungerMoodle Icon Hungry.png
-23
CaloriesCalories
670
CarbohydratesCarbohydrates
81
ProteinsProteins
30
FatFat
25
Effect
UnhappinessMoodle Icon Unhappy.png
+20
Cooking
Time until cooked
10 minutes
Time until burned
5 minutes
Technical
Item ID
Base.TVDinner

A TV dinner is a non-perishable food item.

Usage

Consumable properties

TV dinner can be eaten raw, which can make the player sick along with causing them to feel unhappy. Consuming after being cooked will reduce more hunger, however it will only prevent sickness not unhappiness.

Uncooked Cooked Burned

TVDinner.png
Hunger: -23

Unhappiness: +20
Dangerous uncooked, may cause sickness.

TVDinnerCooked.png
Hunger: -29

Unhappiness: +18

TVDinnerCooked.png
Hunger: -7
Boredom: +20
Unhappiness: +40
Dangerous, will cause sickness.

Distribution

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

TVDinner distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
FoodCache1 FoodBox 34.79%
GroceryBag1 GroceryBag1 1.01%
GroceryBag3 GroceryBag3 6.41%
SurvivorCache1 counter 10.78%
SurvivorCache2 counter 10.78%
generalstore shelves 23.28%
generalstorestorage crate 23.28%
generalstorestorage shelves 23.28%
gigamart shelves 23.28%
grocery shelves 23.28%
grocerystorage crate 3.98%
grocerystorage metal_shelves 3.98%
grocerystorage smallcrate 3.98%
kitchen counter 10.78%
kitchen overhead 10.78%
kitchen shelves 10.78%
livingroom counter 10.78%
livingroom overhead 10.78%

TV dinner can often be found in kitchen counters.

Code

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

Source: ProjectZomboid\media\scripts\items_food.txt

Retrieved: Build 41.78.16
item TVDinner
	{
		DisplayName = TV Dinner,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.4,
		Icon = TVDinner,
		BadCold = true,
		DangerousUncooked = TRUE,
		EatType = plate,
		GoodHot = true,
		IsCookable = TRUE,
		Packaged = TRUE,
		MinutesToCook = 10,
		MinutesToBurn = 15,
		HungerChange = -23,
		UnhappyChange = 20,
		Calories = 670,
		Carbohydrates = 81,
		Lipids = 25,
		Proteins = 30,
		StaticModel = TVDinner,
		WorldStaticModel = TVDinner_Ground,
	}

See also