From fd51eaf9a7e283dc888fea4286e3f7974bdcfe99 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sat, 1 Jun 2024 18:57:49 -0400 Subject: [PATCH] linter fixes (#6486) tl;dr spacemandmm updated and our codebase no longer lints due to our abuse of `//!` --- code/__DEFINES/dcs/signals/signals_NTNet.dm | 20 ------ .../dcs/signals/signals_adventure.dm | 29 -------- code/__DEFINES/dcs/signals/signals_bot.dm | 14 ---- .../dcs/signals/signals_changeling.dm | 8 --- code/__DEFINES/dcs/signals/signals_circuit.dm | 68 ------------------- .../__DEFINES/dcs/signals/signals_clothing.dm | 9 --- .../dcs/signals/signals_container.dm | 9 --- .../dcs/signals/signals_customizable.dm | 8 --- .../__DEFINES/dcs/signals/signals_cytology.dm | 9 --- code/__DEFINES/dcs/signals/signals_food.dm | 28 -------- code/__DEFINES/dcs/signals/signals_gib.dm | 10 --- .../dcs/signals/signals_greyscale.dm | 7 -- code/__DEFINES/dcs/signals/signals_heretic.dm | 22 ------ .../dcs/signals/signals_hydroponic.dm | 39 ----------- code/__DEFINES/dcs/signals/signals_janitor.dm | 21 ------ code/__DEFINES/dcs/signals/signals_ladder.dm | 9 --- .../dcs/signals/signals_light_eater.dm | 15 ---- code/__DEFINES/dcs/signals/signals_medical.dm | 11 --- code/__DEFINES/dcs/signals/signals_mind.dm | 14 ---- code/__DEFINES/dcs/signals/signals_modsuit.dm | 30 -------- code/__DEFINES/dcs/signals/signals_mood.dm | 12 ---- .../__DEFINES/dcs/signals/signals_moveloop.dm | 17 ----- .../__DEFINES/dcs/signals/signals_movetype.dm | 13 ---- code/__DEFINES/dcs/signals/signals_music.dm | 17 ----- .../dcs/signals/signals_operating_computer.dm | 10 --- .../__DEFINES/dcs/signals/signals_painting.dm | 12 ---- code/__DEFINES/dcs/signals/signals_reagent.dm | 57 ---------------- .../dcs/signals/signals_restaurant.dm | 8 --- .../__DEFINES/dcs/signals/signals_scangate.dm | 14 ---- .../dcs/signals/signals_screentips.dm | 29 -------- .../dcs/signals/signals_spatial_grid.dm | 10 --- code/__DEFINES/dcs/signals/signals_species.dm | 10 --- .../dcs/signals/signals_subsystem.dm | 23 ------- code/__DEFINES/dcs/signals/signals_swab.dm | 10 --- code/__DEFINES/dcs/signals/signals_techweb.dm | 11 --- code/__DEFINES/dcs/signals/signals_traitor.dm | 28 -------- code/__DEFINES/dcs/signals/signals_tram.dm | 11 --- .../dcs/signals/signals_transform.dm | 14 ---- code/__DEFINES/dcs/signals/signals_vehicle.dm | 10 --- code/__DEFINES/dcs/signals/signals_wash.dm | 8 --- .../dcs/signals/signals_xeno_control.dm | 19 ------ code/game/dna/dna2.dm | 10 +-- code/game/machinery/vending/vending.dm | 6 +- code/game/mecha/mecha.dm | 2 +- .../objects/effects/particles/_particles.dm | 10 +-- code/game/sound.dm | 2 +- code/modules/mob/_modifiers/modifiers.dm | 4 +- .../mob/living/carbon/human/examine.dm | 5 +- .../mob/living/carbon/human/human_defines.dm | 18 ++--- code/modules/mob/living/silicon/ai/ai.dm | 2 +- .../modules/mob/living/silicon/robot/robot.dm | 4 +- code/modules/organs/external/external.dm | 26 +++---- code/modules/organs/organ.dm | 12 ++-- code/modules/preferences/_preferences.dm | 28 ++++---- 54 files changed, 64 insertions(+), 788 deletions(-) delete mode 100644 code/__DEFINES/dcs/signals/signals_NTNet.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_adventure.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_bot.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_changeling.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_circuit.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_clothing.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_container.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_customizable.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_cytology.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_food.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_gib.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_greyscale.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_heretic.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_hydroponic.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_janitor.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_ladder.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_light_eater.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_medical.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_mind.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_modsuit.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_mood.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_moveloop.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_movetype.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_music.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_operating_computer.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_painting.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_reagent.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_restaurant.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_scangate.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_screentips.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_spatial_grid.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_species.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_subsystem.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_swab.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_techweb.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_traitor.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_tram.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_transform.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_vehicle.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_wash.dm delete mode 100644 code/__DEFINES/dcs/signals/signals_xeno_control.dm diff --git a/code/__DEFINES/dcs/signals/signals_NTNet.dm b/code/__DEFINES/dcs/signals/signals_NTNet.dm deleted file mode 100644 index 7b258d299b4..00000000000 --- a/code/__DEFINES/dcs/signals/signals_NTNet.dm +++ /dev/null @@ -1,20 +0,0 @@ -/** - *! ## NTNet Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called on an object by its NTNET connection component on receive. (data(datum/netdata)) -////#define COMSIG_COMPONENT_NTNET_RECEIVE "ntnet_receive" -/// Called on an object by its NTNET connection component on a port update (hardware_id, port)) -////#define COMSIG_COMPONENT_NTNET_PORT_UPDATE "ntnet_port_update" -/// Called when packet was accepted by the target (datum/netdata, error_code) -////#define COMSIG_COMPONENT_NTNET_ACK "ntnet_ack" -/// Called when packet was not acknoledged by the target (datum/netdata, error_code) -////#define COMSIG_COMPONENT_NTNET_NAK "ntnet_nack" - -// !Some internal NTnet signals used on ports -/// Called on an object by its NTNET connection component on a port distruction (port, list/data)) -////#define COMSIG_COMPONENT_NTNET_PORT_DESTROYED "ntnet_port_destroyed" -/// Called on an object by its NTNET connection component on a port distruction (port, list/data)) -////#define COMSIG_COMPONENT_NTNET_PORT_UPDATED "ntnet_port_updated" diff --git a/code/__DEFINES/dcs/signals/signals_adventure.dm b/code/__DEFINES/dcs/signals/signals_adventure.dm deleted file mode 100644 index b2350bdbdf7..00000000000 --- a/code/__DEFINES/dcs/signals/signals_adventure.dm +++ /dev/null @@ -1,29 +0,0 @@ -/** - *! ## Adventure Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Exoprobe adventure finished: (result) result is ADVENTURE_RESULT_??? values -////#define COMSIG_ADVENTURE_FINISHED "adventure_done" - -/// Sent on initial adventure qualities generation from /datum/adventure/proc/initialize_qualities(): (list/quality_list) -////#define COMSIG_ADVENTURE_QUALITY_INIT "adventure_quality_init" - -/// Sent on adventure node delay start: (delay_time, delay_message) -////#define COMSIG_ADVENTURE_DELAY_START "adventure_delay_start" -/// Sent on adventure delay finish: () -////#define COMSIG_ADVENTURE_DELAY_END "adventure_delay_end" - -/// Exoprobe status changed : () -////#define COMSIG_EXODRONE_STATUS_CHANGED "exodrone_status_changed" - -//! Scanner Controller Signals -/// Sent on begingging of new scan : (datum/exoscan/new_scan) -////#define COMSIG_EXOSCAN_STARTED "exoscan_started" -/// Sent on successful finish of exoscan: (datum/exoscan/finished_scan) -////#define COMSIG_EXOSCAN_FINISHED "exoscan_finished" - -//! Exosca Signals -/// Sent on exoscan failure/manual interruption: () -////#define COMSIG_EXOSCAN_INTERRUPTED "exoscan_interrupted" diff --git a/code/__DEFINES/dcs/signals/signals_bot.dm b/code/__DEFINES/dcs/signals/signals_bot.dm deleted file mode 100644 index f3c56b5caa0..00000000000 --- a/code/__DEFINES/dcs/signals/signals_bot.dm +++ /dev/null @@ -1,14 +0,0 @@ -/** - *! ## Bot Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called in /obj/structure/moneybot/add_money(). (to_add) -////#define COMSIG_MONEYBOT_ADD_MONEY "moneybot_add_money" - -/// Called in /obj/structure/dispenserbot/add_item(). (obj/item/to_add) -////#define COMSIG_DISPENSERBOT_ADD_ITEM "moneybot_add_item" - -/// Called in /obj/structure/dispenserbot/remove_item(). (obj/item/to_remove) -////#define COMSIG_DISPENSERBOT_REMOVE_ITEM "moneybot_remove_item" diff --git a/code/__DEFINES/dcs/signals/signals_changeling.dm b/code/__DEFINES/dcs/signals/signals_changeling.dm deleted file mode 100644 index 582e53e986d..00000000000 --- a/code/__DEFINES/dcs/signals/signals_changeling.dm +++ /dev/null @@ -1,8 +0,0 @@ -/** - *! ## Changeling Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when a changeling uses its transform ability (source = carbon), from /datum/action/changeling/transform/sting_action(mob/living/carbon/human/user) -////#define COMSIG_CHANGELING_TRANSFORM "changeling_transform" diff --git a/code/__DEFINES/dcs/signals/signals_circuit.dm b/code/__DEFINES/dcs/signals/signals_circuit.dm deleted file mode 100644 index 0f3752d2904..00000000000 --- a/code/__DEFINES/dcs/signals/signals_circuit.dm +++ /dev/null @@ -1,68 +0,0 @@ -/** - *! ## Circuit Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! Component signals -/// Sent when the value of a port is set. -////#define COMSIG_PORT_SET_VALUE "port_set_value" -/// Sent when the type of a port is set. -////#define COMSIG_PORT_SET_TYPE "port_set_type" -/// Sent when a port disconnects from everything. -////#define COMSIG_PORT_DISCONNECT "port_disconnect" - -/// Sent when a [/obj/item/circuit_component] is added to a circuit. -////#define COMSIG_CIRCUIT_ADD_COMPONENT "circuit_add_component" - /// Cancels adding the component to the circuit. - ////#define COMPONENT_CANCEL_ADD_COMPONENT (1<<0) - -/// Sent when a [/obj/item/circuit_component] is added to a circuit manually, by putting the item inside directly. -/// Accepts COMPONENT_CANCEL_ADD_COMPONENT. -////#define COMSIG_CIRCUIT_ADD_COMPONENT_MANUALLY "circuit_add_component_manually" - -/// Sent when a circuit is removed from its shell -////#define COMSIG_CIRCUIT_SHELL_REMOVED "circuit_shell_removed" - -/// Sent to [/obj/item/circuit_component] when it is removed from a circuit. (/obj/item/integrated_circuit) -////#define COMSIG_CIRCUIT_COMPONENT_REMOVED "circuit_component_removed" - -/// Called when the integrated circuit's cell is set. -////#define COMSIG_CIRCUIT_SET_CELL "circuit_set_cell" - -/// Called when the integrated circuit is turned on or off. -////#define COMSIG_CIRCUIT_SET_ON "circuit_set_on" - -/// Called when the integrated circuit's shell is set. -////#define COMSIG_CIRCUIT_SET_SHELL "circuit_set_shell" - -/// Called when the integrated circuit is locked. -////#define COMSIG_CIRCUIT_SET_LOCKED "circuit_set_locked" - -/// Called before power is used in an integrated circuit (power_to_use) -////#define COMSIG_CIRCUIT_PRE_POWER_USAGE "circuit_pre_power_usage" - ////#define COMPONENT_OVERRIDE_POWER_USAGE (1<<0) - -/// Called right before the integrated circuit data is converted to json. Allows modification to the data right before it is returned. -////#define COMSIG_CIRCUIT_PRE_SAVE_TO_JSON "circuit_pre_save_to_json" - -/// Called when the integrated circuit is loaded. -////#define COMSIG_CIRCUIT_POST_LOAD "circuit_post_load" - -/// Sent to an atom when a [/obj/item/usb_cable] attempts to connect to something. (/obj/item/usb_cable/usb_cable, /mob/user) -////#define COMSIG_ATOM_USB_CABLE_TRY_ATTACH "usb_cable_try_attach" - /// Attaches the USB cable to the atom. If the USB cables moves away, it will disconnect. - ////#define COMSIG_USB_CABLE_ATTACHED (1<<0) - - /// Attaches the USB cable to a circuit. Producers of this are expected to set the usb_cable's - /// `attached_circuit` variable. - ////#define COMSIG_USB_CABLE_CONNECTED_TO_CIRCUIT (1<<1) - - /// Cancels the attack chain, but without performing any other action. - ////#define COMSIG_CANCEL_USB_CABLE_ATTACK (1<<2) - -/// Called when the circuit component is saved. -////#define COMSIG_CIRCUIT_COMPONENT_SAVE "circuit_component_save" - -/// Called when an external object is loaded. -////#define COMSIG_MOVABLE_CIRCUIT_LOADED "movable_circuit_loaded" diff --git a/code/__DEFINES/dcs/signals/signals_clothing.dm b/code/__DEFINES/dcs/signals/signals_clothing.dm deleted file mode 100644 index 7452fb837f8..00000000000 --- a/code/__DEFINES/dcs/signals/signals_clothing.dm +++ /dev/null @@ -1,9 +0,0 @@ -/** - *! ## Clothing Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! /obj/item/clothing -/// (/obj/item/clothing, visor_state) - When a clothing gets it's visor toggled. -////#define COMSIG_CLOTHING_VISOR_TOGGLE "clothing_visor_toggle" diff --git a/code/__DEFINES/dcs/signals/signals_container.dm b/code/__DEFINES/dcs/signals/signals_container.dm deleted file mode 100644 index a3f42c4ddd2..00000000000 --- a/code/__DEFINES/dcs/signals/signals_container.dm +++ /dev/null @@ -1,9 +0,0 @@ -/** - *! ## Container Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! /datum/component/container_item -/// (atom/container, mob/user) - returns bool -////#define COMSIG_CONTAINER_TRY_ATTACH "container_try_attach" diff --git a/code/__DEFINES/dcs/signals/signals_customizable.dm b/code/__DEFINES/dcs/signals/signals_customizable.dm deleted file mode 100644 index 13f167104a0..00000000000 --- a/code/__DEFINES/dcs/signals/signals_customizable.dm +++ /dev/null @@ -1,8 +0,0 @@ -/** - *! ## Customizable Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when an atom with /datum/component/customizable_reagent_holder is customized (obj/item/I) -////#define COMSIG_ATOM_CUSTOMIZED "atom_customized" diff --git a/code/__DEFINES/dcs/signals/signals_cytology.dm b/code/__DEFINES/dcs/signals/signals_cytology.dm deleted file mode 100644 index 05b632cc6d0..00000000000 --- a/code/__DEFINES/dcs/signals/signals_cytology.dm +++ /dev/null @@ -1,9 +0,0 @@ -/** - *! ## Cytology Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Sent from /datum/biological_sample/proc/reset_sample -////#define COMSIG_SAMPLE_GROWTH_COMPLETED "sample_growth_completed" - ////#define SPARE_SAMPLE (1<<0) diff --git a/code/__DEFINES/dcs/signals/signals_food.dm b/code/__DEFINES/dcs/signals/signals_food.dm deleted file mode 100644 index 16fffde8777..00000000000 --- a/code/__DEFINES/dcs/signals/signals_food.dm +++ /dev/null @@ -1,28 +0,0 @@ -/** - *! ## Food Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when an item is used as an ingredient: (atom/customized) -////#define COMSIG_ITEM_USED_AS_INGREDIENT "item_used_as_ingredient" -/// Called when an edible ingredient is added: (datum/component/edible/ingredient) -////#define COMSIG_EDIBLE_INGREDIENT_ADDED "edible_ingredient_added" - -//! Food Signals -/// From Edible component: (mob/living/eater, mob/feeder, bitecount, bitesize) -////#define COMSIG_FOOD_EATEN "food_eaten" -/// From base of datum/component/edible/on_entered: (mob/crosser, bitecount) -////#define COMSIG_FOOD_CROSSED "food_crossed" - -/// From base of Component/edible/On_Consume: (mob/living/eater, mob/living/feeder) -////#define COMSIG_FOOD_CONSUMED "food_consumed" - -////#define COMSIG_ITEM_FRIED "item_fried" - ////#define COMSIG_FRYING_HANDLED (1<<0) - -//! Drink Signals -/// From base of obj/item/reagent_containers/food/drinks/attack(): (mob/living/M, mob/user) -////#define COMSIG_DRINK_DRANK "drink_drank" -/// From base of obj/item/reagent_containers/glass/attack(): (mob/M, mob/user) -////#define COMSIG_GLASS_DRANK "glass_drank" diff --git a/code/__DEFINES/dcs/signals/signals_gib.dm b/code/__DEFINES/dcs/signals/signals_gib.dm deleted file mode 100644 index 8e36cc36ffb..00000000000 --- a/code/__DEFINES/dcs/signals/signals_gib.dm +++ /dev/null @@ -1,10 +0,0 @@ -/** - *! ## Gibs Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// From base of /obj/effect/debris/cleanable/blood/gibs/streak(): (list/directions, list/diseases) -////#define COMSIG_GIBS_STREAK "gibs_streak" -/// Called on mobs when they step in blood. (blood_amount, blood_state, list/blood_DNA) -////#define COMSIG_STEP_ON_BLOOD "step_on_blood" diff --git a/code/__DEFINES/dcs/signals/signals_greyscale.dm b/code/__DEFINES/dcs/signals/signals_greyscale.dm deleted file mode 100644 index 5362dd02658..00000000000 --- a/code/__DEFINES/dcs/signals/signals_greyscale.dm +++ /dev/null @@ -1,7 +0,0 @@ -/** - *! ## Greyscale Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -////#define COMSIG_GREYSCALE_CONFIG_REFRESHED "greyscale_config_refreshed" diff --git a/code/__DEFINES/dcs/signals/signals_heretic.dm b/code/__DEFINES/dcs/signals/signals_heretic.dm deleted file mode 100644 index 5ca2d02e53d..00000000000 --- a/code/__DEFINES/dcs/signals/signals_heretic.dm +++ /dev/null @@ -1,22 +0,0 @@ -/** - *! ## Heretic Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// From /obj/item/clothing/mask/madness_mask/process : (amount) -////#define COMSIG_HERETIC_MASK_ACT "void_mask_act" - -/// From /obj/item/melee/touch_attack/mansus_fist/on_mob_hit : (mob/living/source, mob/living/target) -////#define COMSIG_HERETIC_MANSUS_GRASP_ATTACK "mansus_grasp_attack" - ///? Default behavior is to use a charge, so return this to blocks the mansus fist from being consumed after use. - ////#define COMPONENT_BLOCK_CHARGE_USE (1<<0) -/// From /obj/item/melee/touch_attack/mansus_fist/afterattack_secondary : (mob/living/source, atom/target) -////#define COMSIG_HERETIC_MANSUS_GRASP_ATTACK_SECONDARY "mansus_grasp_attack_secondary" - ///? Default behavior is to continue attack chain and do nothing else, so return this to use up a charge after use. - ////#define COMPONENT_USE_CHARGE (1<<0) - -/// From /obj/item/melee/sickly_blade/afterattack (with proximity) : (mob/living/source, mob/living/target) -////#define COMSIG_HERETIC_BLADE_ATTACK "blade_attack" -/// From /obj/item/melee/sickly_blade/afterattack (without proximity) : (mob/living/source, mob/living/target) -////#define COMSIG_HERETIC_RANGED_BLADE_ATTACK "ranged_blade_attack" diff --git a/code/__DEFINES/dcs/signals/signals_hydroponic.dm b/code/__DEFINES/dcs/signals/signals_hydroponic.dm deleted file mode 100644 index 65ed7cc39ae..00000000000 --- a/code/__DEFINES/dcs/signals/signals_hydroponic.dm +++ /dev/null @@ -1,39 +0,0 @@ -/** - *! ## Hydroponics Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! Plants / Plant Traits Signals -/// Called when a plant with slippery skin is slipped on (mob/victim) -////#define COMSIG_PLANT_ON_SLIP "plant_on_slip" -/// Called when a plant with liquid contents is squashed on (atom/target) -////#define COMSIG_PLANT_ON_SQUASH "plant_on_squash" -/// Called when a plant backfires via the backfire element (mob/victim) -////#define COMSIG_PLANT_ON_BACKFIRE "plant_on_backfire" -/// Called when a seed grows in a tray (obj/machinery/hydroponics) -////#define COMSIG_SEED_ON_GROW "plant_on_grow" -/// Called when a seed is planted in a tray (obj/machinery/hydroponics) -////#define COMSIG_SEED_ON_PLANTED "plant_on_plant" - -//! Hydro Tray Signals -/// From base of /obj/machinery/hydroponics/set_seed() : (obj/item/new_seed) -////#define COMSIG_HYDROTRAY_SET_SEED "hydrotray_set_seed" -/// From base of /obj/machinery/hydroponics/set_self_sustaining() : (new_value) -////#define COMSIG_HYDROTRAY_SET_SELFSUSTAINING "hydrotray_set_selfsustaining" -/// From base of /obj/machinery/hydroponics/set_weedlevel() : (new_value) -////#define COMSIG_HYDROTRAY_SET_WEEDLEVEL "hydrotray_set_weedlevel" -/// From base of /obj/machinery/hydroponics/set_pestlevel() : (new_value) -////#define COMSIG_HYDROTRAY_SET_PESTLEVEL "hydrotray_set_pestlevel" -/// From base of /obj/machinery/hydroponics/set_waterlevel() : (new_value) -////#define COMSIG_HYDROTRAY_SET_WATERLEVEL "hydrotray_set_waterlevel" -/// From base of /obj/machinery/hydroponics/set_plant_health() : (new_value) -////#define COMSIG_HYDROTRAY_SET_PLANT_HEALTH "hydrotray_set_plant_health" -/// From base of /obj/machinery/hydroponics/set_toxic() : (new_value) -////#define COMSIG_HYDROTRAY_SET_TOXIC "hydrotray_set_toxic" -/// From base of /obj/machinery/hydroponics/set_plant_status() : (new_value) -////#define COMSIG_HYDROTRAY_SET_PLANT_STATUS "hydrotray_set_plant_status" -/// From base of /obj/machinery/hydroponics/update_tray() : (mob/user, product_count) -////#define COMSIG_HYDROTRAY_ON_HARVEST "hydrotray_on_harvest" -/// From base of /obj/machinery/hydroponics/plantdies() -////#define COMSIG_HYDROTRAY_PLANT_DEATH "hydrotray_plant_death" diff --git a/code/__DEFINES/dcs/signals/signals_janitor.dm b/code/__DEFINES/dcs/signals/signals_janitor.dm deleted file mode 100644 index e624d4abadf..00000000000 --- a/code/__DEFINES/dcs/signals/signals_janitor.dm +++ /dev/null @@ -1,21 +0,0 @@ -/** - *! ## Janitor Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called on an object to "clean it", such as removing blood decals/overlays, etc. The clean types bitfield is sent with it. Return TRUE if any cleaning was necessary and thus performed. -////#define COMSIG_COMPONENT_CLEAN_ACT "clean_act" - ///? Returned by cleanable components when they are cleaned. - ////#define COMPONENT_CLEANED (1<<0) - -//! Vacuum signals -/// Called on a bag being attached to a vacuum parent -////#define COMSIG_VACUUM_BAG_ATTACH "comsig_vacuum_bag_attach" -/// Called on a bag being detached from a vacuum parent -////#define COMSIG_VACUUM_BAG_DETACH "comsig_vacuum_bag_detach" - -///(): Returns bitflags of wet values. -////#define COMSIG_TURF_IS_WET "check_turf_wet" -///(max_strength, immediate, duration_decrease = INFINITY): Returns bool. -////#define COMSIG_TURF_MAKE_DRY "make_turf_try" diff --git a/code/__DEFINES/dcs/signals/signals_ladder.dm b/code/__DEFINES/dcs/signals/signals_ladder.dm deleted file mode 100644 index 2ddf0439c7e..00000000000 --- a/code/__DEFINES/dcs/signals/signals_ladder.dm +++ /dev/null @@ -1,9 +0,0 @@ -/** - *! ## Ladder Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called on a mob attempting to use a ladder to go in either direction. (entrance_ladder, exit_ladder, going_up) -////#define COMSIG_LADDER_TRAVEL "ladder-travel" - ////#define LADDER_TRAVEL_BLOCK (1<<0) diff --git a/code/__DEFINES/dcs/signals/signals_light_eater.dm b/code/__DEFINES/dcs/signals/signals_light_eater.dm deleted file mode 100644 index 7a2fdeae5ff..00000000000 --- a/code/__DEFINES/dcs/signals/signals_light_eater.dm +++ /dev/null @@ -1,15 +0,0 @@ -/** - *! ## Light Eater Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! /datum/element/light_eater -/// From base of [/datum/element/light_eater/proc/table_buffet]: (list/light_queue, datum/light_eater) -////#define COMSIG_LIGHT_EATER_QUEUE "light_eater_queue" -/// From base of [/datum/element/light_eater/proc/devour]: (datum/light_eater) -////#define COMSIG_LIGHT_EATER_ACT "light_eater_act" - ///? Prevents the default light eater behavior from running in case of immunity or custom behavior - ////#define COMPONENT_BLOCK_LIGHT_EATER (1<<0) -/// From base of [/datum/element/light_eater/proc/devour]: (atom/eaten_light) -////#define COMSIG_LIGHT_EATER_DEVOUR "light_eater_devour" diff --git a/code/__DEFINES/dcs/signals/signals_medical.dm b/code/__DEFINES/dcs/signals/signals_medical.dm deleted file mode 100644 index 5c3dd0d2d5f..00000000000 --- a/code/__DEFINES/dcs/signals/signals_medical.dm +++ /dev/null @@ -1,11 +0,0 @@ -/** - *! ## Medical Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// From /datum/surgery/New(): (datum/surgery/surgery, surgery_location (body zone), obj/item/bodypart/targeted_limb) -////#define COMSIG_MOB_SURGERY_STARTED "mob_surgery_started" - -/// From /datum/surgery_step/success(): (datum/surgery_step/step, mob/living/target, target_zone, obj/item/tool, datum/surgery/surgery, default_display_results) -////#define COMSIG_MOB_SURGERY_STEP_SUCCESS "mob_surgery_step_success" diff --git a/code/__DEFINES/dcs/signals/signals_mind.dm b/code/__DEFINES/dcs/signals/signals_mind.dm deleted file mode 100644 index 5f1bfae786f..00000000000 --- a/code/__DEFINES/dcs/signals/signals_mind.dm +++ /dev/null @@ -1,14 +0,0 @@ -/** - *! ## Mind Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// From mind/transfer_to. Sent after the mind has been transferred: (mob/previous_body) -////#define COMSIG_MIND_TRANSFERRED "mind_transferred" - -/// Called on the mind when an antagonist is being gained, after the antagonist list has updated (datum/antagonist/antagonist) -////#define COMSIG_ANTAGONIST_GAINED "antagonist_gained" - -/// Called on the mind when an antagonist is being removed, after the antagonist list has updated (datum/antagonist/antagonist) -////#define COMSIG_ANTAGONIST_REMOVED "antagonist_removed" diff --git a/code/__DEFINES/dcs/signals/signals_modsuit.dm b/code/__DEFINES/dcs/signals/signals_modsuit.dm deleted file mode 100644 index c0bc5050148..00000000000 --- a/code/__DEFINES/dcs/signals/signals_modsuit.dm +++ /dev/null @@ -1,30 +0,0 @@ -/** - *! ## MODsuit Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when a module is selected to be the active one from on_select(obj/item/mod/module/module) -////#define COMSIG_MOD_MODULE_SELECTED "mod_module_selected" -/// Called when a MOD activation is called from toggle_activate(mob/user) -////#define COMSIG_MOD_ACTIVATE "mod_activate" - ///? Cancels the suit's activation - ////#define MOD_CANCEL_ACTIVATE (1 << 0) -/// Called when a MOD is having modules removed from crowbar_act(mob/user, obj/crowbar) -////#define COMSIG_MOD_MODULE_REMOVAL "mod_module_removal" - ///? Cancels the removal of modules - ////#define MOD_CANCEL_REMOVAL (1 << 0) -/// Called when a module attempts to activate, however it does. At the end of checks so you can add some yourself, or work on trigger behavior (mob/user) -////#define COMSIG_MODULE_TRIGGERED "mod_module_triggered" - ///? Cancels activation, with no message. include feedback on your cancel. - ////#define MOD_ABORT_USE (1<<0) -/// Called when a module activates, after all checks have passed and cooldown started. -////#define COMSIG_MODULE_ACTIVATED "mod_module_activated" -/// Called when a module deactivates, after all checks have passed. -////#define COMSIG_MODULE_DEACTIVATED "mod_module_deactivated" -/// Called when a module is used, after all checks have passed and cooldown started. -////#define COMSIG_MODULE_USED "mod_module_used" -/// Called when the MODsuit wearer is set. -////#define COMSIG_MOD_WEARER_SET "mod_wearer_set" -/// Called when the MODsuit wearer is unset. -////#define COMSIG_MOD_WEARER_UNSET "mod_wearer_unset" diff --git a/code/__DEFINES/dcs/signals/signals_mood.dm b/code/__DEFINES/dcs/signals/signals_mood.dm deleted file mode 100644 index c8eb6cb03b3..00000000000 --- a/code/__DEFINES/dcs/signals/signals_mood.dm +++ /dev/null @@ -1,12 +0,0 @@ -/** - *! ## Mood Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when you send a mood event from anywhere in the code. -////#define COMSIG_ADD_MOOD_EVENT "add_mood" -/// Mood event that only RnD members listen for -////#define COMSIG_ADD_MOOD_EVENT_RND "RND_add_mood" -/// Called when you clear a mood event from anywhere in the code. -////#define COMSIG_CLEAR_MOOD_EVENT "clear_mood" diff --git a/code/__DEFINES/dcs/signals/signals_moveloop.dm b/code/__DEFINES/dcs/signals/signals_moveloop.dm deleted file mode 100644 index 13e4c99c715..00000000000 --- a/code/__DEFINES/dcs/signals/signals_moveloop.dm +++ /dev/null @@ -1,17 +0,0 @@ -/** - *! ## Moveloop Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// From [/datum/move_loop/start_loop] (): -////#define COMSIG_MOVELOOP_START "moveloop_start" -/// From [/datum/move_loop/stop_loop] (): -////#define COMSIG_MOVELOOP_STOP "moveloop_stop" -/// From [/datum/move_loop/process] (): -////#define COMSIG_MOVELOOP_PREPROCESS_CHECK "moveloop_preprocess_check" - ////#define MOVELOOP_SKIP_STEP (1<<0) -/// From [/datum/move_loop/process] (succeeded, visual_delay): -////#define COMSIG_MOVELOOP_POSTPROCESS "moveloop_postprocess" -/// From [/datum/move_loop/has_target/jps/recalculate_path] (): -////#define COMSIG_MOVELOOP_JPS_REPATH "moveloop_jps_repath" diff --git a/code/__DEFINES/dcs/signals/signals_movetype.dm b/code/__DEFINES/dcs/signals/signals_movetype.dm deleted file mode 100644 index 4cce601d348..00000000000 --- a/code/__DEFINES/dcs/signals/signals_movetype.dm +++ /dev/null @@ -1,13 +0,0 @@ -/** - *! ## Movetype Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! /datum/element/movetype_handler signals -/// Called when the floating anim has to be temporarily stopped and restarted later: (timer) -////#define COMSIG_PAUSE_FLOATING_ANIM "pause_floating_anim" -/// From base of datum/element/movetype_handler/on_movement_type_trait_gain: (flag, old_movement_type) -////#define COMSIG_MOVETYPE_FLAG_ENABLED "movetype_flag_enabled" -/// From base of datum/element/movetype_handler/on_movement_type_trait_loss: (flag, old_movement_type) -////#define COMSIG_MOVETYPE_FLAG_DISABLED "movetype_flag_disabled" diff --git a/code/__DEFINES/dcs/signals/signals_music.dm b/code/__DEFINES/dcs/signals/signals_music.dm deleted file mode 100644 index ddbfdb6de52..00000000000 --- a/code/__DEFINES/dcs/signals/signals_music.dm +++ /dev/null @@ -1,17 +0,0 @@ -/** - *! ## Music Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! /datum/song Signals -/// Sent to the instrument when a song starts playing -////#define COMSIG_INSTRUMENT_START "instrument_start" -/// Sent to the instrument when a song stops playing -////#define COMSIG_INSTRUMENT_END "instrument_end" -/// Sent to the instrument on /should_stop_playing(): (atom/player). Return values can be found in DEFINES/song.dm -////#define COMSIG_INSTRUMENT_SHOULD_STOP_PLAYING "instrument_should_stop_playing" -/// Sent to the instrument (and player if available) when a song repeats (datum/song) -////#define COMSIG_INSTRUMENT_REPEAT "instrument_repeat" -/// Sent to the instrument when tempo changes, skipped on new. (datum/song) -////#define COMSIG_INSTRUMENT_TEMPO_CHANGE "instrument_tempo_change" diff --git a/code/__DEFINES/dcs/signals/signals_operating_computer.dm b/code/__DEFINES/dcs/signals/signals_operating_computer.dm deleted file mode 100644 index 39d85d39b50..00000000000 --- a/code/__DEFINES/dcs/signals/signals_operating_computer.dm +++ /dev/null @@ -1,10 +0,0 @@ -/** - *! ## Operating Computer Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! /obj/machinery/computer/operating Signals -/// Fired when a dissection surgery completes. -/// (mob/living/target) -////#define COMSIG_OPERATING_COMPUTER_DISSECTION_COMPLETE "operating_computer_dissection_complete" diff --git a/code/__DEFINES/dcs/signals/signals_painting.dm b/code/__DEFINES/dcs/signals/signals_painting.dm deleted file mode 100644 index 6261670366f..00000000000 --- a/code/__DEFINES/dcs/signals/signals_painting.dm +++ /dev/null @@ -1,12 +0,0 @@ -/** - *! ## Painting Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! Signals for painting canvases, tools and the /datum/component/palette component -/// From base of /item/proc/set_painting_tool_color(): (chosen_color) -////#define COMSIG_PAINTING_TOOL_SET_COLOR "painting_tool_set_color" - -/// From base of /item/canvas/ui_data(mob/user, datum/tgui/ui) -////#define COMSIG_PAINTING_TOOL_GET_ADDITIONAL_DATA "painting_tool_get_data" diff --git a/code/__DEFINES/dcs/signals/signals_reagent.dm b/code/__DEFINES/dcs/signals/signals_reagent.dm deleted file mode 100644 index 8283c2ca958..00000000000 --- a/code/__DEFINES/dcs/signals/signals_reagent.dm +++ /dev/null @@ -1,57 +0,0 @@ -/** - *! ## Reagent Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// From base of atom/expose_reagents(): (/list, /datum/reagents, methods, volume_modifier, show_message) -////#define COMSIG_ATOM_EXPOSE_REAGENTS "atom_expose_reagents" - ///? Prevents the atom from being exposed to reagents if returned on [COMSIG_ATOM_EXPOSE_REAGENTS] - ////#define COMPONENT_NO_EXPOSE_REAGENTS (1<<0) -/// From base of [/datum/reagent/proc/expose_atom]: (/datum/reagent, reac_volume) -////#define COMSIG_ATOM_EXPOSE_REAGENT "atom_expose_reagent" -/// From base of [/datum/reagent/proc/expose_atom]: (/atom, reac_volume) -////#define COMSIG_REAGENT_EXPOSE_ATOM "reagent_expose_atom" -/// From base of [/datum/reagent/proc/expose_atom]: (/obj, reac_volume) -////#define COMSIG_REAGENT_EXPOSE_OBJ "reagent_expose_obj" -/// From base of [/datum/reagent/proc/expose_atom]: (/mob/living, reac_volume, methods, show_message, touch_protection, /mob/camera/blob) // ovemind arg is only used by blob reagents. -////#define COMSIG_REAGENT_EXPOSE_MOB "reagent_expose_mob" -/// From base of [/datum/reagent/proc/expose_atom]: (/turf, reac_volume) -////#define COMSIG_REAGENT_EXPOSE_TURF "reagent_expose_turf" - -/// From base of [/datum/controller/subsystem/materials/proc/InitializeMaterial]: (/datum/material) -////#define COMSIG_MATERIALS_INIT_MAT "SSmaterials_init_mat" - -/// From base of [/datum/component/multiple_lives/proc/respawn]: (mob/respawned_mob, gibbed, lives_left) -////#define COMSIG_ON_MULTIPLE_LIVES_RESPAWN "on_multiple_lives_respawn" - -/// From base of [/datum/reagents/proc/add_reagent] - Sent before the reagent is added: (reagenttype, amount, reagtemp, data, no_react) -////#define COMSIG_REAGENTS_PRE_ADD_REAGENT "reagents_pre_add_reagent" - ///? Prevents the reagent from being added. - ////#define COMPONENT_CANCEL_REAGENT_ADD (1<<0) -/// From base of [/datum/reagents/proc/add_reagent]: (/datum/reagent, amount, reagtemp, data, no_react) -////#define COMSIG_REAGENTS_NEW_REAGENT "reagents_new_reagent" -/// From base of [/datum/reagents/proc/add_reagent]: (/datum/reagent, amount, reagtemp, data, no_react) -////#define COMSIG_REAGENTS_ADD_REAGENT "reagents_add_reagent" -/// From base of [/datum/reagents/proc/del_reagent]: (/datum/reagent) -////#define COMSIG_REAGENTS_DEL_REAGENT "reagents_del_reagent" -/// From base of [/datum/reagents/proc/remove_reagent]: (/datum/reagent, amount) -////#define COMSIG_REAGENTS_REM_REAGENT "reagents_rem_reagent" -/// From base of [/datum/reagents/proc/clear_reagents]: () -////#define COMSIG_REAGENTS_CLEAR_REAGENTS "reagents_clear_reagents" -/// From base of [/datum/reagents/proc/set_temperature]: (new_temp, old_temp) -////#define COMSIG_REAGENTS_TEMP_CHANGE "reagents_temp_change" -/// From base of [/datum/reagents/proc/handle_reactions]: (num_reactions) -////#define COMSIG_REAGENTS_REACTED "reagents_reacted" -/// From base of [/datum/reagents/proc/process]: (num_reactions) -////#define COMSIG_REAGENTS_REACTION_STEP "reagents_time_step" -/// From base of [/atom/proc/expose_reagents]: (/atom, /list, methods, volume_modifier, show_message) -////#define COMSIG_REAGENTS_EXPOSE_ATOM "reagents_expose_atom" -/// From base of [/obj/proc/expose_reagents]: (/obj, /list, methods, volume_modifier, show_message) -////#define COMSIG_REAGENTS_EXPOSE_OBJ "reagents_expose_obj" -/// From base of [/mob/living/proc/expose_reagents]: (/mob/living, /list, methods, volume_modifier, show_message, touch_protection) -////#define COMSIG_REAGENTS_EXPOSE_MOB "reagents_expose_mob" -/// From base of [/turf/proc/expose_reagents]: (/turf, /list, methods, volume_modifier, show_message) -////#define COMSIG_REAGENTS_EXPOSE_TURF "reagents_expose_turf" -/// From base of [/datum/component/personal_crafting/proc/del_reqs]: () -////#define COMSIG_REAGENTS_CRAFTING_PING "reagents_crafting_ping" diff --git a/code/__DEFINES/dcs/signals/signals_restaurant.dm b/code/__DEFINES/dcs/signals/signals_restaurant.dm deleted file mode 100644 index 7b63146f03b..00000000000 --- a/code/__DEFINES/dcs/signals/signals_restaurant.dm +++ /dev/null @@ -1,8 +0,0 @@ -/** - *! ## Restaurant Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// (customer, container) venue signal sent when a venue sells an item. source is the thing sold, which can be a datum, so we send container for location checks -////#define COMSIG_ITEM_SOLD_TO_CUSTOMER "item_sold_to_customer" diff --git a/code/__DEFINES/dcs/signals/signals_scangate.dm b/code/__DEFINES/dcs/signals/signals_scangate.dm deleted file mode 100644 index 4db86399959..00000000000 --- a/code/__DEFINES/dcs/signals/signals_scangate.dm +++ /dev/null @@ -1,14 +0,0 @@ -/** - *! ## Scangate Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when somebody passes through a scanner gate and it triggers -////#define COMSIG_SCANGATE_PASS_TRIGGER "scangate_pass_trigger" - -/// Called when somebody passes through a scanner gate and it does not trigger -////#define COMSIG_SCANGATE_PASS_NO_TRIGGER "scangate_pass_no_trigger" - -/// Called when something passes through a scanner gate shell -////#define COMSIG_SCANGATE_SHELL_PASS "scangate_shell_pass" diff --git a/code/__DEFINES/dcs/signals/signals_screentips.dm b/code/__DEFINES/dcs/signals/signals_screentips.dm deleted file mode 100644 index f0a3ac01a39..00000000000 --- a/code/__DEFINES/dcs/signals/signals_screentips.dm +++ /dev/null @@ -1,29 +0,0 @@ -/** - *! ## Screentip Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// A "Type-A" contextual screentip interaction. -/// These are used for items that are defined by their behavior. They define their contextual text within *themselves*, -/// not in their targets. -/// Examples include syringes (LMB to inject, RMB to draw) and health analyzers (LMB to scan health/wounds, RMB for chems) -/// Items can override `add_item_context()`, and call `register_item_context()` in order to easily connect to this. -/// Called on /obj/item with a mutable screentip context list, the hovered target, and the mob hovering. -/// A screentip context list is a list that has context keys (SCREENTIP_CONTEXT_*, from __DEFINES/screentips.dm) -/// that map to the action as text. -/// If you mutate the list in this signal, you must return CONTEXTUAL_SCREENTIP_SET. -////#define COMSIG_ITEM_REQUESTING_CONTEXT_FOR_TARGET "item_requesting_context_for_target" - -/// A "Type-B" contextual screentip interaction. -/// These are atoms that are defined by what happens *to* them. These should define contextual text within themselves, and -/// not in their operating tools. -/// Examples include construction objects (LMB with glass to put in screen for computers). -/// Called on /atom with a mutable screentip context list, the item being used, and the mob hovering. -/// A screentip context list is a list that has context keys (SCREENTIP_CONTEXT_*, from __DEFINES/screentips.dm) -/// that map to the action as text. -/// If you mutate the list in this signal, you must return CONTEXTUAL_SCREENTIP_SET. -////#define COMSIG_ATOM_REQUESTING_CONTEXT_FROM_ITEM "atom_requesting_context_from_item" - -/// Tells the contextual screentips system that the list context was mutated. -////#define CONTEXTUAL_SCREENTIP_SET (1 << 0) diff --git a/code/__DEFINES/dcs/signals/signals_spatial_grid.dm b/code/__DEFINES/dcs/signals/signals_spatial_grid.dm deleted file mode 100644 index 6a1e8d05b2e..00000000000 --- a/code/__DEFINES/dcs/signals/signals_spatial_grid.dm +++ /dev/null @@ -1,10 +0,0 @@ -/** - *! ## Spatial Grid Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called from base of /datum/controller/subsystem/spatial_grid/proc/enter_cell: (/atom/movable) -////#define SPATIAL_GRID_CELL_ENTERED(contents_type) "spatial_grid_cell_entered_[contents_type]" -/// Called from base of /datum/controller/subsystem/spatial_grid/proc/exit_cell: (/atom/movable) -////#define SPATIAL_GRID_CELL_EXITED(contents_type) "spatial_grid_cell_exited_[contents_type]" diff --git a/code/__DEFINES/dcs/signals/signals_species.dm b/code/__DEFINES/dcs/signals/signals_species.dm deleted file mode 100644 index 96e63bb7f2b..00000000000 --- a/code/__DEFINES/dcs/signals/signals_species.dm +++ /dev/null @@ -1,10 +0,0 @@ -/** - *! ## /datum/species Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// From datum/species/on_species_gain(): (datum/species/new_species, datum/species/old_species) -////#define COMSIG_SPECIES_GAIN "species_gain" -/// From datum/species/on_species_loss(): (datum/species/lost_species) -////#define COMSIG_SPECIES_LOSS "species_loss" diff --git a/code/__DEFINES/dcs/signals/signals_subsystem.dm b/code/__DEFINES/dcs/signals/signals_subsystem.dm deleted file mode 100644 index 4f59bb7730e..00000000000 --- a/code/__DEFINES/dcs/signals/signals_subsystem.dm +++ /dev/null @@ -1,23 +0,0 @@ -/** - *! ## Subsystem Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! Subsystem signals -/// From base of datum/controller/subsystem/Initialize: (start_timeofday) -////#define COMSIG_SUBSYSTEM_POST_INITIALIZE "subsystem_post_initialize" -/// Called when the ticker enters the pre-game phase -////#define COMSIG_TICKER_ENTER_PREGAME "comsig_ticker_enter_pregame" -/// Called when the ticker sets up the game for start -////#define COMSIG_TICKER_ENTER_SETTING_UP "comsig_ticker_enter_setting_up" -/// Called when the ticker fails to set up the game for start -////#define COMSIG_TICKER_ERROR_SETTING_UP "comsig_ticker_error_setting_up" -/// Called when the round has started, but before GAME_STATE_PLAYING -////#define COMSIG_TICKER_ROUND_STARTING "comsig_ticker_round_starting" - -//! Point of interest signals -/// Sent from base of /datum/controller/subsystem/points_of_interest/proc/on_poi_element_added : (atom/new_poi) -////#define COMSIG_ADDED_POINT_OF_INTEREST "added_point_of_interest" -/// Sent from base of /datum/controller/subsystem/points_of_interest/proc/on_poi_element_removed : (atom/old_poi) -////#define COMSIG_REMOVED_POINT_OF_INTEREST "removed_point_of_interest" diff --git a/code/__DEFINES/dcs/signals/signals_swab.dm b/code/__DEFINES/dcs/signals/signals_swab.dm deleted file mode 100644 index 1d9376b2944..00000000000 --- a/code/__DEFINES/dcs/signals/signals_swab.dm +++ /dev/null @@ -1,10 +0,0 @@ -/** - *! ## Swab Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! /datum/component/swabbing signals -/// Called when you try to swab something using the swabable component, includes a mutable list of what has been swabbed so far so it can be modified. -////#define COMSIG_SWAB_FOR_SAMPLES "swab_for_samples" - ////#define COMPONENT_SWAB_FOUND (1<<0) diff --git a/code/__DEFINES/dcs/signals/signals_techweb.dm b/code/__DEFINES/dcs/signals/signals_techweb.dm deleted file mode 100644 index be78012e170..00000000000 --- a/code/__DEFINES/dcs/signals/signals_techweb.dm +++ /dev/null @@ -1,11 +0,0 @@ -/** - *! ## Techweb Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when a techweb design is researched (datum/design/researched_design, custom) -////#define COMSIG_TECHWEB_ADD_DESIGN "techweb_add_design" - -/// Called when a techweb design is removed (datum/design/removed_design, custom) -////#define COMSIG_TECHWEB_REMOVE_DESIGN "techweb_remove_design" diff --git a/code/__DEFINES/dcs/signals/signals_traitor.dm b/code/__DEFINES/dcs/signals/signals_traitor.dm deleted file mode 100644 index 16a8f964859..00000000000 --- a/code/__DEFINES/dcs/signals/signals_traitor.dm +++ /dev/null @@ -1,28 +0,0 @@ -/** - *! ## Traitor Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when the hack_comm_console objective is completed. -////#define COMSIG_GLOB_TRAITOR_OBJECTIVE_COMPLETED "!traitor_objective_completed" - -/// Called whenever the uplink handler receives any sort of update. Used by uplinks to update their UI. No arguments passed -////#define COMSIG_UPLINK_HANDLER_ON_UPDATE "uplink_handler_on_update" - -/// Called before the traitor objective is generated -////#define COMSIG_TRAITOR_OBJECTIVE_PRE_GENERATE "traitor_objective_pre_generate" - ////#define COMPONENT_TRAITOR_OBJECTIVE_ABORT_GENERATION (1<<0) -/// Called whenever the traitor objective is completed -////#define COMSIG_TRAITOR_OBJECTIVE_COMPLETED "traitor_objective_completed" -/// Called whenever the traitor objective is failed -////#define COMSIG_TRAITOR_OBJECTIVE_FAILED "traitor_objective_failed" - -/// Called when a traitor bug is planted in an area -////#define COMSIG_TRAITOR_BUG_PLANTED_GROUND "traitor_bug_planted_area" -/// Called when a traitor bug is planted -////#define COMSIG_TRAITOR_BUG_PLANTED_OBJECT "traitor_bug_planted_object" -/// Called before a traitor bug is planted, where it can still be overrided -////#define COMSIG_TRAITOR_BUG_PRE_PLANTED_OBJECT "traitor_bug_planted_pre_object" - ////#define COMPONENT_FORCE_PLACEMENT (1<<0) - ////#define COMPONENT_FORCE_FAIL_PLACEMENT (1<<1) diff --git a/code/__DEFINES/dcs/signals/signals_tram.dm b/code/__DEFINES/dcs/signals/signals_tram.dm deleted file mode 100644 index 2448b97fbf8..00000000000 --- a/code/__DEFINES/dcs/signals/signals_tram.dm +++ /dev/null @@ -1,11 +0,0 @@ -/** - *! ## Tram Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Sent from /obj/structure/industrial_lift/tram when its travelling status updates. (travelling) -////#define COMSIG_TRAM_SET_TRAVELLING "tram_set_travelling" - -/// Sent from /obj/structure/industrial_lift/tram when it begins to travel. (obj/landmark/tram/from_where, obj/landmark/tram/to_where) -////#define COMSIG_TRAM_TRAVEL "tram_travel" diff --git a/code/__DEFINES/dcs/signals/signals_transform.dm b/code/__DEFINES/dcs/signals/signals_transform.dm deleted file mode 100644 index 70e9a50b7f7..00000000000 --- a/code/__DEFINES/dcs/signals/signals_transform.dm +++ /dev/null @@ -1,14 +0,0 @@ -/** - *! ## Transform Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// From /datum/component/transforming/proc/on_attack_self(obj/item/source, mob/user): (obj/item/source, mob/user, active) -////#define COMSIG_TRANSFORMING_PRE_TRANSFORM "transforming_pre_transform" - ///? Return COMPONENT_BLOCK_TRANSFORM to prevent the item from transforming. - ////#define COMPONENT_BLOCK_TRANSFORM (1<<0) -/// From /datum/component/transforming/proc/do_transform(obj/item/source, mob/user): (obj/item/source, mob/user, active) -////#define COMSIG_TRANSFORMING_ON_TRANSFORM "transforming_on_transform" - ///? Return COMPONENT_NO_DEFAULT_MESSAGE to prevent the transforming component from displaying the default transform message / sound. - ////#define COMPONENT_NO_DEFAULT_MESSAGE (1<<0) diff --git a/code/__DEFINES/dcs/signals/signals_vehicle.dm b/code/__DEFINES/dcs/signals/signals_vehicle.dm deleted file mode 100644 index eec3f538ce1..00000000000 --- a/code/__DEFINES/dcs/signals/signals_vehicle.dm +++ /dev/null @@ -1,10 +0,0 @@ -/** - *! ## Vehicle Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called on a mob when they start riding a vehicle (obj/vehicle) -////#define COMSIG_VEHICLE_RIDDEN "vehicle-ridden" - ///? Return this to signal that the mob should be removed from the vehicle - ////#define EJECT_FROM_VEHICLE (1<<0) diff --git a/code/__DEFINES/dcs/signals/signals_wash.dm b/code/__DEFINES/dcs/signals/signals_wash.dm deleted file mode 100644 index 68127bafba2..00000000000 --- a/code/__DEFINES/dcs/signals/signals_wash.dm +++ /dev/null @@ -1,8 +0,0 @@ -/** - *! ## Washing Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -/// Called when you wash your face at a sink: (num/strength) -////#define COMSIG_COMPONENT_CLEAN_FACE_ACT "clean_face_act" diff --git a/code/__DEFINES/dcs/signals/signals_xeno_control.dm b/code/__DEFINES/dcs/signals/signals_xeno_control.dm deleted file mode 100644 index 6eaeba74a80..00000000000 --- a/code/__DEFINES/dcs/signals/signals_xeno_control.dm +++ /dev/null @@ -1,19 +0,0 @@ -/** - *! ## Xenobiology Signals. Format: - * * When the signal is called: (signal arguments) - * * All signals send the source datum of the signal as the first argument - */ - -//! Xenobio Hotkeys -/// From slime CtrlClickOn(): (/mob) -////#define COMSIG_XENO_SLIME_CLICK_CTRL "xeno_slime_click_ctrl" -/// From slime AltClickOn(): (/mob) -////#define COMSIG_XENO_SLIME_CLICK_ALT "xeno_slime_click_alt" -/// From slime ShiftClickOn(): (/mob) -////#define COMSIG_XENO_SLIME_CLICK_SHIFT "xeno_slime_click_shift" -/// From turf ShiftClickOn(): (/mob) -////#define COMSIG_XENO_TURF_CLICK_SHIFT "xeno_turf_click_shift" -/// From turf AltClickOn(): (/mob) -////#define COMSIG_XENO_TURF_CLICK_CTRL "xeno_turf_click_alt" -/// From monkey CtrlClickOn(): (/mob) -////#define COMSIG_XENO_MONKEY_CLICK_CTRL "xeno_monkey_click_ctrl" diff --git a/code/game/dna/dna2.dm b/code/game/dna/dna2.dm index a141b25c5ea..72c3d1f508f 100644 --- a/code/game/dna/dna2.dm +++ b/code/game/dna/dna2.dm @@ -93,8 +93,8 @@ var/global/list/datum/gene/dna_genes[0] #define GENE_ALWAYS_ACTIVATE 1 /datum/dna -//! READ-ONLY, GETS OVERWRITTEN -//! DO NOT FUCK WITH THESE OR BYOND WILL EAT YOUR FACE + // READ-ONLY, GETS OVERWRITTEN + // DO NOT FUCK WITH THESE OR BYOND WILL EAT YOUR FACE /// Encoded UI. var/uni_identity = "" @@ -107,8 +107,8 @@ var/global/list/datum/gene/dna_genes[0] var/dirtyUI = 0 var/dirtySE = 0 -//! Okay to read, but you're an idiot if you do. -//! BLOCK = VALUE + // Okay to read, but you're an idiot if you do. + // BLOCK = VALUE var/list/SE[DNA_SE_LENGTH] var/list/UI[DNA_UI_LENGTH] @@ -298,7 +298,7 @@ var/global/list/datum/gene/dna_genes[0] SetUIValueRange(DNA_UI_BEARD_STYLE, beard, GLOB.legacy_facial_hair_lookup.len,1) body_markings.Cut() - + for(var/obj/item/organ/external/E in character.organs) E.s_base = s_base if(E.markings.len) diff --git a/code/game/machinery/vending/vending.dm b/code/game/machinery/vending/vending.dm index f7506da156b..a47f2cf8da6 100644 --- a/code/game/machinery/vending/vending.dm +++ b/code/game/machinery/vending/vending.dm @@ -11,18 +11,18 @@ // todo: temporary, as this is unbuildable integrity_flags = INTEGRITY_INDESTRUCTIBLE -//! ## Icons + //* Icons *// /// Icon_state when vending. var/icon_vend /// Icon_state when denying access. var/icon_deny -//! ## Power + //* Power *// use_power = USE_POWER_IDLE idle_power_usage = 10 var/vend_power_usage = 150 //actuators and stuff -//! ## Vending-related + //* Vending *// /// No sales pitches if off! var/active = TRUE /// Are we ready to vend?? Is it time?? diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index 0b274a4ae47..4706b69b485 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -171,7 +171,7 @@ var/static/image/radial_image_lighttoggle = image(icon = 'icons/mob/radial.dmi', icon_state = "radial_light") var/static/image/radial_image_statpanel = image(icon = 'icons/mob/radial.dmi', icon_state = "radial_examine2") -//! Mech actions + //* Legacy - Actions *// var/datum/mini_hud/mech/minihud /// re we strafing or not? var/strafing = 0 diff --git a/code/game/objects/effects/particles/_particles.dm b/code/game/objects/effects/particles/_particles.dm index 3f63047e3c8..fff2fa9a9c9 100644 --- a/code/game/objects/effects/particles/_particles.dm +++ b/code/game/objects/effects/particles/_particles.dm @@ -18,7 +18,7 @@ * After the datum is created, it can be assigned to an obj or mob using their particles var. The particles will appear on the map wherever that obj or mob appears. */ /particles -//! ## Particle vars that affect the entire set (generators are not allowed for these) + //* Particle vars that affect the entire set (generators are not allowed for these) *// /** * Width size of the particle image in pixels. @@ -74,7 +74,7 @@ */ transform = null -//! ## Vars that apply when a particle spawns + //* Vars that apply when a particle spawns *// /** * Maximum life of the particle, in ticks. @@ -94,8 +94,8 @@ */ fadein = 0 -//? The icon and icon_state values are special in that they can't be assigned a generator, but they -//? can be assigned a constant icon or string, respectively, or a list of possible values to choose from. + //? The icon and icon_state values are special in that they can't be assigned a generator, but they + //? can be assigned a constant icon or string, respectively, or a list of possible values to choose from. /** * Icon to use, if any; no icon means this particle will be a dot. @@ -165,7 +165,7 @@ */ friction = null -//! ## Vars that are evalulated every tick. + //* Vars that are evalulated every tick. *// /** * Added acceleration every tick; e.g. a circle or sphere generator can be applied to produce snow or ember effects. diff --git a/code/game/sound.dm b/code/game/sound.dm index f05434c775d..e4c78834f89 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -249,7 +249,7 @@ GLOBAL_VAR_INIT(sound_distance_offscreen, 7) soundin = pick('sound/weapons/hf_machete/hfmachete_throw_hit01.ogg', 'sound/weapons/hf_machete/hfmachete_throw_hit02.ogg', 'sound/weapons/hf_machete/hfmachete_throw_hit03.ogg') -//! ## VORE SOUNDS + // VORE SOUNDS if ("hunger_sounds") soundin = pick('sound/vore/growl1.ogg','sound/vore/growl2.ogg','sound/vore/growl3.ogg','sound/vore/growl4.ogg','sound/vore/growl5.ogg') if("classic_digestion_sounds") soundin = pick( diff --git a/code/modules/mob/_modifiers/modifiers.dm b/code/modules/mob/_modifiers/modifiers.dm index f7f3db4dc91..5a6ff0d75b8 100644 --- a/code/modules/mob/_modifiers/modifiers.dm +++ b/code/modules/mob/_modifiers/modifiers.dm @@ -40,8 +40,8 @@ /// If set, the client will have wires replaced by the given replacement list. For colorblindness. var/wire_colors_replace = null -//! Now for all the different effects. -//! Percentage modifiers are expressed as a multipler. (e.g. +25% damage should be written as 1.25) + //* Now for all the different effects. + //* Percentage modifiers are expressed as a multipler. (e.g. +25% damage should be written as 1.25) /// Adjusts max health by a flat (e.g. +20) amount. Note this is added to base health. var/max_health_flat diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index f8976ba73c6..906f80f456a 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -290,8 +290,7 @@ if(suiciding) . += SPAN_WARNING("[T.He] appears to have commited suicide... There is no hope of recovery.") - -//! I hate this. Though it's better than what it was before. -Zandario + //* I hate this. Though it's better than what it was before. -Zandario var/message = FALSE var/weight_examine = round(weight) if(show_pudge()) //Some clothing or equipment can hide this. @@ -323,7 +322,7 @@ else message = SPAN_DANGER("[T.He] [T.is] so morbidly obese, you wonder how [T.he] can even stand, let alone waddle around the station.") . += message -//! End of the bs + //* End of the bs if(attempt_vr(src,"examine_bellies",args)) . += attempt_vr(src,"examine_bellies",args) diff --git a/code/modules/mob/living/carbon/human/human_defines.dm b/code/modules/mob/living/carbon/human/human_defines.dm index be4e4bd2749..b87a9859e57 100644 --- a/code/modules/mob/living/carbon/human/human_defines.dm +++ b/code/modules/mob/living/carbon/human/human_defines.dm @@ -51,39 +51,39 @@ /// current head overlay pixel y offset var/head_spriteacc_offset = 0 -//! ## Hair colour and style + //* Hair colour and style var/h_style = "Bald" var/r_hair = 0 var/g_hair = 0 var/b_hair = 0 -//! ## Hair gradients + //* Hair gradients var/grad_style = "None" var/r_grad = 0 var/g_grad = 0 var/b_grad = 0 -//! ## Facial hair colour and style + //* Facial hair colour and style var/f_style = "Shaved" var/r_facial = 0 var/g_facial = 0 var/b_facial = 0 -//! ## Eye colour + //* Eye colour var/r_eyes = 0 var/g_eyes = 0 var/b_eyes = 0 /// Skin tone var/s_tone = 0 -//! ## Skin colour + //* Skin colour /// Skin flag var/skin_state = SKIN_NORMAL var/r_skin = 238 // TODO: Set defaults for other races. var/g_skin = 206 var/b_skin = 179 -//! ## ears, horns, tails, wings and custom species. + //* ears, horns, tails, wings and custom species. var/datum/sprite_accessory/ears/ear_style = null var/r_ears = 30 var/g_ears = 30 @@ -151,7 +151,7 @@ var/custom_species -//! ## Synth colors + //* Synth colors /// Lets normally uncolorable synth parts be colorable. var/synth_color = 0 // Used with synth_color to color synth parts that normaly can't be colored. @@ -187,7 +187,7 @@ /// Which PDA type the player has chosen. var/pdachoice = 1 -//! ## General information + //* General information var/home_system = "" var/citizenship = "" var/personal_faction = "" @@ -195,7 +195,7 @@ var/antag_faction = "" var/antag_vis = "" -//! ## Equipment slots + //* Equipment slots var/obj/item/wear_suit = null var/obj/item/w_uniform = null var/obj/item/shoes = null diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm index fa5eb18cd5c..03cde217807 100644 --- a/code/modules/mob/living/silicon/ai/ai.dm +++ b/code/modules/mob/living/silicon/ai/ai.dm @@ -85,7 +85,7 @@ var/list/ai_verbs_default = list( /// Used to prevent dummy AIs from spawning with communicators. var/is_dummy = FALSE -//! ## MALF VARIABLES + //* MALF VARIABLES /// Master var that determines if AI is malfunctioning. var/malfunctioning = FALSE /// Installed piece of hardware. diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm index c4fa5a3c057..7991a9fba01 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -75,7 +75,7 @@ var/integrated_light_power = 4.5 var/datum/wires/robot/wires -//! ## Icon stuff + //* Icon stuff /// Persistent icontype tracking allows for cleaner icon updates var/icontype /// Used to store the associations between sprite names and sprite index. @@ -85,7 +85,7 @@ /// Remaining attempts to select icon before a selection is forced. var/icon_selection_tries = 0 -//! ## Hud stuff + //* Hud stuff var/atom/movable/screen/cells = null var/atom/movable/screen/inv1 = null diff --git a/code/modules/organs/external/external.dm b/code/modules/organs/external/external.dm index 5650abb02ce..4b7282d15d9 100644 --- a/code/modules/organs/external/external.dm +++ b/code/modules/organs/external/external.dm @@ -27,14 +27,14 @@ /// Number of wounds we have - some wounds like bruises will collate into one datum representing all of them. var/wound_tally -//! ## STRINGS + //* ## STRINGS /// Fracture description if any. var/broken_description /// Modifier used for generating the on-mob damage overlay for this limb. var/damage_state = "00" -//! ## DAMAGE VARS + //* ## DAMAGE VARS /// Multiplier for incoming brute damage. var/brute_mod = 1 /// As above for burn. @@ -59,7 +59,7 @@ var/base_miss_chance = 20 -//! ## APPEARANCE VARS + //* ## APPEARANCE VARS /// Snowflake warning, reee. Used for slime limbs. var/nonsolid /// Also for slimes. Used for transparent limbs. @@ -92,7 +92,7 @@ /// Markings (body_markings) to apply to the icon var/list/markings = list() -//! ## STRUCTURAL VARS + //* ## STRUCTURAL VARS /// Master-limb. var/obj/item/organ/external/parent /// Sub-limbs. @@ -105,7 +105,7 @@ var/organ_rel_size = 25 var/atom/movable/splinted -//! ## JOINT/STATE VARS + //* ## JOINT/STATE VARS /// It would be more appropriate if these two were named "affects_grasp" and "affects_stand" at this point var/can_grasp /// Modifies stance tally/ability to stand. @@ -128,7 +128,7 @@ var/encased -//! ## SURGERY VARS + //* ## SURGERY VARS var/open = FALSE var/stage = FALSE var/cavity = FALSE @@ -382,7 +382,7 @@ if(weapon_descriptor) add_autopsy_data(weapon_descriptor, brute + burn) - //! LEGACY BELOW + //* LEGACY BELOW var/can_cut = (sharp) && (robotic < ORGAN_ROBOT) @@ -446,8 +446,8 @@ // and the brute damage dealt exceeds the tearoff threshold, the organ is torn off. //Check edge eligibility - //! edge eligibility disabled; organs should optimally not reqiure the item reference and should instead - //! get descriptors (damage, damage mode, etc) of the inbound attack. + //* edge eligibility disabled; organs should optimally not reqiure the item reference and should instead + //* get descriptors (damage, damage mode, etc) of the inbound attack. var/edge_eligible = edge // var/edge_eligible = 0 // if(edge) @@ -470,7 +470,7 @@ droplimb(0, DROPLIMB_BLUNT) else if(brute >= max_damage / DROPLIMB_THRESHOLD_TEAROFF && prob(brute*0.33)) droplimb(0, DROPLIMB_EDGE) - //! damage spreading disabled; the attacking weapon should handle this if necessary. + //* damage spreading disabled; the attacking weapon should handle this if necessary. // else if(spread_dam && owner && parent && (brute_overflow || burn_overflow) && (brute_overflow >= 5 || burn_overflow >= 5) && !permutation) //No infinite damage loops. // var/brute_third = brute_overflow * 0.33 // var/burn_third = burn_overflow * 0.33 @@ -483,7 +483,7 @@ // C.take_damage(brute_on_children, burn_on_children, 0, 0, null, forbidden_limbs, 1) //Splits the damage to each individual 'child', incase multiple exist. // parent.take_damage(brute_third, burn_third, 0, 0, null, forbidden_limbs, 1) - //! LEGACY ABOVE + //* LEGACY ABOVE if(!defer_host_updates) owner?.update_health() @@ -1166,7 +1166,7 @@ Note that amputating the affected organ does in fact remove the infection from t return 0 /obj/item/organ/external/robotize(var/company, var/skip_prosthetics = 0, var/keep_organs = 0, force) - //! SHITCODE ALERT: REFACTOR ORGANS ASAP; FORCE IS JUST SO PREFS WORK. + //* SHITCODE ALERT: REFACTOR ORGANS ASAP; FORCE IS JUST SO PREFS WORK. if(robotic >= ORGAN_ROBOT && !force) return @@ -1220,7 +1220,7 @@ Note that amputating the affected organ does in fact remove the infection from t owner.refresh_modular_limb_verbs() return 1 -//! ## VIRGO HOOK, TODO: Integrate this. + //* ## VIRGO HOOK, TODO: Integrate this. //Sideways override for nanoform limbs (ugh) /obj/item/organ/external/robotize(var/company, var/skip_prosthetics = FALSE, var/keep_organs = FALSE, force) var/original_robotic = robotic diff --git a/code/modules/organs/organ.dm b/code/modules/organs/organ.dm index 07dcf906ae5..dc8e7c6d4f1 100644 --- a/code/modules/organs/organ.dm +++ b/code/modules/organs/organ.dm @@ -5,14 +5,14 @@ drop_sound = 'sound/items/drop/flesh.ogg' pickup_sound = 'sound/items/pickup/flesh.ogg' -//! ## STRINGS VARS + //* ## STRINGS VARS /// Unique identifier. var/organ_tag = "organ" /// The organ holding this object. var/parent_organ = BP_TORSO -//! STATUS VARS + //* STATUS VARS /// Various status flags var/status = 0 /** @@ -29,7 +29,7 @@ var/stapled_nerves = FALSE -//! ##REFERENCE VARS + //* ##REFERENCE VARS /// Current mob owning the organ. var/mob/living/carbon/human/owner /// Transplant match data. @@ -45,7 +45,7 @@ var/s_base -//! ## DAMAGE VARS + //* ## DAMAGE VARS /// Damage before considered bruised var/min_bruised_damage = 10 /// Damage before becoming broken @@ -62,12 +62,12 @@ /// decay rate var/decay_rate = ORGAN_DECAY_PER_SECOND_DEFAULT -//! ## LANGUAGE VARS - For organs that assist with certain languages. + //* ## LANGUAGE VARS - For organs that assist with certain languages. var/list/will_assist_languages = list() var/list/datum/language/assists_languages = list() -//! ## VERB VARS + //* ## VERB VARS /// Verbs added by the organ when present in the body. var/list/organ_verbs /// Is the parent supposed to be organic, robotic, assisted? diff --git a/code/modules/preferences/_preferences.dm b/code/modules/preferences/_preferences.dm index 4df40de85b3..0b8120fe253 100644 --- a/code/modules/preferences/_preferences.dm +++ b/code/modules/preferences/_preferences.dm @@ -29,27 +29,27 @@ GLOBAL_LIST_EMPTY(preferences_datums) return creating /datum/preferences - //! Intrinsics + //* Intrinsics /// did we load yet? var/initialized = FALSE - //! Error Handling + //* Error Handling /// queued error messages to display var/list/io_error_queue -//! ## Doohickeys For Savefiles + //* ## Doohickeys For Savefiles var/path /// Holder so it doesn't default to slot 1, rather the last one used. var/default_slot = 1 var/savefile_version = 0 // todo: kick this out of prefs -//! ## Non-Preference Stuff + //* ## Non-Preference Stuff var/muted = 0 var/last_ip var/last_id -//! ## Cooldowns for saving/loading. + //* ## Cooldowns for saving/loading. //? ## These are four are all separate due to loading code calling these one after another. var/saveprefcooldown var/loadprefcooldown @@ -60,7 +60,7 @@ GLOBAL_LIST_EMPTY(preferences_datums) //? These lists may only ever contain associative key-values, where //? values MUST be string, number, or null. //? Savefiles do not play nice with typepaths. - //! Loaded data + //* Loaded data /// character data var/list/character /// global data @@ -68,13 +68,13 @@ GLOBAL_LIST_EMPTY(preferences_datums) /// data for byond skin - checkboxes and whatnot; this is ENTIRELY synchronized by the skin system. var/list/skin -//! ## Game Preferences + //* ## Game Preferences /// Special role selection. var/be_special = 0 /// Event role prefs flag. var/be_event_role = NONE -//! ## Character Preferences + //* ## Character Preferences /// Our character's name var/real_name /// Whether we are a random name every round @@ -146,7 +146,7 @@ GLOBAL_LIST_EMPTY(preferences_datums) /// Enable/disable markings on synth parts. var/synth_markings = 1 -//! ## Background Preferences + //* ## Background Preferences ///Antag associated faction. var/antag_faction = "None" ///How visible antag association is to others. @@ -163,7 +163,7 @@ GLOBAL_LIST_EMPTY(preferences_datums) var/uplinklocation = "PDA" -//! ## Mob Preview + //* ## Mob Preview /// Should only be a key-value list of north/south/east/west = atom/movable/screen. var/list/char_render_holders var/static/list/preview_screen_locs = list( @@ -174,13 +174,13 @@ GLOBAL_LIST_EMPTY(preferences_datums) "BG" = "character_preview_map:1,1 to 3,8" ) -//! ## Skills Preferences - Depricated. + //* ## Skills Preferences - Depricated. var/used_skillpoints = 0 var/skill_specialization = null /// Skills can range from 0 to 3. var/list/skills = list() -//! ## Body Preferences + //* ## Body Preferences /// Maps each organ to either null(intact), "cyborg" or "amputated" /// will probably not be able to do this for head and torso ;) var/list/organ_data = list() @@ -195,7 +195,7 @@ GLOBAL_LIST_EMPTY(preferences_datums) var/list/body_descriptors = list() -//! ## OOC Metadata + //* ## OOC Metadata var/metadata = "" var/headshot_url = "" var/full_ref_url = "" @@ -214,7 +214,7 @@ GLOBAL_LIST_EMPTY(preferences_datums) var/datum/category_collection/player_setup_collection/player_setup var/datum/browser/panel -//! ## Character Directory Stuff + //* ## Character Directory Stuff /// Should we show in Character Directory. var/show_in_directory = 1 /// Sorting tag to use for vore-prefs.