|
515 | 515 | #define COMSIG_ITEM_WEIGHT_CLASS_CHANGED "item_weight_class_changed" |
516 | 516 | /// Sent from /obj/item/update_weight_class(), to it's loc. (obj/item/changed_item, old_w_class, new_w_class) |
517 | 517 | #define COMSIG_ATOM_CONTENTS_WEIGHT_CLASS_CHANGED "atom_contents_weight_class_changed" |
| 518 | + |
| 519 | +///Sent from /obj/item/skillchip/on_implant() |
| 520 | +#define COMSIG_SKILLCHIP_IMPLANTED "skillchip_implanted" |
| 521 | + |
| 522 | +///Sent from /obj/item/skillchip/on_remove() |
| 523 | +#define COMSIG_SKILLCHIP_REMOVED "skillchip_removed" |
| 524 | + |
| 525 | +/// from /obj/machinery/computer/camera_advanced/shuttle_docker/gatherNavComputerOverlays() : (list/images_out) |
| 526 | +#define COMSIG_SHUTTLE_NAV_COMPUTER_IMAGE_REQUESTED "shuttle_nav_computer_image_requested" |
| 527 | + |
| 528 | +/// Sent from /obj/item/organ/wings/functional/proc/open_wings(): (mob/living/carbon/owner) |
| 529 | +#define COMSIG_WINGS_OPENED "wings_opened" |
| 530 | +/// Sent from /obj/item/organ/wings/functional/proc/close_wings(): (mob/living/carbon/owner) |
| 531 | +#define COMSIG_WINGS_CLOSED "wings_closed" |
| 532 | + |
| 533 | +/// Sent from /obj/item/assembly/on_attach(): (atom/holder) |
| 534 | +#define COMSIG_ASSEMBLY_ATTACHED "assembly_attached" |
| 535 | + |
| 536 | +/// Sent from /obj/item/assembly/on_detach(): (atom/holder) |
| 537 | +#define COMSIG_ASSEMBLY_DETACHED "assembly_detached" |
| 538 | + |
| 539 | +/* |
| 540 | + * The following four signals are separate from the above two because buttons and pressure plates don't set the holder of the inserted assembly. |
| 541 | + * This causes subtle behavioral differences that future handlers for these signals may need to account for, |
| 542 | + * even if none of the currently implemented handlers do. |
| 543 | + */ |
| 544 | + |
| 545 | +/// Sent when an assembly is added to a button : (obj/machinery/button/button, mob/user) |
| 546 | +#define COMSIG_ASSEMBLY_ADDED_TO_BUTTON "assembly_added_to_button" |
| 547 | + |
| 548 | +/// Sent when an assembly is removed from a button : (obj/machinery/button/button, mob/user) |
| 549 | +#define COMSIG_ASSEMBLY_REMOVED_FROM_BUTTON "assembly_removed_from_button" |
| 550 | + |
| 551 | +/// Sent when an assembly is added to a pressure plate : (obj/item/pressureplate/pressure_plate, mob/user) |
| 552 | +#define COMSIG_ASSEMBLY_ADDED_TO_PRESSURE_PLATE "assembly_added_to_pressure_plate" |
| 553 | + |
| 554 | +/// Sent when an assembly is removed from a pressure plate : (obj/item/pressureplate/pressure_plate, mob/user) |
| 555 | +#define COMSIG_ASSEMBLY_REMOVED_FROM_PRESSURE_PLATE "assembly_removed_from_pressure_playe" |
| 556 | + |
| 557 | +/// Sent from /datum/powernet/add_cable() |
| 558 | +#define COMSIG_CABLE_ADDED_TO_POWERNET "cable_added_to_powernet" |
| 559 | + |
| 560 | +/// Sent from /datum/powernet/remove_cable() |
| 561 | +#define COMSIG_CABLE_REMOVED_FROM_POWERNET "cable_removed_from_powernet" |
| 562 | + |
| 563 | +/// Sent from /datum/wires/attach_assembly() : (atom/holder) |
| 564 | +#define COMSIG_ASSEMBLY_PRE_ATTACH "assembly_pre_attach" |
| 565 | + #define COMPONENT_CANCEL_ATTACH (1<<0) |
0 commit comments