fishing_rod
Vars | |
cast_range | How far can you cast this |
---|---|
casting | Are we currently casting |
currently_hooked_item | 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 |
reel_overlay | The name of the icon state of the reel overlay |
ui_description | Explaination of rod functionality shown in the ui |
Procs | |
Exited | Trying to swap item |
additive_fish_bonus | Catch weight modifier for the given fish_type (or FISHING_DUD)
and source, additive. Called after multiplicative_fish_bonus() . |
attackby | if we don't have anything hooked show the dangling hook & line |
can_be_hooked | Checks what can be hooked |
cast_line | Reel in if able Called by afterattack(). If the line to whatever that is is clear and we're not already busy, try fishing in it |
create_fishing_line | Reel in if able Generates the fishing line visual from the current user to the target and updates inhands |
hook_hit | Annoyingly pre attack is only called in melee Called by hook projectile when hitting things |
hook_item | Hooks the item |
multiplicative_fish_bonus | Catch weight modifier for the given fish_type (or FISHING_DUD)
and source, multiplicative. Called before additive_fish_bonus() . |
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 . |
slot_check | Checks if the item fits the slot |
ui_interact | If you can't fish in it, try hooking it |
use_slot | Ideally this will be replaced with generic slotted storage datum + display |
worn_overlays | Line part by the rod, always visible |
Var Details
cast_range
How far can you cast this
casting
Are we currently casting
currently_hooked_item
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
reel_overlay
The name of the icon state of the reel overlay
ui_description
Explaination of rod functionality shown in the ui
Proc Details
Exited
Trying to swap item
additive_fish_bonus
Catch weight modifier for the given fish_type (or FISHING_DUD)
and source, additive. Called after multiplicative_fish_bonus()
.
attackby
if we don't have anything hooked show the dangling hook & line
can_be_hooked
Checks what can be hooked
cast_line
Reel in if able Called by afterattack(). If the line to whatever that is is clear and we're not already busy, try fishing in it
create_fishing_line
Reel in if able Generates the fishing line visual from the current user to the target and updates inhands
hook_hit
Annoyingly pre attack is only called in melee Called by hook projectile when hitting things
hook_item
Hooks the item
multiplicative_fish_bonus
Catch weight modifier for the given fish_type (or FISHING_DUD)
and source, multiplicative. Called before additive_fish_bonus()
.
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:
- target_fish_source - The /datum/fish_source we're trying to fish in.
slot_check
Checks if the item fits the slot
ui_interact
If you can't fish in it, try hooking it
use_slot
Ideally this will be replaced with generic slotted storage datum + display
worn_overlays
Line part by the rod, always visible