code/__DEFINES/misc.dm
AREA_AVOID_BIOSCAN | used to make mobs skip bioscans |
---|---|
AREA_NOTUNNEL | makes it so the area can not be tunneled to |
AREA_ALLOW_XENO_JOIN | xenos can join whilst in this area (for admin zlevel) |
AREA_CONTAINMENT | Flags the area as a containment area |
DA_DEFAULT_NUM_TICKS | Default number of ticks for do_after |
CELLS | Amount of cells per row/column in grid |
CELLSIZE | Size of a cell in pixel |
INTERRUPT_DIFF_TURF | Might want to consider adding a separate flag for DIFF_COORDS |
INTERRUPT_UNCONSCIOUS | Relevant to stat var for mobs |
INTERRUPT_RESIST | Allows timed actions to be cancelled upon hitting resist, on by default |
INTERRUPT_DIFF_SELECT_ZONE | By default not in INTERRUPT_ALL (too niche) |
INTERRUPT_OUT_OF_RANGE | By default not in INTERRUPT_ALL, should not be used in conjunction with INTERRUPT_DIFF_TURF |
INTERRUPT_DIFF_INTENT | By default not in INTERRUPT_ALL (too niche) (Doesn't actually exist.) |
INTERRUPT_LCLICK | Mainly for boiler globs |
BEHAVIOR_IMMOBILE | You cannot move the person while this action is being performed |
SIZE_TINY | Helmets |
SIZE_SMALL | Armour, pouch slots/pockets |
SIZE_MEDIUM | Backpacks, belts. Size of pistols, general magazines |
SIZE_LARGE | Size of rifles, SMGs |
SIZE_HUGE | Using Large does the same job |
get_area | Get the ultimate area of A , similarly to get_turf. |
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
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
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
Armour, pouch slots/pockets
SIZE_TINY
Helmets
get_area
Get the ultimate area of A
, similarly to get_turf.
Use instead of A.loc.loc
.