Space Station 13 - Modules - TypesDefine Details

code/__DEFINES/flags.dm

NO_SCREENTIPSWhether or not this atom shows screentips when hovered over
UPDATE_NAMEUpdate the atom's name
UPDATE_DESCUpdate the atom's desc
UPDATE_ICON_STATEUpdate the atom's icon state
UPDATE_OVERLAYSUpdate the atom's overlays
UPDATE_ICONUpdate the atom's icon
DECAL_INIT_UPDATE_EXPERIENCED_2Whether a decal element's parent has already been initialized and thus has already had its decals attached. see https://github.com/tgstation/tgstation/pull/71658 for a detailed explanation of the flag.
SHOCKED_2Prevents mobs from getting chainshocked by teslas and the supermatter
RAD_PROTECT_CONTENTS_2should the contents of this atom be acted upon
RAD_NO_CONTAMINATE_2should this object be allowed to be contaminated
IMMUNE_TO_SHUTTLECRUSH_2Prevents shuttles from deleting the item
NO_MALF_EFFECT_2Prevents malf AI animate + overload ability
CRITICAL_ATOM_2Use when this shouldn't be obscured by large icons.
RANDOM_BLOCKER_2Use this flag for items that can block randomly
ALLOW_BELT_NO_JUMPSUIT_2This flag allows for wearing of a belt item, even if you're not wearing a jumpsuit
RICOCHET_SHINYIf the thing can reflect light (lasers/energy)
RICOCHET_HARDIf the thing can reflect matter (bullets/bomb shrapnel)
LAVA_BRIDGEThis turf has already been reserved for a lavaland bridge placement.
MOBILITY_MOVEcan move
MOBILITY_STANDcan, and is, standing up
MOBILITY_PICKUPcan pickup items
MOBILITY_USEcan hold and use items
MOBILITY_PULLcan pull things
SCOPE_MOVEMENT_CANCELSDo we have the scope cancel on move?
SCOPE_TURF_ONLYCan we use scope from mechs, lockers, etc?
SCOPE_CLICK_MIDDLEDo we let the user scope and click on the middle of their screen?
SCOPE_NEED_ACTIVE_HANDShould the user hold the item in active hand to use it?

Define Details

ALLOW_BELT_NO_JUMPSUIT_2

This flag allows for wearing of a belt item, even if you're not wearing a jumpsuit

CRITICAL_ATOM_2

Use when this shouldn't be obscured by large icons.

DECAL_INIT_UPDATE_EXPERIENCED_2

Whether a decal element's parent has already been initialized and thus has already had its decals attached. see https://github.com/tgstation/tgstation/pull/71658 for a detailed explanation of the flag.

IMMUNE_TO_SHUTTLECRUSH_2

Prevents shuttles from deleting the item

LAVA_BRIDGE

This turf has already been reserved for a lavaland bridge placement.

MOBILITY_MOVE

can move

MOBILITY_PICKUP

can pickup items

MOBILITY_PULL

can pull things

MOBILITY_STAND

can, and is, standing up

MOBILITY_USE

can hold and use items

NO_MALF_EFFECT_2

Prevents malf AI animate + overload ability

NO_SCREENTIPS

Whether or not this atom shows screentips when hovered over

RAD_NO_CONTAMINATE_2

should this object be allowed to be contaminated

RAD_PROTECT_CONTENTS_2

should the contents of this atom be acted upon

RANDOM_BLOCKER_2

Use this flag for items that can block randomly

RICOCHET_HARD

If the thing can reflect matter (bullets/bomb shrapnel)

RICOCHET_SHINY

If the thing can reflect light (lasers/energy)

SCOPE_CLICK_MIDDLE

Do we let the user scope and click on the middle of their screen?

SCOPE_MOVEMENT_CANCELS

Do we have the scope cancel on move?

SCOPE_NEED_ACTIVE_HAND

Should the user hold the item in active hand to use it?

SCOPE_TURF_ONLY

Can we use scope from mechs, lockers, etc?

SHOCKED_2

Prevents mobs from getting chainshocked by teslas and the supermatter

UPDATE_DESC

Update the atom's desc

UPDATE_ICON

Update the atom's icon

UPDATE_ICON_STATE

Update the atom's icon state

UPDATE_NAME

Update the atom's name

UPDATE_OVERLAYS

Update the atom's overlays