/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/fish.dm

FISHING_DUDUse in fish tables to denote miss chance.
FISHING_RANDOM_SEEDUsed in the the hydro tray fishing spot to define a random seed reward
FAV_BAIT_DIFFICULTY_MODDifficulty modifier when bait is fish's favorite
DISLIKED_BAIT_DIFFICULTY_MODDifficulty modifier when bait is fish's disliked
EXPERT_FISHER_DIFFICULTY_MODDifficulty modifier when our fisherman has the trait TRAIT_EXPERT_FISHER
ROD_SLOT_BAITSlot defines for the fishing rod and its equipment
FISHING_HOOK_SHINYFishing hook trait that signifies that it's shiny. Useful for fishes that care about shiner hooks more.
FISHING_HOOK_WEIGHTEDFishing hook trait that lessens the bounce from hitting the edges of the minigame bar.
FISHING_HOOK_BIDIRECTIONALSee FISHING_MINIGAME_RULE_BIDIRECTIONAL
FISHING_HOOK_NO_ESCAPEPrevents the user from losing the game by letting the fish get away.
FISHING_HOOK_ENSNARELimits the completion loss of the minigame when the fsh is not on the bait area.
FISHING_HOOK_KILLAutomatically kills the fish after a while, at the cost of killing it.
FISHING_LINE_CLOAKEDReduces the difficulty of the minigame
FISHING_LINE_REINFORCEDRequired to cast a line on lava.
FISHING_LINE_BOUNCYMuch like FISHING_HOOK_ENSNARE but for the fishing line.
FISHING_LINE_STIFFThe sorta opposite of FISHING_LINE_BOUNCY. It makes it slower to gain completion and faster to lose it.
FISHING_LINE_AUTOREELSkip the biting phase and go straight to the fishing phase.
FISHING_MINIGAME_RULE_BIDIRECTIONALKeeps the bait from falling from gravity, instead allowing the player to move the bait down with right click.
FISHING_MINIGAME_RULE_NO_ESCAPEPrevents the player from losing the minigame when the completion reaches 0
FISHING_MINIGAME_RULE_KILLAutomatically kills the fish after a while, at the cost of killing it
FISHING_MINIGAME_RULE_NO_EXPPrevents the fishing skill from having an effect on the minigame and experience from being awarded
FISHING_MINIGAME_RULE_ANTIGRAVIf enabled, the minigame will occasionally screw around and invert the velocity of the bait
FISHING_MINIGAME_RULE_FLIPWill filp the minigame hud for the duration of the effect
FISHING_MINIGAME_AUTOREELSkip the biting phase and go straight to the minigame, avoiding the penalty for having slow reflexes.
FISHING_MINIGAME_RULE_CAMOThe fish will fade in and out at intervals
FISHING_MINIGAME_ACTIVE_EFFECTSall the effects that are active and will last for a few seconds before triggering a cooldown
FISHING_DEFAULT_HOOK_BONUS_ADDITIVEThe default additive value for fishing hook catch weight modifiers.
FISHING_DEFAULT_HOOK_BONUS_MULTIPLICATIVEThe default multiplicative value for fishing hook catch weight modifiers.
FISH_SIZE_TINY_MAXFish size thresholds for w_class.
FISH_SIZE_TWO_HANDS_REQUIREDsize threshold for requiring two-handed carry
MAX_FISH_DEVIATION_COEFFThe coefficient for maximum weight/size divergence relative to the averages.
FISH_GRIND_RESULTS_WEIGHT_DIVISORThe volume of the grind results is multiplied by the fish' weight and divided by this.
FISH_FILLET_NUMBER_SIZE_DIVISORThe number of fillets is multiplied by the fish' size and divided by this.
FISH_WEIGHT_SLOWDOWNThe slowdown of the fish when carried begins at this value
FISH_WEIGHT_SLOWDOWN_DIVISORThe value of the slowdown equals to the weight divided by this (and then at the power of a sub-1 exponent)
FISH_WEIGHT_SLOWDOWN_EXPONENTThe sub-one exponent that results in the final slowdown of the fish item
FISH_WEIGHT_FORCE_DIVISORUsed to calculate the force of the fish by comparing (1 + log(weight/this_define)) and the w_class of the item.
NEW_FISH_BREEDING_TIMEOUT_MULTThe breeding timeout for newly instantiated fish is multiplied by this.
NEW_FISH_LAST_FEEDING_MULTThe last feeding timestamp of newly instantiated fish is multiplied by this: ergo, they spawn 50% hungry.
FISH_RARITY_BASICHow likely one's to find a given fish from random fish cases.
AQUARIUM_FLUID_FRESHWATERAquarium fluid variables. The fish' required fluid has to match this, or it'll slowly die.
AQUARIUM_COMPANYFluff. The name of the aquarium company shown in the fish catalog
ELECTROGENESIS_DURATIONhow long between electrogenesis zaps
ELECTROGENESIS_VARIANCEa random range the electrogenesis cooldown varies by
FISHING_MINIGAME_AREAThe height of the minigame slider. Not in pixels, but minigame units.
FISH_PROPERTIES_FAV_BAITDefines for fish properties from the collect_fish_properties proc
FISH_BAIT_TYPEDefine for favorite and disliked baits that aren't just item typepaths.

Define Details

AQUARIUM_COMPANY

