Wildlife & Farming

Fish

Access every Museum-donatable and cookable fish in Dinkum, with biome, rarity, season, and time-of-day data.


Type

Fish

Extends PediaItem with cooked-value fields. See TypeScript integration for the full shared shape.

FieldTypeDescription
idstringStable identifier
namestringDisplay name
imgstringPath to the fish's icon, relative to images/
sourcestring[]?Where the fish is caught
baseSellPricenumberBase (raw) sell price in Dinks
buyPricenumber?Purchase price, if purchasable
biomeBiome[]Biomes the fish is found in
timeFoundTimePeriod[]Times of day the fish is active
seasonsSeason[]Seasons the fish is active
rarityRarityLevel'Common', 'Uncommon', 'Rare', 'Very Rare', or 'Super Rare'
cookedPricenumberSell price once cooked
cookedPiecesnumberNumber of cooked pieces yielded

Factory

import { fish } from 'dinkum-data'

fish() // all 45 fish
fish(source) // wrap a pre-filtered array

Filters

MethodSignatureDescription
byBiomebyBiome(biome: Biome)Filter to fish found in the given biome.
byRaritybyRarity(rarity: RarityLevel)Filter by rarity.
bySeasonbySeason(season: Season)Filter to fish available in the given season.
byTimebyTime(time: TimePeriod)Filter to fish caught during the given time period.
import { fish } from 'dinkum-data'

fish().byBiome('Ocean').get()
fish().byRarity('Rare').get()
fish().bySeason('Summer').get()
fish().byTime('Morning').get()

Sorts

MethodSignatureDefaultDescription
sortByBaseSellPricesortByBaseSellPrice(order?: 'asc' | 'desc')'desc'Sort by raw (uncooked) base sell price.
sortByCookedPricesortByCookedPrice(order?: 'asc' | 'desc')'desc'Sort by cooked sell price.

Terminal methods

MethodReturnsDescription
.get()Fish[]All results
.first()Fish | undefinedFirst result
.find(id)Fish | undefinedFind by id
.findByName(name)Fish | undefinedCase-insensitive exact name match
.search(query)Fish[]Case-insensitive partial name match
.count()numberNumber of results

Examples

import { fish } from 'dinkum-data'

// Every summer fish, best cooked sell price first
fish().bySeason('Summer').sortByCookedPrice().get()

// Rare ocean fish
fish().byBiome('Ocean').byRarity('Rare').get()

Next steps

Previous
Critters
Next
Crops