code/modules/fishing/fishing_minigame.dm
FISHING_MINIGAME_AREA | The height of the minigame slider. Not in pixels, but minigame units. |
---|---|
FISH_TARGET_MIN_DISTANCE | Any lower than this, and the target position of the fish is considered null |
FISH_FRICTION_MULT | The friction applied to fish jumps, so that it decelerates over time |
FISH_SHORT_JUMP_MIN_DISTANCE | Used to decide whether the fish can jump in a certain direction |
FISH_SHORT_JUMP_MAX_DISTANCE | The maximum distance for a short jump |
BAIT_MIN_VELOCITY_BOUNCE | The minimum velocity required for the bait to bounce |
BAIT_DECELERATION_MULT | The extra deceleration of velocity that happens when the bait switches direction |
REELING_STATE_IDLE | Defines to know how the bait is moving on the minigame slider. |
MINIGAME_SLIDER_HEIGHT | The pixel height of the minigame bar |
MINIGAME_BAIT_HEIGHT | The standard pixel height of the bait |
MINIGAME_FISH_HEIGHT | The standard pixel height of the fish (minus a pixel on each direction for the sake of a better looking sprite) |
FISH_DAMAGE_PER_SECOND | The damage dealt per second to the fish when FISHING_MINIGAME_RULE_KILL is active. |
/atom/movable/screen/fishing_hud | The screen object which bait, fish, and completion bar are visually attached to. |
/obj/effect/fishing_lure | The visual that appears over the fishing spot |
Define Details
BAIT_DECELERATION_MULT
The extra deceleration of velocity that happens when the bait switches direction
BAIT_MIN_VELOCITY_BOUNCE
The minimum velocity required for the bait to bounce
FISHING_MINIGAME_AREA
The height of the minigame slider. Not in pixels, but minigame units.
FISH_DAMAGE_PER_SECOND
The damage dealt per second to the fish when FISHING_MINIGAME_RULE_KILL is active.
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
MINIGAME_BAIT_HEIGHT
The standard pixel height of the bait
MINIGAME_FISH_HEIGHT
The standard pixel height of the fish (minus a pixel on each direction for the sake of a better looking sprite)
MINIGAME_SLIDER_HEIGHT
The pixel height of the minigame bar
REELING_STATE_IDLE
Defines to know how the bait is moving on the minigame slider.