code/__DEFINES/~~bubber_defines/traits/nanites.dm 
| COMSIG_HAS_NANITES | () returns TRUE if nanites are found |
|---|---|
| COMSIG_NANITE_IS_STEALTHY | () returns TRUE if nanites have stealth |
| COMSIG_NANITE_DELETE | () deletes the nanite component |
| COMSIG_NANITE_GET_PROGRAMS | (list/nanite_programs) - makes the input list a copy the nanites' program list |
| COMSIG_NANITE_GET_VOLUME | (amount) Returns nanite amount |
| COMSIG_NANITE_SET_VOLUME | (amount) Sets current nanite volume to the given amount |
| COMSIG_NANITE_ADJUST_VOLUME | (amount) Adjusts nanite volume by the given amount |
| COMSIG_NANITE_SET_MAX_VOLUME | (amount) Sets maximum nanite volume to the given amount |
| COMSIG_NANITE_SET_CLOUD | (amount(NANITE_MIN_CLOUD_ID-NANITE_MAX_CLOUD_ID)) Sets cloud ID to the given amount |
| COMSIG_NANITE_GET_CLOUD | () Returns nanite cloud ID |
| COMSIG_NANITE_SET_CLOUD_SYNC | (method) Modify cloud sync status. Method can be toggle, enable or disable |
| COMSIG_NANITE_SET_SAFETY | (amount) Sets safety threshold to the given amount |
| COMSIG_NANITE_SET_REGEN | (amount) Sets regeneration rate to the given amount |
| COMSIG_NANITE_SIGNAL | (code(1-9999)) Called when sending a nanite signal to a mob. |
| COMSIG_NANITE_COMM_SIGNAL | (comm_code(1-9999), comm_message) Called when sending a nanite comm signal to a mob. |
| COMSIG_NANITE_SCAN | (mob/user, full_scan) - sends to chat a scan of the nanites to the user, returns TRUE if nanites are detected |
| COMSIG_NANITE_UI_DATA | (list/data, scan_level) - adds nanite data to the given data list - made for ui_data procs |
| COMSIG_NANITE_ADD_PROGRAM | (datum/nanite_program/new_program, datum/nanite_program/source_program) Called when adding a program to a nanite component |
| COMPONENT_PROGRAM_INSTALLED | Installation successful |
| COMPONENT_PROGRAM_NOT_INSTALLED | Installation failed, but there are still nanites |
| COMSIG_NANITE_SYNC | (datum/component/nanites, full_overwrite, copy_activation) Called to sync the target's nanites to a given nanite component |
| NANITE_MIN_CLOUD_ID | Minimum valid value for nanite cloud ID |
| NANITE_MAX_CLOUD_ID | Maximum valid value for nanite cloud ID |
Define Details
COMPONENT_PROGRAM_INSTALLED 
Installation successful
COMPONENT_PROGRAM_NOT_INSTALLED 
Installation failed, but there are still nanites
COMSIG_HAS_NANITES 
() returns TRUE if nanites are found
COMSIG_NANITE_ADD_PROGRAM 
(datum/nanite_program/new_program, datum/nanite_program/source_program) Called when adding a program to a nanite component
COMSIG_NANITE_ADJUST_VOLUME 
(amount) Adjusts nanite volume by the given amount
COMSIG_NANITE_COMM_SIGNAL 
(comm_code(1-9999), comm_message) Called when sending a nanite comm signal to a mob.
COMSIG_NANITE_DELETE 
() deletes the nanite component
COMSIG_NANITE_GET_CLOUD 
() Returns nanite cloud ID
COMSIG_NANITE_GET_PROGRAMS 
(list/nanite_programs) - makes the input list a copy the nanites' program list
COMSIG_NANITE_GET_VOLUME 
(amount) Returns nanite amount
COMSIG_NANITE_IS_STEALTHY 
() returns TRUE if nanites have stealth
COMSIG_NANITE_SCAN 
(mob/user, full_scan) - sends to chat a scan of the nanites to the user, returns TRUE if nanites are detected
COMSIG_NANITE_SET_CLOUD 
(amount(NANITE_MIN_CLOUD_ID-NANITE_MAX_CLOUD_ID)) Sets cloud ID to the given amount
COMSIG_NANITE_SET_CLOUD_SYNC 
(method) Modify cloud sync status. Method can be toggle, enable or disable
COMSIG_NANITE_SET_MAX_VOLUME 
(amount) Sets maximum nanite volume to the given amount
COMSIG_NANITE_SET_REGEN 
(amount) Sets regeneration rate to the given amount
COMSIG_NANITE_SET_SAFETY 
(amount) Sets safety threshold to the given amount
COMSIG_NANITE_SET_VOLUME 
(amount) Sets current nanite volume to the given amount
COMSIG_NANITE_SIGNAL 
(code(1-9999)) Called when sending a nanite signal to a mob.
COMSIG_NANITE_SYNC 
(datum/component/nanites, full_overwrite, copy_activation) Called to sync the target's nanites to a given nanite component
COMSIG_NANITE_UI_DATA 
(list/data, scan_level) - adds nanite data to the given data list - made for ui_data procs
NANITE_MAX_CLOUD_ID 
Maximum valid value for nanite cloud ID
NANITE_MIN_CLOUD_ID 
Minimum valid value for nanite cloud ID