_std/defines/atom.dm
isatom | Is this an atom? idk ask mr. molecule man |
---|---|
isobj | built-in isobj returns true for /atom/movable |
opposite_dir_to | This is relevant to atoms so it goes here!!!! do not @ me |
ADMIN_INTERACT_PROCS | Makes the given procs available for use with the admin interact menu
Example: ADMIN_INTERACT_PROCS(/obj/machinery/nuclearbomb, proc/arm, proc/disarm)
would add the *arm and *disarm options to the admin interact menu for nuclear bombs.
Will display the "name" of the proc if it has one, for example set name = "foo" will result in the proc's entry in the interact menu being "Foo". |
SPACE_PUSHING | used for removing us from mantapush list when we get deleted |
MANTA_PUSHING | used for removing us from spacepush list when we get beleted |
HAS_PARTICLESYSTEM | atom has a particlesystem right now - used for clean gc to clear refs to itself etc blah |
HAS_PARTICLESYSTEM_TARGET | atom is a particlesystem target - " " |
HAS_BAD_SMOKE | atom has a bad smoke pointing to it right now - used for clean gc to clear refs to itself etc blah |
IS_LIMB_ITEM | im a limb |
HAS_KUDZU | if a turf has kudzu. |
HAS_NBGG | if a turf has NBGG. |
BEING_CRUSHERED | if an atom/movable is in the crusher (so conveyors don't push it around) |
USE_FLUID_ENTER | Atom implements EnteredFluid() call in some way. |
USE_GRAB_CHOKE | Atom can be held as an item and have a grab inside it to choke somebuddy |
HANDLE_STICKER | Atom implements var/active = XXX and responds to sticker removal methods (burn-off + acetone). this atom MUST have an 'active' var. im sory. |
IMMUNE_MANTA_PUSH | cannot be pushed by MANTAwaters |
IS_TRINKET | used for trinkets GC |
NO_MOUSEDROP_QOL | overrides the click drag mousedrop pickup QOL kinda stuff |
IMMUNE_TRENCH_WARP | Atom won't get warped to z5 via floor holes on underwater maps |
UNCROSS_BUMP_CHECK | Uncross should call this after setting . to make sure Bump gets called if needed |
HELP_MESSAGE_OVERRIDE | Use this to override the help message instead of doing it directly |
RegisterHelpMessageHandler | Wrapper around RegisterSignal for help messages. Use this when you want a component to add a custom help message to its parent. Makes it so the target is given the Help verb Note that we never remove the help verb and this is mostly because it's easier, unlikely to happen often and also not a big deal as the help verb just says that there's no help message if there's no help message. The reason why we skip mob is that mob.verbs is different from obj.verbs etc. Basically if you are trying to do this to a mob probably you will need to include HELP_MESSAGE_OVERRIDE on the mob to give it the static help verb. Sorry. |
UnregisterHelpMessageHandler | Wrapper around UnregisterSignal for help messages, identical to UnregisterSignal but here for parity |
UNANCHORED | For an unanchored movable atom |
ANCHORED | For an atom that can't be moved by player actions |
ANCHORED_ALWAYS | For an atom that's always immovable, even by stuff like black holes and gravity artifacts. |
UNDERFLOOR | The atom is below the floor tiles. |
OVERFLOOR | The atom is above the floor tiles. |
Define Details
ADMIN_INTERACT_PROCS
Makes the given procs available for use with the admin interact menu
Example: ADMIN_INTERACT_PROCS(/obj/machinery/nuclearbomb, proc/arm, proc/disarm)
would add the *arm
and *disarm
options to the admin interact menu for nuclear bombs.
Will display the "name" of the proc if it has one, for example set name = "foo"
will result in the proc's entry in the interact menu being "Foo".
ANCHORED
For an atom that can't be moved by player actions
ANCHORED_ALWAYS
For an atom that's always immovable, even by stuff like black holes and gravity artifacts.
BEING_CRUSHERED
if an atom/movable is in the crusher (so conveyors don't push it around)
HANDLE_STICKER
Atom implements var/active = XXX and responds to sticker removal methods (burn-off + acetone). this atom MUST have an 'active' var. im sory.
HAS_BAD_SMOKE
atom has a bad smoke pointing to it right now - used for clean gc to clear refs to itself etc blah
HAS_KUDZU
if a turf has kudzu.
HAS_NBGG
if a turf has NBGG.
HAS_PARTICLESYSTEM
atom has a particlesystem right now - used for clean gc to clear refs to itself etc blah
HAS_PARTICLESYSTEM_TARGET
atom is a particlesystem target - " "
HELP_MESSAGE_OVERRIDE
Use this to override the help message instead of doing it directly
IMMUNE_MANTA_PUSH
cannot be pushed by MANTAwaters
IMMUNE_TRENCH_WARP
Atom won't get warped to z5 via floor holes on underwater maps
IS_LIMB_ITEM
im a limb
IS_TRINKET
used for trinkets GC
MANTA_PUSHING
used for removing us from spacepush list when we get beleted
NO_MOUSEDROP_QOL
overrides the click drag mousedrop pickup QOL kinda stuff
OVERFLOOR
The atom is above the floor tiles.
RegisterHelpMessageHandler
Wrapper around RegisterSignal for help messages. Use this when you want a component to add a custom help message to its parent. Makes it so the target is given the Help verb Note that we never remove the help verb and this is mostly because it's easier, unlikely to happen often and also not a big deal as the help verb just says that there's no help message if there's no help message. The reason why we skip mob is that mob.verbs is different from obj.verbs etc. Basically if you are trying to do this to a mob probably you will need to include HELP_MESSAGE_OVERRIDE on the mob to give it the static help verb. Sorry.
SPACE_PUSHING
used for removing us from mantapush list when we get deleted
UNANCHORED
For an unanchored movable atom
UNCROSS_BUMP_CHECK
Uncross should call this after setting .
to make sure Bump gets called if needed
UNDERFLOOR
The atom is below the floor tiles.
USE_FLUID_ENTER
Atom implements EnteredFluid() call in some way.
USE_GRAB_CHOKE
Atom can be held as an item and have a grab inside it to choke somebuddy
UnregisterHelpMessageHandler
Wrapper around UnregisterSignal for help messages, identical to UnregisterSignal but here for parity
isatom
Is this an atom? idk ask mr. molecule man
isobj
built-in isobj returns true for /atom/movable
opposite_dir_to
This is relevant to atoms so it goes here!!!! do not @ me