/tg/ Station 13 - Modules - TypesVar Details - Proc Details

fishing_rod

Vars

bait_height_multThe multiplier of the bait height. Influenced by the strength_modifier of a material, unlike the other variables, lest we add too many vars to materials. Also materials with a strength_modifier lower than 1 don't do anything, since they're already likely to be quite bad
bait_speed_multThe multiplier of the speed of the bobber/bait during the minigame
bounciness_multThe multiplier of the bounciness of the bobber/bait upon hitting the edges of the minigame area
cast_rangeHow far can you cast this
castingAre we currently casting
casting_cdPrevents spamming the line casting, without affecting the player's click cooldown.
completion_speed_multThe multiplier of the completion gain during the minigame
currently_hookedCurrently hooked item for item reeling
deceleration_multThe multiplier of the decelaration during the minigame
default_line_colorThe default color for the reel overlay if no line is equipped.
difficulty_modifierFishing minigame difficulty modifier (additive)
experience_multiplierThe multiplier of how much experience is gained when fishing with this rod.
fishing_lineFishing line visual for the hooked item
gravity_multThe multiplier of negative velocity that pulls the bait/bobber down when not holding the click
internalIs this currently being used by the profound fisher component?
material_fish_chanceThe chance of catching fish made of the same material of the fishing rod (if MATERIAL_EFFECTS is enabled)
reel_overlayThe name of the icon state of the reel overlay
show_in_wikiIs this fishing rod shown in the wiki
spin_frequencyA list with two keys delimiting the spinning interval in which a mouse click has to be pressed while fishing. Inherited from baits, passed down to the minigame lure.
ui_descriptionExplaination of rod functionality shown in the ui and the autowiki
wiki_descriptionMore explaination shown in the wiki after ui_description

Procs

attempt_baneFishing rodss should only bane fish DNA-infused spessman
bane_effectsFishing rods should hard-counter fish DNA-infused spessman
cast_lineIf the line to whatever that is is clear and we're not already busy, try fishing in it
create_fishing_lineGenerates the fishing line visual from the current user to the target and updates inhands
get_material_fish_chanceReturns the probability that a fish caught by this (custom material) rod will be of the same material.
get_stat_infoUsed in examine_more to reduce all the copypasta when getting more information about the various stats of the fishing rod.
hook_hitCalled by hook projectile when hitting things
hook_itemHooks the item
on_reward_caughtCalled at the end of on_challenge_completed() once the reward has been spawned
reason_we_cant_fishIs there a reason why this fishing rod couldn't fish in target_fish_source? If so, return the denial reason as a string, otherwise return null.
set_slotassign an item to the given slot and its standard effects, while Exited() should handle unsetting the slot.
slot_checkChecks if the item fits the slot
use_slotIdeally this will be replaced with generic slotted storage datum + display

Var Details

bait_height_mult

The multiplier of the bait height. Influenced by the strength_modifier of a material, unlike the other variables, lest we add too many vars to materials. Also materials with a strength_modifier lower than 1 don't do anything, since they're already likely to be quite bad

bait_speed_mult

The multiplier of the speed of the bobber/bait during the minigame

bounciness_mult

The multiplier of the bounciness of the bobber/bait upon hitting the edges of the minigame area

cast_range

How far can you cast this

casting

Are we currently casting

casting_cd

Prevents spamming the line casting, without affecting the player's click cooldown.

completion_speed_mult

The multiplier of the completion gain during the minigame

currently_hooked

Currently hooked item for item reeling

deceleration_mult

The multiplier of the decelaration during the minigame

default_line_color

The default color for the reel overlay if no line is equipped.

difficulty_modifier

Fishing minigame difficulty modifier (additive)

experience_multiplier

The multiplier of how much experience is gained when fishing with this rod.

fishing_line

Fishing line visual for the hooked item

gravity_mult

The multiplier of negative velocity that pulls the bait/bobber down when not holding the click

internal

Is this currently being used by the profound fisher component?

material_fish_chance

The chance of catching fish made of the same material of the fishing rod (if MATERIAL_EFFECTS is enabled)

reel_overlay

The name of the icon state of the reel overlay

show_in_wiki

Is this fishing rod shown in the wiki

spin_frequency

A list with two keys delimiting the spinning interval in which a mouse click has to be pressed while fishing. Inherited from baits, passed down to the minigame lure.

ui_description

Explaination of rod functionality shown in the ui and the autowiki

wiki_description

More explaination shown in the wiki after ui_description

Proc Details

attempt_bane

Fishing rodss should only bane fish DNA-infused spessman

bane_effects

Fishing rods should hard-counter fish DNA-infused spessman

cast_line

If the line to whatever that is is clear and we're not already busy, try fishing in it

create_fishing_line

Generates the fishing line visual from the current user to the target and updates inhands

get_material_fish_chance

Returns the probability that a fish caught by this (custom material) rod will be of the same material.

get_stat_info

Used in examine_more to reduce all the copypasta when getting more information about the various stats of the fishing rod.

hook_hit

Called by hook projectile when hitting things

hook_item

Hooks the item

on_reward_caught

Called at the end of on_challenge_completed() once the reward has been spawned

reason_we_cant_fish

Is there a reason why this fishing rod couldn't fish in target_fish_source? If so, return the denial reason as a string, otherwise return null.

Arguments:

set_slot

assign an item to the given slot and its standard effects, while Exited() should handle unsetting the slot.

slot_check

Checks if the item fits the slot

use_slot

Ideally this will be replaced with generic slotted storage datum + display