Fluff. The name of the aquarium company shown in the fish catalog

AQUARIUM_FLUID_FRESHWATER

Aquarium fluid variables. The fish' required fluid has to match this, or it'll slowly die.

DISLIKED_BAIT_DIFFICULTY_MOD

Difficulty modifier when bait is fish's disliked

ELECTROGENESIS_DURATION

how long between electrogenesis zaps

ELECTROGENESIS_VARIANCE

a random range the electrogenesis cooldown varies by

EXPERT_FISHER_DIFFICULTY_MOD

Difficulty modifier when our fisherman has the trait TRAIT_EXPERT_FISHER

FAV_BAIT_DIFFICULTY_MOD

Difficulty modifier when bait is fish's favorite

FISHING_DEFAULT_HOOK_BONUS_ADDITIVE

The default additive value for fishing hook catch weight modifiers.

FISHING_DEFAULT_HOOK_BONUS_MULTIPLICATIVE

The default multiplicative value for fishing hook catch weight modifiers.

FISHING_DUD

Use in fish tables to denote miss chance.

FISHING_HOOK_BIDIRECTIONAL

See FISHING_MINIGAME_RULE_BIDIRECTIONAL

FISHING_HOOK_ENSNARE

Limits the completion loss of the minigame when the fsh is not on the bait area.

FISHING_HOOK_KILL

Automatically kills the fish after a while, at the cost of killing it.

FISHING_HOOK_NO_ESCAPE

Prevents the user from losing the game by letting the fish get away.

FISHING_HOOK_SHINY

Fishing hook trait that signifies that it's shiny. Useful for fishes that care about shiner hooks more.

FISHING_HOOK_WEIGHTED

Fishing hook trait that lessens the bounce from hitting the edges of the minigame bar.

FISHING_LINE_AUTOREEL

Skip the biting phase and go straight to the fishing phase.

FISHING_LINE_BOUNCY

Much like FISHING_HOOK_ENSNARE but for the fishing line.

FISHING_LINE_CLOAKED

Reduces the difficulty of the minigame

FISHING_LINE_REINFORCED

Required to cast a line on lava.

FISHING_LINE_STIFF

The sorta opposite of FISHING_LINE_BOUNCY. It makes it slower to gain completion and faster to lose it.

FISHING_MINIGAME_ACTIVE_EFFECTS

all the effects that are active and will last for a few seconds before triggering a cooldown

FISHING_MINIGAME_AREA

The height of the minigame slider. Not in pixels, but minigame units.

FISHING_MINIGAME_AUTOREEL

Skip the biting phase and go straight to the minigame, avoiding the penalty for having slow reflexes.

FISHING_MINIGAME_RULE_ANTIGRAV

If enabled, the minigame will occasionally screw around and invert the velocity of the bait

FISHING_MINIGAME_RULE_BIDIRECTIONAL

Keeps the bait from falling from gravity, instead allowing the player to move the bait down with right click.

FISHING_MINIGAME_RULE_CAMO

The fish will fade in and out at intervals

FISHING_MINIGAME_RULE_FLIP

Will filp the minigame hud for the duration of the effect

FISHING_MINIGAME_RULE_KILL

Automatically kills the fish after a while, at the cost of killing it

FISHING_MINIGAME_RULE_NO_ESCAPE

Prevents the player from losing the minigame when the completion reaches 0

FISHING_MINIGAME_RULE_NO_EXP

Prevents the fishing skill from having an effect on the minigame and experience from being awarded

FISHING_RANDOM_SEED

Used in the the hydro tray fishing spot to define a random seed reward

FISH_BAIT_TYPE

Define for favorite and disliked baits that aren't just item typepaths.

FISH_FILLET_NUMBER_SIZE_DIVISOR

The number of fillets is multiplied by the fish' size and divided by this.

FISH_GRIND_RESULTS_WEIGHT_DIVISOR

The volume of the grind results is multiplied by the fish' weight and divided by this.

FISH_PROPERTIES_FAV_BAIT

Defines for fish properties from the collect_fish_properties proc

FISH_RARITY_BASIC

How likely one's to find a given fish from random fish cases.

FISH_SIZE_TINY_MAX

Fish size thresholds for w_class.

FISH_SIZE_TWO_HANDS_REQUIRED

size threshold for requiring two-handed carry

FISH_WEIGHT_FORCE_DIVISOR

Used to calculate the force of the fish by comparing (1 + log(weight/this_define)) and the w_class of the item.

FISH_WEIGHT_SLOWDOWN

The slowdown of the fish when carried begins at this value

FISH_WEIGHT_SLOWDOWN_DIVISOR

The value of the slowdown equals to the weight divided by this (and then at the power of a sub-1 exponent)

FISH_WEIGHT_SLOWDOWN_EXPONENT

The sub-one exponent that results in the final slowdown of the fish item

MAX_FISH_DEVIATION_COEFF

The coefficient for maximum weight/size divergence relative to the averages.

NEW_FISH_BREEDING_TIMEOUT_MULT

The breeding timeout for newly instantiated fish is multiplied by this.

NEW_FISH_LAST_FEEDING_MULT

The last feeding timestamp of newly instantiated fish is multiplied by this: ergo, they spawn 50% hungry.

ROD_SLOT_BAIT

Slot defines for the fishing rod and its equipment