byond - Modules - TypesDefine Details

code/__DEFINES/obj_flags.dm

IN_USEIf we have a user using us, this will be set on. We will check if the user has stopped using us, and thus stop updating and LAGGING EVERYTHING!
CAN_BE_HITCan this be bludgeoned by items?
PROJ_IGNORE_DENSITYIf non-dense structures can still get hit by projectiles
LIGHT_CAN_BE_SHUTIs sensible to nightfall ability, and its light will be turned off
DANGEROUS_POSSESSIONAdmin possession yes/no
BLOCKS_CONSTRUCTION! Does this object prevent things from being built on it?
BLOCKS_CONSTRUCTION_DIR! Does this object prevent same-direction things from being built on it?
IGNORE_DENSITY! Can we ignore density when building on this object? (for example, directional windows and grilles)
PROJECTILE_FROZENIndicates a projectile is no longer moving
PROJECTILE_HITIndicates we've hit something
PROJECTILE_PRECISE_TARGETThis projectile will ignore non targetted mobs

Define Details

BLOCKS_CONSTRUCTION

! Does this object prevent things from being built on it?

BLOCKS_CONSTRUCTION_DIR

! Does this object prevent same-direction things from being built on it?

CAN_BE_HIT

Can this be bludgeoned by items?

DANGEROUS_POSSESSION

Admin possession yes/no

IGNORE_DENSITY

! Can we ignore density when building on this object? (for example, directional windows and grilles)

IN_USE

If we have a user using us, this will be set on. We will check if the user has stopped using us, and thus stop updating and LAGGING EVERYTHING!

LIGHT_CAN_BE_SHUT

Is sensible to nightfall ability, and its light will be turned off

PROJECTILE_FROZEN

Indicates a projectile is no longer moving

PROJECTILE_HIT

Indicates we've hit something

PROJECTILE_PRECISE_TARGET

This projectile will ignore non targetted mobs

PROJ_IGNORE_DENSITY

If non-dense structures can still get hit by projectiles