|
|
|
@@ -74,11 +74,30 @@
|
|
|
|
|
#define EXAMINE_POSITION_BEFORE (1<<1)
|
|
|
|
|
//End positions
|
|
|
|
|
#define COMPONENT_EXNAME_CHANGED (1<<0)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_ICON "atom_update_icon" //from base of atom/update_icon(): ()
|
|
|
|
|
#define COMSIG_ATOM_NO_UPDATE_ICON_STATE 1
|
|
|
|
|
#define COMSIG_ATOM_NO_UPDATE_OVERLAYS 2
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_OVERLAYS "atom_update_overlays" //from base of atom/update_overlays(): (list/new_overlays)
|
|
|
|
|
#define COMSIG_ATOM_UPDATED_ICON "atom_updated_icon" //from base of atom/update_icon(): (signalOut, did_anything)
|
|
|
|
|
///from base of [/atom/proc/update_appearance]: (updates)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_APPEARANCE "atom_update_appearance"
|
|
|
|
|
/// If returned from [COMSIG_ATOM_UPDATE_APPEARANCE] it prevents the atom from updating its name.
|
|
|
|
|
#define COMSIG_ATOM_NO_UPDATE_NAME UPDATE_NAME
|
|
|
|
|
/// If returned from [COMSIG_ATOM_UPDATE_APPEARANCE] it prevents the atom from updating its desc.
|
|
|
|
|
#define COMSIG_ATOM_NO_UPDATE_DESC UPDATE_DESC
|
|
|
|
|
/// If returned from [COMSIG_ATOM_UPDATE_APPEARANCE] it prevents the atom from updating its icon.
|
|
|
|
|
#define COMSIG_ATOM_NO_UPDATE_ICON UPDATE_ICON
|
|
|
|
|
///from base of [/atom/proc/update_name]: (updates)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_NAME "atom_update_name"
|
|
|
|
|
///from base of [/atom/proc/update_desc]: (updates)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_DESC "atom_update_desc"
|
|
|
|
|
///from base of [/atom/update_icon]: ()
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_ICON "atom_update_icon"
|
|
|
|
|
/// If returned from [COMSIG_ATOM_UPDATE_ICON] it prevents the atom from updating its icon state.
|
|
|
|
|
#define COMSIG_ATOM_NO_UPDATE_ICON_STATE UPDATE_ICON_STATE
|
|
|
|
|
/// If returned from [COMSIG_ATOM_UPDATE_ICON] it prevents the atom from updating its overlays.
|
|
|
|
|
#define COMSIG_ATOM_NO_UPDATE_OVERLAYS UPDATE_OVERLAYS
|
|
|
|
|
///from base of [atom/update_icon_state]: ()
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_ICON_STATE "atom_update_icon_state"
|
|
|
|
|
///from base of [/atom/update_overlays]: (list/new_overlays)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_OVERLAYS "atom_update_overlays"
|
|
|
|
|
///from base of [/atom/update_icon]: (signalOut, did_anything)
|
|
|
|
|
#define COMSIG_ATOM_UPDATED_ICON "atom_updated_icon"
|
|
|
|
|
#define COMSIG_ATOM_ENTERED "atom_entered" //from base of atom/Entered(): (atom/movable/entering, /atom)
|
|
|
|
|
#define COMSIG_ATOM_EXIT "atom_exit" //from base of atom/Exit(): (/atom/movable/exiting, /atom/newloc)
|
|
|
|
|
#define COMPONENT_ATOM_BLOCK_EXIT 1
|
|
|
|
@@ -112,8 +131,6 @@
|
|
|
|
|
///from obj/machinery/bsa/full/proc/fire(): ()
|
|
|
|
|
#define COMSIG_ATOM_BSA_BEAM "atom_bsa_beam_pass"
|
|
|
|
|
#define COMSIG_ATOM_BLOCKS_BSA_BEAM (1<<0)
|
|
|
|
|
///from base of atom/set_light(): (l_range, l_power, l_color)
|
|
|
|
|
#define COMSIG_ATOM_SET_LIGHT "atom_set_light"
|
|
|
|
|
///from base of atom/setDir(): (old_dir, new_dir). Called before the direction changes.
|
|
|
|
|
#define COMSIG_ATOM_DIR_CHANGE "atom_dir_change"
|
|
|
|
|
///from base of atom/handle_atom_del(): (atom/deleted)
|
|
|
|
@@ -278,6 +295,32 @@
|
|
|
|
|
///from base of mob/AltClickOn(): (atom/A)
|
|
|
|
|
#define COMSIG_MOB_ALTCLICKON "mob_altclickon"
|
|
|
|
|
|
|
|
|
|
// Lighting:
|
|
|
|
|
///from base of [atom/proc/set_light]: (l_range, l_power, l_color, l_on)
|
|
|
|
|
#define COMSIG_ATOM_SET_LIGHT "atom_set_light"
|
|
|
|
|
/// Blocks [/atom/proc/set_light], [/atom/proc/set_light_power], [/atom/proc/set_light_range], [/atom/proc/set_light_color], [/atom/proc/set_light_on], and [/atom/proc/set_light_flags].
|
|
|
|
|
#define COMPONENT_BLOCK_LIGHT_UPDATE (1<<0)
|
|
|
|
|
///Called right before the atom changes the value of light_power to a different one, from base [atom/proc/set_light_power]: (new_power)
|
|
|
|
|
#define COMSIG_ATOM_SET_LIGHT_POWER "atom_set_light_power"
|
|
|
|
|
///Called right after the atom changes the value of light_power to a different one, from base of [/atom/proc/set_light_power]: (old_power)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_LIGHT_POWER "atom_update_light_power"
|
|
|
|
|
///Called right before the atom changes the value of light_range to a different one, from base [atom/proc/set_light_range]: (new_range)
|
|
|
|
|
#define COMSIG_ATOM_SET_LIGHT_RANGE "atom_set_light_range"
|
|
|
|
|
///Called right after the atom changes the value of light_range to a different one, from base of [/atom/proc/set_light_range]: (old_range)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_LIGHT_RANGE "atom_update_light_range"
|
|
|
|
|
///Called right before the atom changes the value of light_color to a different one, from base [atom/proc/set_light_color]: (new_color)
|
|
|
|
|
#define COMSIG_ATOM_SET_LIGHT_COLOR "atom_set_light_color"
|
|
|
|
|
///Called right after the atom changes the value of light_color to a different one, from base of [/atom/proc/set_light_color]: (old_color)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_LIGHT_COLOR "atom_update_light_color"
|
|
|
|
|
///Called right before the atom changes the value of light_on to a different one, from base [atom/proc/set_light_on]: (new_value)
|
|
|
|
|
#define COMSIG_ATOM_SET_LIGHT_ON "atom_set_light_on"
|
|
|
|
|
///Called right after the atom changes the value of light_on to a different one, from base of [/atom/proc/set_light_on]: (old_value)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_LIGHT_ON "atom_update_light_on"
|
|
|
|
|
///Called right before the atom changes the value of light_flags to a different one, from base [atom/proc/set_light_flags]: (new_flags)
|
|
|
|
|
#define COMSIG_ATOM_SET_LIGHT_FLAGS "atom_set_light_flags"
|
|
|
|
|
///Called right after the atom changes the value of light_flags to a different one, from base of [/atom/proc/set_light_flags]: (old_flags)
|
|
|
|
|
#define COMSIG_ATOM_UPDATE_LIGHT_FLAGS "atom_update_light_flags"
|
|
|
|
|
|
|
|
|
|
// /client signals
|
|
|
|
|
#define COMSIG_MOB_CLIENT_LOGIN "mob_client_login" //sent when a mob/login() finishes: (client)
|
|
|
|
|
#define COMSIG_MOB_CLIENT_LOGOUT "mob_client_logout" //sent when a mob/logout() starts: (client)
|
|
|
|
@@ -361,6 +404,12 @@
|
|
|
|
|
|
|
|
|
|
// /machinery signals
|
|
|
|
|
#define COMSIG_MACHINE_EJECT_OCCUPANT "eject_occupant" //from base of obj/machinery/dropContents() (occupant)
|
|
|
|
|
///from base power_change() when power is lost
|
|
|
|
|
#define COMSIG_MACHINERY_POWER_LOST "machinery_power_lost"
|
|
|
|
|
///from base power_change() when power is restored
|
|
|
|
|
#define COMSIG_MACHINERY_POWER_RESTORED "machinery_power_restored"
|
|
|
|
|
///from /obj/machinery/obj_break(damage_flag): (damage_flag)
|
|
|
|
|
#define COMSIG_MACHINERY_BROKEN "machinery_broken"
|
|
|
|
|
|
|
|
|
|
// /obj/item signals
|
|
|
|
|
#define COMSIG_ITEM_ATTACK "item_attack" //from base of obj/item/attack(): (/mob/living/target, /mob/living/user)
|
|
|
|
|