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

fishing_hook

Vars

chasm_detritus_typeWhat subtype of /obj/item/chasm_detritus do we fish out of chasms? Defaults to /obj/item/chasm_detritus.
fishing_hook_traitsA list of traits that this fishing hook has, checked by fish traits and the minigame
rod_overlay_icon_stateicon state added to main rod icon when this hook is equipped

Procs

can_be_hookedCheck if tha target can be caught by the hook
get_hook_bonus_additiveSimple getter proc for hooks to implement special hook bonuses for certain fish_type (or FISHING_DUD), additive. Is applied after get_hook_bonus_multiplicative().
get_hook_bonus_multiplicativeSimple getter proc for hooks to implement special hook bonuses for certain fish_type (or FISHING_DUD), multiplicative. Is applied before get_hook_bonus_additive().
hook_attachedAny special effect when hooking a target that's not managed by the fishing rod.
reason_we_cant_fishIs there a reason why this hook couldn't fish in target_fish_source? If so, return the denial reason as a string, otherwise return null.

Var Details

chasm_detritus_type

What subtype of /obj/item/chasm_detritus do we fish out of chasms? Defaults to /obj/item/chasm_detritus.

fishing_hook_traits

A list of traits that this fishing hook has, checked by fish traits and the minigame

rod_overlay_icon_state

icon state added to main rod icon when this hook is equipped

Proc Details

can_be_hooked

Check if tha target can be caught by the hook

get_hook_bonus_additive

Simple getter proc for hooks to implement special hook bonuses for certain fish_type (or FISHING_DUD), additive. Is applied after get_hook_bonus_multiplicative().

get_hook_bonus_multiplicative

Simple getter proc for hooks to implement special hook bonuses for certain fish_type (or FISHING_DUD), multiplicative. Is applied before get_hook_bonus_additive().

hook_attached

Any special effect when hooking a target that's not managed by the fishing rod.

reason_we_cant_fish

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

Arguments: