/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_fish.dm

COMSIG_AQUARIUM_FLUID_CHANGEDFrom /datum/component/aquarium/ui_act, when changing the fluid of the aquarium: (fluid_type)
COMSIG_AQUARIUM_CAN_INSERTFrom /datum/component/aquarium/can_insert: (obj/item/item)
COMSIG_CAN_INSERT_IN_AQUARIUMThe item will be inserted into the aquarium
COMSIG_CANNOT_INSERT_IN_AQUARIUMThe item won't be inserted into the aquarium, but will early return attackby anyway.
COMSIG_AQUARIUM_SET_VISUALFrom /datum/component/aquarium_content/set_vc_base_position: (obj/effect/aquarium/visual)
COMSIG_AQUARIUM_REMOVE_VISUALFrom /datum/component/aquarium_content/remove_from_aquarium: (obj/effect/aquarium/visual)
COMSIG_AQUARIUM_GET_REPRODUCTION_CANDIDATESFrom /obj/item/fish/try_to_reproduce: (fish, candidates)
COMSIG_AQUARIUM_CHECK_EVOLUTION_CONDITIONSFrom /datum/fish_evolution/check_conditions: (fish, mate, evolution)
COMSIG_AQUARIUM_CONTENT_GENERATE_APPEARANCEUpdates the appearance of a newly generated aquarium content visual:(visual)
COMSIG_AQUARIUM_CONTENT_RANDOMIZE_POSITIONUpdates the base position of an aquarium content visual:(aquarium, visual)
COMSIG_AQUARIUM_CONTENT_DO_ANIMATIONUpdates the animation of an aquarium content visual:(aquarium, visual)
COMSIG_FISH_LIFEFrom /obj/item/fish/process: (seconds_per_tick)
COMSIG_FISH_EATEN_BY_OTHER_FISHFrom /datum/fish_trait/eat_fish: (predator)
COMSIG_GENERATE_REAGENTS_TO_ADDFrom /obj/item/fish/generate_reagents_to_add, which returns a holder when the fish is eaten or composted for example: (list/reagents)
COMSIG_FISH_UPDATE_SIZE_AND_WEIGHTFrom /obj/item/fish/update_size_and_weight: (new_size, new_weight)
COMSIG_FISH_FORCE_UPDATEDFrom /obj/item/fish/update_fish_force: (weight_rank, bonus_malus)
COMSIG_FISH_RELEASED_INTOFrom /obj/item/fish/interact_with_atom_secondary, sent to the target: (fish)
COMSIG_ROD_BEGIN_FISHINGFrom /datum/fishing_challenge/New: (datum/fishing_challenge/challenge)
COMSIG_MOB_BEGIN_FISHINGFrom /datum/fishing_challenge/New: (datum/fishing_challenge/challenge)
COMSIG_MOB_BEGIN_FISHING_MINIGAMEFrom /datum/fishing_challenge/start_minigame_phase: (datum/fishing_challenge/challenge)
COMSIG_MOB_COMPLETE_FISHINGFrom /datum/fishing_challenge/completed: (datum/fishing_challenge/challenge, win)
COMSIG_FISHING_CHALLENGE_ROLL_REWARDRolling a reward path for a fishing challenge
COMSIG_FISHING_CHALLENGE_GET_DIFFICULTYAdjusting the difficulty of a rishing challenge, often based on the reward path
COMSIG_FISHING_CHALLENGE_MOVER_INITIALIZEDFrom /datum/fishing_challenge/start_minigame_phase, called after the fish movement datum is spawned: (datum/fish_movement/mover)
COMSIG_FISH_SOURCE_REWARD_DISPENSEDFishing challenge completed Sent to the fisherman when the reward is dispensed: (reward)
COMSIG_PRE_FISHINGCalled when you try to use fishing rod on anything
COMSIG_NPC_FISHINGCalled when an ai-controlled mob interacts with the fishing spot
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_ITEM_FISHING_ROD_SLOTTEDFrom /obj/item/fishing_rod/set_slot: (obj/item/fishing_rod/rod, slot)
COMSIG_ITEM_FISHING_ROD_UNSLOTTEDFrom /obj/item/fishing_rod/Exited: (obj/item/fishing_rod/rod, slot)
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)
COMSIG_FISH_BEFORE_GROWINGFrom /datum/component/fish_growth/on_fish_life: (seconds_per_tick)
COMSIG_FISH_FINISH_GROWINGFrom /datum/component/fish_growth/finish_growing: (result)

Define Details

COMSIG_AQUARIUM_CAN_INSERT

From /datum/component/aquarium/can_insert: (obj/item/item)

COMSIG_AQUARIUM_CHECK_EVOLUTION_CONDITIONS

From /datum/fish_evolution/check_conditions: (fish, mate, evolution)

COMSIG_AQUARIUM_CONTENT_DO_ANIMATION

Updates the animation of an aquarium content visual:(aquarium, visual)

COMSIG_AQUARIUM_CONTENT_GENERATE_APPEARANCE

Updates the appearance of a newly generated aquarium content visual:(visual)

COMSIG_AQUARIUM_CONTENT_RANDOMIZE_POSITION

Updates the base position of an aquarium content visual:(aquarium, visual)

COMSIG_AQUARIUM_FLUID_CHANGED

From /datum/component/aquarium/ui_act, when changing the fluid of the aquarium: (fluid_type)

COMSIG_AQUARIUM_GET_REPRODUCTION_CANDIDATES

From /obj/item/fish/try_to_reproduce: (fish, candidates)

COMSIG_AQUARIUM_REMOVE_VISUAL

From /datum/component/aquarium_content/remove_from_aquarium: (obj/effect/aquarium/visual)

COMSIG_AQUARIUM_SET_VISUAL

From /datum/component/aquarium_content/set_vc_base_position: (obj/effect/aquarium/visual)

COMSIG_CANNOT_INSERT_IN_AQUARIUM

The item won't be inserted into the aquarium, but will early return attackby anyway.

COMSIG_CAN_INSERT_IN_AQUARIUM

The item will be inserted into the aquarium

COMSIG_FISHING_CHALLENGE_GET_DIFFICULTY

Adjusting the difficulty of a rishing challenge, often based on the reward path

COMSIG_FISHING_CHALLENGE_MOVER_INITIALIZED

From /datum/fishing_challenge/start_minigame_phase, called after the fish movement datum is spawned: (datum/fish_movement/mover)

COMSIG_FISHING_CHALLENGE_ROLL_REWARD

Rolling a reward path for a fishing challenge

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_BEFORE_GROWING

From /datum/component/fish_growth/on_fish_life: (seconds_per_tick)

COMSIG_FISH_EATEN_BY_OTHER_FISH

From /datum/fish_trait/eat_fish: (predator)

COMSIG_FISH_FINISH_GROWING

From /datum/component/fish_growth/finish_growing: (result)

COMSIG_FISH_FORCE_UPDATED

From /obj/item/fish/update_fish_force: (weight_rank, bonus_malus)

COMSIG_FISH_LIFE

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

COMSIG_FISH_RELEASED_INTO

From /obj/item/fish/interact_with_atom_secondary, sent to the target: (fish)

COMSIG_FISH_SOURCE_REWARD_DISPENSED

Fishing challenge completed Sent to the fisherman when the reward is dispensed: (reward)

COMSIG_FISH_UPDATE_SIZE_AND_WEIGHT

From /obj/item/fish/update_size_and_weight: (new_size, new_weight)

COMSIG_GENERATE_REAGENTS_TO_ADD

From /obj/item/fish/generate_reagents_to_add, which returns a holder when the fish is eaten or composted for example: (list/reagents)

COMSIG_ITEM_FISHING_ROD_SLOTTED

From /obj/item/fishing_rod/set_slot: (obj/item/fishing_rod/rod, slot)

COMSIG_ITEM_FISHING_ROD_UNSLOTTED

From /obj/item/fishing_rod/Exited: (obj/item/fishing_rod/rod, slot)

COMSIG_MOB_BEGIN_FISHING

From /datum/fishing_challenge/New: (datum/fishing_challenge/challenge)

COMSIG_MOB_BEGIN_FISHING_MINIGAME

From /datum/fishing_challenge/start_minigame_phase: (datum/fishing_challenge/challenge)

COMSIG_MOB_COMPLETE_FISHING

From /datum/fishing_challenge/completed: (datum/fishing_challenge/challenge, win)

COMSIG_NPC_FISHING

Called when an ai-controlled mob interacts with the fishing spot

COMSIG_PRE_FISHING

Called when you try to use fishing rod on anything

COMSIG_ROD_BEGIN_FISHING

From /datum/fishing_challenge/New: (datum/fishing_challenge/challenge)