|chat_color||Last color calculated for the the chatmessage overlays. Used for caching.|
|chat_color_name||Last name used to calculate a color for the chatmessage overlays. Used for caching.|
|dont_save||what icon the mob uses for speechbubbles|
|filter_data||For handling persistent filters|
|rad_insulation||Radiation insulation types|
|AltClickNoInteract||Use this instead of [/mob/proc/AltClickOn] where you only want turf content listing without additional atom alt-click interaction|
|acid_act||Respond to acid being used on our atom|
|after_slip||Base proc, intended to be overriden.|
|clean_radiation||Removes some radiation from an atom|
|detailed_examine||Used for showing a more detailed description in the 'Examine' tab after examining the atom.|
|detailed_examine_antag||Used for showing a more detailed description to antags in the 'Examine' after examining the atom.|
|detailed_examine_fluff||Used for showing flavour text in the 'Examine' tab after examining the atom.|
|emp_act||Proc which will make the atom act accordingly to an EMP. This proc can sleep depending on the implementation. So assume it sleeps!|
|get_all_adjacent_turfs||Proc which gets all adjacent turfs to |
|get_runechat_color||Proc to allow atoms to set their own runechat colour|
|is_drainable||Is this atom drainable of reagents|
|is_drawable||Can we draw from this atom with an injectable atom|
|is_injectable||Is this atom injectable into other atoms|
|is_open_container||Convenience proc to see if a container is open for chemistry handling|
|is_refillable||Can this atoms reagents be refilled|
|mech_melee_attack||Handle melee attack by a mech|
|persistent_load||Atom Persistent Loader|
|persistent_save||Atom Persistent Saver|
|rad_act||Respond to a radioactive wave hitting this atom|
|storage_depth||Returns the storage depth of an atom up to the area level.|
|storage_depth_turf||Like /atom/proc/storage_depth, but returns the depth to the nearest turf.|
|zap_act||Respond to an electric bolt action on our item|
Last color calculated for the the chatmessage overlays. Used for caching.
Last name used to calculate a color for the chatmessage overlays. Used for caching.
what icon the mob uses for speechbubbles
For handling persistent filters
Radiation insulation types
Use this instead of [/mob/proc/AltClickOn] where you only want turf content listing without additional atom alt-click interaction
Respond to acid being used on our atom
Default behaviour is to send COMSIG_ATOM_ACID_ACT and return
Base proc, intended to be overriden.
This should only be called from one place: inside the slippery component. Called after a human mob slips on this atom.
If you want the person who slipped to have something special done to them, put it here.
Removes some radiation from an atom
Removes a configurable amount of radiation from an atom and stops green glow if radiation gets low enough through it. Arguments:
- clean_factor - How much radiation to remove, as a multiple of RAD_BACKGROUND_RADIATION (currently 9)
Check the distance for a living mob. Really only used for checks outside the context of a mob. Otherwise, use shared_living_ui_distance().
required src_object The object which owns the UI. required user mob The mob who opened/is using the UI.
return UI_state The state of the UI.
Used for showing a more detailed description in the 'Examine' tab after examining the atom.
Shown as blue text in the Examine tab.
Used for showing a more detailed description to antags in the 'Examine' after examining the atom.
Shown as red text in the Examine tab.
Used for showing flavour text in the 'Examine' tab after examining the atom.
Shown as green text in the Examine tab. The custom flavour text of
/mob subtypes override this.
Proc which will make the atom act accordingly to an EMP. This proc can sleep depending on the implementation. So assume it sleeps!
severity - The severity of the EMP. Either EMP_HEAVY or EMP_LIGHT
Proc which gets all adjacent turfs to
src, including the turf that
src is on.
This is similar to doing
for(var/turf/T in range(1, src)). However it is slightly more performant.
Additionally, the above proc becomes more costly the more atoms there are nearby. This proc does not care about that.
Proc to allow atoms to set their own runechat colour
This is a proc designed to be overridden in places if you want a specific atom to use a specific runechat colour Exampls include consoles using a colour based on their screen colour, and mobs using a colour based off of a customisation property
Is this atom drainable of reagents
Can we draw from this atom with an injectable atom
Is this atom injectable into other atoms
Convenience proc to see if a container is open for chemistry handling
Can this atoms reagents be refilled
Handle melee attack by a mech
Atom Persistent Loader
Overridden on every atom which needs to load persistent data
Atom Persistent Saver
Overridden on every atom which needs to save persistent data
Respond to a radioactive wave hitting this atom
Default behaviour is to send COMSIG_ATOM_RAD_ACT and return
Call this when you want to present a renaming prompt to the user.
It's a simple proc, but handles annoying edge cases such as forgetting to add a "cancel" button, or being able to rename stuff remotely.
- user - the renamer.
- implement - the tool doing the renaming (usually, a pen).
- use_prefix - whether the new name should follow the format of "thing - user-given label" or if we allow to change the name completely arbitrarily.
- actually_rename - whether we want to really change the
src.name, or if we want to do everything except that.
- prompt - a custom "what do you want rename this thing to be?" prompt shown in the inpit box.
Returns: Either null if the renaming was aborted, or the user-provided sanitized string.
Returns the storage depth of an atom up to the area level.
The storage depth is the number of storage items the atom is contained in.
-1 if the atom was not found in a container.
Like /atom/proc/storage_depth, but returns the depth to the nearest turf.
-1 if there's no top level turf. (A loc was null somewhere, or a non-turf atom's loc was an area somehow.)
Respond to an electric bolt action on our item
Default behaviour is to return, we define here to allow for cleaner code later on