/tg/ Station 13 - Modules - TypesDefine Details

code/modules/fishing/fish/_fish.dm

FISH_GROWTH_MULTBase multiplier of the difference between current size and weight and their maximum value Used to calculate how much fish grow each time they're fed, alongside with the current hunger, and the current size and weight, meaning bigger fish naturally tend to grow way more slowly Growth peaks at 45% hunger but very rapidly wanes past that.
DEAD_FISH_BEAUTYMalus to the beauty value if the fish content is dead
MAX_DEAD_FISH_BEAUTYPrevents more impressive fishes from providing a positive beauty even when dead.
MIN_DEAD_FISH_BEAUTYSome fish are already so ugly, they can't get much worse when dead
FISH_PRICE_MULTIPLIERThe multiplier of the factor of size and weight of the fish, used to determinate the raw price before exponentation
FISH_PRICE_CURVE_EXPONENTThis makes each additional unit of fish weight and size yields diminishing marginal returns.
FISH_PRICE_SOFT_CAP_THRESHOLDpast this threshold, the price of fish will plateu even faster. This stops particularly huge fish from being an overly efficient way to make money that bypasses price elasticity by selling fewer units.
FISH_PRICE_SOFT_CAP_EXPONENTThe second exponent used for soft-capping the fish price.
/proc/random_fish_typeReturns random fish, using random_case_rarity probabilities.

Define Details

DEAD_FISH_BEAUTY

Malus to the beauty value if the fish content is dead

FISH_GROWTH_MULT

Base multiplier of the difference between current size and weight and their maximum value Used to calculate how much fish grow each time they're fed, alongside with the current hunger, and the current size and weight, meaning bigger fish naturally tend to grow way more slowly Growth peaks at 45% hunger but very rapidly wanes past that.

FISH_PRICE_CURVE_EXPONENT

This makes each additional unit of fish weight and size yields diminishing marginal returns.

FISH_PRICE_MULTIPLIER

The multiplier of the factor of size and weight of the fish, used to determinate the raw price before exponentation

FISH_PRICE_SOFT_CAP_EXPONENT

The second exponent used for soft-capping the fish price.

FISH_PRICE_SOFT_CAP_THRESHOLD

past this threshold, the price of fish will plateu even faster. This stops particularly huge fish from being an overly efficient way to make money that bypasses price elasticity by selling fewer units.

MAX_DEAD_FISH_BEAUTY

Prevents more impressive fishes from providing a positive beauty even when dead.

MIN_DEAD_FISH_BEAUTY

Some fish are already so ugly, they can't get much worse when dead