byond - Modules - TypesDefine Details

code/__DEFINES/misc.dm

AREA_AVOID_BIOSCANused to make mobs skip bioscans
AREA_NOTUNNELmakes it so the area can not be tunneled to
AREA_ALLOW_XENO_JOINxenos can join whilst in this area (for admin zlevel)
AREA_CONTAINMENTFlags the area as a containment area
AREA_UNWEEDABLEFlags the area as permanently unweedable. Still requires is_resin_allowed = FALSE
DA_DEFAULT_NUM_TICKSDefault number of ticks for do_after
CELLSAmount of cells per row/column in grid
CELLSIZESize of a cell in pixel
INTERRUPT_DIFF_TURFMight want to consider adding a separate flag for DIFF_COORDS
INTERRUPT_UNCONSCIOUSRelevant to stat var for mobs
INTERRUPT_RESISTAllows timed actions to be cancelled upon hitting resist, on by default
INTERRUPT_DIFF_SELECT_ZONEBy default not in INTERRUPT_ALL (too niche)
INTERRUPT_OUT_OF_RANGEBy default not in INTERRUPT_ALL, should not be used in conjunction with INTERRUPT_DIFF_TURF
INTERRUPT_DIFF_INTENTBy default not in INTERRUPT_ALL (too niche) (Doesn't actually exist.)
INTERRUPT_LCLICKMainly for boiler globs
BEHAVIOR_IMMOBILEYou cannot move the person while this action is being performed
SIZE_TINYHelmets
SIZE_SMALLArmor, pouch slots/pockets
SIZE_MEDIUMBackpacks, belts. Size of pistols, general magazines
SIZE_LARGESize of rifles, SMGs
SIZE_HUGEUsing Large does the same job
get_areaGet the ultimate area of A, similarly to get_turf.
COOLDOWN_BRACER_CHARGECooldown for pred recharge

Define Details

AREA_ALLOW_XENO_JOIN

xenos can join whilst in this area (for admin zlevel)

AREA_AVOID_BIOSCAN

used to make mobs skip bioscans

AREA_CONTAINMENT

Flags the area as a containment area

AREA_NOTUNNEL

makes it so the area can not be tunneled to

AREA_UNWEEDABLE

Flags the area as permanently unweedable. Still requires is_resin_allowed = FALSE

BEHAVIOR_IMMOBILE

You cannot move the person while this action is being performed

CELLS

Amount of cells per row/column in grid

CELLSIZE

Size of a cell in pixel

COOLDOWN_BRACER_CHARGE

Cooldown for pred recharge

DA_DEFAULT_NUM_TICKS

Default number of ticks for do_after

INTERRUPT_DIFF_INTENT

By default not in INTERRUPT_ALL (too niche) (Doesn't actually exist.)

INTERRUPT_DIFF_SELECT_ZONE

By default not in INTERRUPT_ALL (too niche)

INTERRUPT_DIFF_TURF

Might want to consider adding a separate flag for DIFF_COORDS

INTERRUPT_LCLICK

Mainly for boiler globs

INTERRUPT_OUT_OF_RANGE

By default not in INTERRUPT_ALL, should not be used in conjunction with INTERRUPT_DIFF_TURF

INTERRUPT_RESIST

Allows timed actions to be cancelled upon hitting resist, on by default

INTERRUPT_UNCONSCIOUS

Relevant to stat var for mobs

SIZE_HUGE

Using Large does the same job

SIZE_LARGE

Size of rifles, SMGs

SIZE_MEDIUM

Backpacks, belts. Size of pistols, general magazines

SIZE_SMALL

Armor, pouch slots/pockets

SIZE_TINY

Helmets

get_area

Get the ultimate area of A, similarly to get_turf.

Use instead of A.loc.loc.