/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_fish.dm

COMSIG_FISH_LIFEFrom /obj/item/fish/process: (seconds_per_tick)
COMSIG_FISH_EATEN_BY_OTHER_FISHFrom /datum/fish_trait/eat_fish: (predator)
COMSIG_FISH_FEDFrom /obj/item/fish/feed: (fed_reagents, fed_reagent_type)
COMSIG_FISHING_CHALLENGE_COMPLETEDFishing challenge completed
COMSIG_MOB_FISHING_REWARD_DISPENSEDSent to the fisherman when the reward is dispensed: (reward)
COMSIG_PRE_FISHINGCalled when you try to use fishing rod on anything
COMSIG_FISHING_ROD_CASTSent by the target of the fishing rod cast
COMSIG_FISHING_ROD_CAUGHT_FISHFrom /datum/fish_source/proc/dispense_reward(), not set if the reward is a dud: (reward, user)
COMSIG_FISHING_ROD_HOOKED_ITEMFrom /obj/item/fishing_rod/proc/hook_item(): (reward, user)
COMSIG_FISHING_EQUIPMENT_SLOTTEDFrom /datum/fish_source/proc/use_slot(), sent to the slotted item: (obj/item/fishing_rod/rod)
COMSIG_FISHING_SOURCE_INTERRUPT_CHALLENGESent when the challenge is to be interrupted: (reason)
COMSIG_FISH_ANALYZER_ANALYZE_STATUSFrom /obj/item/fish_analyzer/proc/analyze_status: (fish, user)

Define Details

COMSIG_FISHING_CHALLENGE_COMPLETED

Fishing challenge completed

COMSIG_FISHING_EQUIPMENT_SLOTTED

From /datum/fish_source/proc/use_slot(), sent to the slotted item: (obj/item/fishing_rod/rod)

COMSIG_FISHING_ROD_CAST

Sent by the target of the fishing rod cast

COMSIG_FISHING_ROD_CAUGHT_FISH

From /datum/fish_source/proc/dispense_reward(), not set if the reward is a dud: (reward, user)

COMSIG_FISHING_ROD_HOOKED_ITEM

From /obj/item/fishing_rod/proc/hook_item(): (reward, user)

COMSIG_FISHING_SOURCE_INTERRUPT_CHALLENGE

Sent when the challenge is to be interrupted: (reason)

COMSIG_FISH_ANALYZER_ANALYZE_STATUS

From /obj/item/fish_analyzer/proc/analyze_status: (fish, user)

COMSIG_FISH_EATEN_BY_OTHER_FISH

From /datum/fish_trait/eat_fish: (predator)

COMSIG_FISH_FED

From /obj/item/fish/feed: (fed_reagents, fed_reagent_type)

COMSIG_FISH_LIFE

From /obj/item/fish/process: (seconds_per_tick)

COMSIG_MOB_FISHING_REWARD_DISPENSED

Sent to the fisherman when the reward is dispensed: (reward)

COMSIG_PRE_FISHING

Called when you try to use fishing rod on anything