/tg/ Station 13 - Modules - TypesDefine Details

code/modules/fishing/fish_movement.dm

FISH_TARGET_MIN_DISTANCEAny lower than this, and the target position of the fish is considered null
FISH_FRICTION_MULTThe friction applied to fish jumps, so that it decelerates over time
FISH_SHORT_JUMP_MIN_DISTANCEUsed to decide whether the fish can jump in a certain direction
FISH_SHORT_JUMP_MAX_DISTANCEThe maximum distance for a short jump
/datum/fish_movementFish movements are simple datums, generated by the fishing minigame, that represent how the fish moves suring the minigame.
/datum/fish_movement/slowGeneric fish movement datum that only performs slow, uninterrupted long jumps
/datum/fish_movement/zippyGeneric fish movement datum with triple the short jump chance.
/datum/fish_movement/accelerandofish movement datum that progressively gets faster until acceleration and velocity are double the starting ones.
/datum/fish_movement/choppyFish movement datum that updates the fish position twice per second.
/datum/fish_movement/plungerFish movement datum that weakly pushes the fish up and then down with greater force once it reaches the top of the minigame.

Define Details

FISH_FRICTION_MULT

The friction applied to fish jumps, so that it decelerates over time

FISH_SHORT_JUMP_MAX_DISTANCE

The maximum distance for a short jump

FISH_SHORT_JUMP_MIN_DISTANCE

Used to decide whether the fish can jump in a certain direction

FISH_TARGET_MIN_DISTANCE

Any lower than this, and the target position of the fish is considered null