Trout: Difference between revisions

From PZwiki
(Created page)
 
(Update distribution file)
 
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Trout}}
{{Header|Project Zomboid|Items|Food|Protein|Fish}}
{{header|Project Zomboid|Items|Food|Perishable Food|type=Food|version=Version 40|incver=43}}{{Infobox food
{{Page version|41.78.16}}
|display_name=Trout
{{Reupload|Missing cooked and burnt 3D models}}
|name_colour=Food
{{Infobox item
|name_text_colour=Food
|name=Trout
|image=FishTrout.png
|model=FishTrout_Model.png
|icon=FishTrout.png
|icon_name=Trout (Uncooked)
|icon2=FishTroutCooked.png
|icon_name2=Trout (Cooked)
|icon3=FishTroutRotten.png
|icon_name3=Trout (Rotten Uncooked)
|icon4=FishTroutRotten.png
|icon_name4=Trout (Rotten Cooked)
|icon5=FishTroutOverdone.png
|icon_name5=Trout (Burnt)
<!--GENERAL-->
<!--GENERAL-->
|category=Food
|category=Food
Line 16: Line 26:
|proteins=32.56
|proteins=32.56
|carbohydrates=5
|carbohydrates=5
<!--EFFECT-->
|unhappy_change=20
<!--COOKING-->
<!--COOKING-->
|cook_minutes=20
|cook_minutes=20
Line 23: Line 35:
|bad_cold=True
|bad_cold=True
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Trout
|item_id=Base.Trout
}}A '''trout''' is a [[Food#Perishable|perishable]] food [[item]] used in [[cooking]].  
}}
A '''trout''' is a perishable [[food]] [[Items|item]] used in [[cooking]].


==Usage==
==Usage==
Trout can be eaten raw, which will provide the player with some positive effects, or improved by cooking, however these will become negative the longer it's left to perish.
===Consumable properties===
A trout can be eaten raw, which will provide the player with some positive effects, or improved by cooking, however these will become negative the longer it's left to perish.
 
==Crafting==
A trout can be used in various cooking recipes.
 
===Cooking===
{{Main|Cooking}}
{{Crafting/sandbox2
|fish_fillet
}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|Trout|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Trout distribution
        <span class="mw-customtoggle-togglebox-Trout" 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-Trout">
    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">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | butcher
    | {{ll|displaycasebutcher}}
    | 23.28%
    |-
    | gigamart
    | {{ll|displaycasebutcher}}
    | 23.28%
    |-
    | gigamartkitchen
    | {{ll|displaycasebutcher}}
    | 23.28%
    |-
    | grocery
    | {{ll|displaycasebutcher}}
    | 23.28%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Trout" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Trout|41.78.16-->
===Fishing===
===Fishing===
{{Main|Fishing}}
{{Main|Fishing}}
Trout can be caught using a [[Fishing Rod|fishing rod]].
Trout can be caught using a [[Fishing Rod|fishing rod]].
===Vehicles===
===Vehicles===
Trout can be found in the bed of a fisherman's truck.
Trout can be found in the bed of a fisherman's truck.
==Trivia==
*The Rotten Uncooked and Cooked models have no texture. When placed in-game, they are shown as a checkered red-white model instead.


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item Trout
  | lang = java
Type = Food,
  | line = true
DisplayName = Trout,
  | start = 1841
Icon = FishTrout,
  | source = items_food.txt
Weight = 0.4,
  | retrieved = true
HungerChange = -15,
  | version = 41.78.16
DaysFresh = 4,
  | code =
DaysTotallyRotten = 8,
item Trout
IsCookable         = true,
{
MinutesToBurn     = 60,
DisplayName = Trout,
MinutesToCook     = 20,
DisplayCategory = Food,
Carbohydrates = 5,
Type = Food,
Proteins = 32.56,
Weight = 0.4,
Lipids = 5.5,
Icon = FishTrout,
Calories = 219,
BadCold = true,
BadInMicrowave = true,
BadInMicrowave = true,
GoodHot = true,
DangerousUncooked = TRUE,
BadCold = true,</pre>
GoodHot = true,
IsCookable = true,
OnCreate = Fishing.OnCreateFish,
RemoveUnhappinessWhenCooked = true,
MinutesToCook = 20,
MinutesToBurn = 60,
DaysFresh = 4,
DaysTotallyRotten = 8,
HungerChange = -15,
UnhappyChange = 20,
Calories = 230,
Carbohydrates = 1,
Lipids = 10,
Proteins = 36,
WorldStaticModel = Trout,
}
}}
}}


==See also==
==See also==
*[[Fish Fillet]]
*[[Fish Fillet]]
*[[Fishing Tackle]]
*[[Fishing Tackle]]
{{Navbox items|meat}}
[[Category:Perishable food]]
[[Category:Seafood]]

Latest revision as of 14:11, 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 cooked and burnt 3D models
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Trout
FishTrout Model.png
Trout (Cooked)
Trout (Rotten Uncooked)
Trout (Rotten Cooked)
Trout (Burnt)
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Properties
Days fresh
4 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-15
CaloriesCalories
219
CarbohydratesCarbohydrates
5
ProteinsProteins
32.56
FatFat
5.5
Effect
UnhappinessMoodle Icon Unhappy.png
20
Cooking
Time until cooked
20 minutes
Time until burned
80 minutes
Bad microwaved
True
Good hot
True
Bad cold
True
Technical
Item ID
Base.Trout

A trout is a perishable food item used in cooking.

Usage

Consumable properties

A trout can be eaten raw, which will provide the player with some positive effects, or improved by cooking, however these will become negative the longer it's left to perish.

Crafting

A trout can be used in various cooking recipes.

Cooking

Main article: Cooking
Product Ingredients Tools Requirements Workstation XP
FishFillet.png
Fish Fillet ×2
One of:
KnifeChopping.png Kitchen Knife ×1
HuntingKnife.png Hunting Knife ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
Machete.png Machete ×1
FishPanfish.png Sunfish ×1
FishTrout.png Trout ×1
none none none 10 Cooking

Distribution

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

Trout 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
butcher displaycasebutcher 23.28%
gigamart displaycasebutcher 23.28%
gigamartkitchen displaycasebutcher 23.28%
grocery displaycasebutcher 23.28%

Fishing

Main article: Fishing

Trout can be caught using a fishing rod.

Vehicles

Trout can be found in the bed of a fisherman's truck.

Trivia

  • The Rotten Uncooked and Cooked models have no texture. When placed in-game, they are shown as a checkered red-white model instead.

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 Trout
	{
		DisplayName = Trout,
		DisplayCategory = Food,
		Type = Food,
		Weight = 0.4,
		Icon = FishTrout,
		BadCold = true,
		BadInMicrowave = true,
		DangerousUncooked = TRUE,
		GoodHot = true,
		IsCookable = true,
		OnCreate = Fishing.OnCreateFish,
		RemoveUnhappinessWhenCooked = true,
		MinutesToCook = 20,
		MinutesToBurn = 60,
		DaysFresh = 4,
		DaysTotallyRotten = 8,
		HungerChange = -15,
		UnhappyChange = 20,
		Calories = 230,
		Carbohydrates = 1,
		Lipids = 10,
		Proteins = 36,
		WorldStaticModel = Trout,
	}

See also