Bass: Difference between revisions

From PZwiki
(→‎top: New infobox upgrade - Food)
(→‎Code: CodeBox update)
Line 115: Line 115:


==Code==
==Code==
'''''From items_food.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41.68}}
| {{CodeSnip
<pre>
  | lang = java
    item Bass
  | line = false
    {
  | start =
        DisplayCategory = Food,
  | source = items_food.txt
        Type = Food,
  | retrieved = true
        DisplayName = Bass,
  | version = 41
        Icon = FishBass,
  | incver = 68
        Weight = 0.7,
  | code =
        HungerChange = -26,
item Bass
        DaysFresh = 4,
{
        DaysTotallyRotten = 8,
  DisplayCategory           = Food,
        IsCookable         = true,
  Type                       = Food,
        MinutesToBurn     = 60,
  DisplayName               = Bass,
        MinutesToCook     = 20,
  Icon                       = FishBass,
DangerousUncooked = TRUE,
  Weight                     = 0.7,
        Carbohydrates = 1,
  HungerChange               = -26,
        Proteins = 48,
  DaysFresh                 = 4,
        Lipids = 24,
  DaysTotallyRotten         = 8,
        Calories = 403,
  IsCookable                 = true,
        BadInMicrowave = true,
  MinutesToBurn             = 60,
        GoodHot = true,
  MinutesToCook             = 20,
        BadCold = true,
  DangerousUncooked         = TRUE,
        UnhappyChange = 20,
  Carbohydrates             = 1,
        RemoveUnhappinessWhenCooked = true,
  Proteins                   = 48,
        WorldStaticModel = Bass,
  Lipids                     = 24,
        StaticModel = Bass,
  Calories                   = 403,
        OnCreate = Fishing.OnCreateFish,
  BadInMicrowave             = true,
    }
  GoodHot                   = true,
</pre>
  BadCold                   = true,
  UnhappyChange             = 20,
  RemoveUnhappinessWhenCooked = true,
  WorldStaticModel           = Bass,
  StaticModel               = Bass,
  OnCreate                   = Fishing.OnCreateFish,
}
  }}
}}


==See also==
==See also==

Revision as of 03:35, 1 February 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.68).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D Variant Models (Cooked, Burned, Rotten)
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
PlushSpiffo.pngThis article is about the type of fish. For the musical instrument, see Electric Bass.
Bass
BassFish Model.png
Bass (Cooked)
Bass (Burnt)
Bass (Rotten)
Fish Fillet Fish Fillet
General
Category
Food
Encumbrance
Moodle Icon HeavyLoad.png
1.1
Properties
Days fresh
4 days
Days until rotten
8 days
Nutrition
HungerMoodle Icon Hungry.png
-8
CaloriesCalories
184
CarbohydratesCarbohydrates
5
ProteinsProteins
30
FatFat
4.2
Effect
UnhappinessMoodle Icon Unhappy.png
20
Cooking
Time until cooked
20 minutes
Time until burned
60 minutes
Bad microwaved
True
Good hot
True
Bad cold
True
Technical
Item ID
Base.Bass

A bass is a perishable food item used in cooking.

Usage

Consumable properties

A bass 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.

The weight of the bass will determine how much nutrition it has. For example, a bass with a weight of 1.1 will reduce 8 hunger, whereas a bass that weighs 5.3 will reduce 40 hunger. The values below are based on the minimum bass weight of 1.1, i.e. 8 hunger fresh uncooked.

Fresh Stale Rotten
Uncooked

FishBass.png
Hunger: -8

Unhappiness: +20
Dangerous uncooked, may cause sickness.

FishBass.png
Hunger: -6
Boredom: +10
Unhappiness: +30
Dangerous uncooked, may cause sickness.

FishBassRotten.png

Hunger: -3
Boredom: +20
Unhappiness: +40
Dangerous, will cause sickness.

Cooked

FishBassCooked.png
Hunger: -10

FishBassCooked.png
Hunger: -6
Boredom: +10
Unhappiness: +12

FishBassCooked.png
Hunger: -3
Boredom: +20
Unhappiness: +22
Dangerous, will cause sickness.

Burned

FishBassOverdone.png
Hunger: -2
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.

Crafting

A bass can be used in various cooking recipes.

Cooking

Main article: Cooking
Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
FishFillet.png
Fish Fillet x2
10 Cooking none
(keep)

(consumed)
Bass (Cooked)
Bass (Cooked)
2.5 Cooking none Heat source.gif
Heat source
(Cooked: 20 mins)
Bass (Uncooked)
Bass (Uncooked)
(consumed)

Distribution

Fishing

Main article: Fishing

Bass can be caught using a fishing rod.

Approximated weight probability for catching bass:

Weight Probability
1.1-1.5 60%
2.3-2.75 8%
4.1-5.45 32%

Vehicles

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

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.68
item Bass
{
  DisplayCategory            = Food,
  Type                       = Food,
  DisplayName                = Bass,
  Icon                       = FishBass,
  Weight                     = 0.7,
  HungerChange               = -26,
  DaysFresh                  = 4,
  DaysTotallyRotten          = 8,
  IsCookable                 = true,
  MinutesToBurn              = 60,
  MinutesToCook              = 20,
  DangerousUncooked          = TRUE,
  Carbohydrates              = 1,
  Proteins                   = 48,
  Lipids                     = 24,
  Calories                   = 403,
  BadInMicrowave             = true,
  GoodHot                    = true,
  BadCold                    = true,
  UnhappyChange              = 20,
  RemoveUnhappinessWhenCooked = true,
  WorldStaticModel           = Bass,
  StaticModel                = Bass,
  OnCreate                   = Fishing.OnCreateFish,
}

See also