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

fishing_rod

Vars

cast_rangeHow far can you cast this
castingAre we currently casting
casting_cdPrevents spamming the line casting, without affecting the player's click cooldown.
currently_hookedCurrently hooked item for item reeling
default_line_colorThe default color for the reel overlay if no line is equipped.
difficulty_modifierFishing minigame difficulty modifier (additive)
fishing_lineFishing line visual for the hooked item
internalIs this currently being used by the profound fisher component?
reel_overlayThe name of the icon state of the reel overlay
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

Procs

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
hook_hitCalled by hook projectile when hitting things
hook_itemHooks the item
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

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.

currently_hooked

Currently hooked item for item reeling

default_line_color

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

difficulty_modifier

Fishing minigame difficulty modifier (additive)

fishing_line

Fishing line visual for the hooked item

internal

Is this currently being used by the profound fisher component?

reel_overlay

The name of the icon state of the reel overlay

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

Proc Details

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

hook_hit

Called by hook projectile when hitting things

hook_item

Hooks the item

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