byond - Modules - TypesDefine Details

code/__DEFINES/__game.dm

NO_FLAGSTo make it even more clear that something is a bitfield.
PLAYERCOUNT_LOWPOP_MAP_LIMITNumber of players before we switch to lowpop maps only (LV, BR, Prison).
PREROUND_TIMETime before the round starts.
CANDLE_LUMFor how bright candles are.
SPLIT_ADMIN_TABSSplits admin tabs in Statpanel
DOCK_ATTEMPT_TIMEOUThow long in ticks we wait before assuming the docking controller is broken or blown up.
ROUNDSTART_LOGOUT_REPORT_TIMEAmount of time (in deciseconds) after the rounds starts, that the player disconnect report is issued.
TRANSITIONEDGEDistance from edge to move to another z-level.
GET_RANDOM_FREQFrequency stuff only works with 45kbps oggs.
CEILING_NO_PROTECTIONDo not block any ordnance
CEILING_PROTECTION_TIER_1Blocks mortar placement, lasing, and medevac
CEILING_PROTECTION_TIER_2Blocks CAS signals, supply drops, fultoning, and mortar fire
CEILING_PROTECTION_TIER_3Blocks CAS fire
CEILING_PROTECTION_TIER_4Blocks OB fire
CEILING_IS_PROTECTEDOnly use the CEILING_PROTECTION_TIER_X defines for protection_level
BARRICADE_BSTATE_UNSECUREDIntermediate state before cade is movable (no apparent effect on health).
BARRICADE_BSTATE_MOVABLEReady to be deconstructed and can be moved.
EXTINGUISHER_WATER_USE_AMTAmount of water consumed by extinguisher per use.//why is this a define let alone a GLOBAL define oh my good lord
CHAT_CPM_ALLOWEDMax characters per minute allowed to speak
CHAT_CPM_MINIMUMMinimum character length counted for a single message
CHAT_CPM_PERIODBuffer period over which speaking budget is considered
CHAT_TYPE_ALLThis is so if we have newer flags, we still have ALL working. This will work for 16 first flags.
CHAT_TYPE_ALL_COMBATUsed for pre-setting tgchat message type as combat messages
TOGGLE_WINDOW_SKINWindow skin types
QUADTREE_CAPACITYMax amount of player coordinates in a quadtree cell
QUADTREE_BOUNDARY_MINIMUM_WIDTHMinimum X width up to which we keep dividing the tree (meaning cells can be half that)
QUADTREE_BOUNDARY_MINIMUM_HEIGHTMinimum Y height up to which we keep dividing the tree (meaning cells can be half that)
QTREE_SCAN_MOBSReturn mob list instead of client list.
/proc/get_ceiling_protection_level Convert a turf protection level to a ceiling protection level
BEAM_INFINITE_DURATIONFor beams with an infinite duration (deletion is handled separately)
AMOUNT_PER_TIMEUsed for calculations with delta_time when figuring how much "amount" to give per "time" amount - The number to get per time time - The time period in which to gain this amount To be used with delta_time. Multiplied by 10 to convert from deciseconds to seconds
PERF_TOGGLE_LAZYSSSet conservative MC timings on game start
PERF_TOGGLE_NOBLOODPRINTSDisable bloody footprints
PERF_TOGGLE_ATTACKLOGSDisable file-based attacklogs
PERF_TOGGLE_SHUTTLESDisables loading/ticking shuttle controllers
PERF_TOGGLE_TECHWEBSDisables loading Techwebs and additional Z-Levels

Define Details

AMOUNT_PER_TIME

Used for calculations with delta_time when figuring how much "amount" to give per "time" amount - The number to get per time time - The time period in which to gain this amount To be used with delta_time. Multiplied by 10 to convert from deciseconds to seconds

BARRICADE_BSTATE_MOVABLE

Ready to be deconstructed and can be moved.

BARRICADE_BSTATE_UNSECURED

Intermediate state before cade is movable (no apparent effect on health).

BEAM_INFINITE_DURATION

For beams with an infinite duration (deletion is handled separately)

CANDLE_LUM

For how bright candles are.

CEILING_IS_PROTECTED

Only use the CEILING_PROTECTION_TIER_X defines for protection_level

CEILING_NO_PROTECTION

Do not block any ordnance

CEILING_PROTECTION_TIER_1

Blocks mortar placement, lasing, and medevac

CEILING_PROTECTION_TIER_2

Blocks CAS signals, supply drops, fultoning, and mortar fire

CEILING_PROTECTION_TIER_3

Blocks CAS fire

CEILING_PROTECTION_TIER_4

Blocks OB fire

CHAT_CPM_ALLOWED

Max characters per minute allowed to speak

CHAT_CPM_MINIMUM

Minimum character length counted for a single message

CHAT_CPM_PERIOD

Buffer period over which speaking budget is considered

CHAT_TYPE_ALL

This is so if we have newer flags, we still have ALL working. This will work for 16 first flags.

CHAT_TYPE_ALL_COMBAT

Used for pre-setting tgchat message type as combat messages

DOCK_ATTEMPT_TIMEOUT

how long in ticks we wait before assuming the docking controller is broken or blown up.

EXTINGUISHER_WATER_USE_AMT

Amount of water consumed by extinguisher per use.//why is this a define let alone a GLOBAL define oh my good lord

GET_RANDOM_FREQ

Frequency stuff only works with 45kbps oggs.

NO_FLAGS

To make it even more clear that something is a bitfield.

PERF_TOGGLE_ATTACKLOGS

Disable file-based attacklogs

PERF_TOGGLE_LAZYSS

Set conservative MC timings on game start

PERF_TOGGLE_NOBLOODPRINTS

Disable bloody footprints

PERF_TOGGLE_SHUTTLES

Disables loading/ticking shuttle controllers

PERF_TOGGLE_TECHWEBS

Disables loading Techwebs and additional Z-Levels

PLAYERCOUNT_LOWPOP_MAP_LIMIT

Number of players before we switch to lowpop maps only (LV, BR, Prison).

PREROUND_TIME

Time before the round starts.

QTREE_SCAN_MOBS

Return mob list instead of client list.

QUADTREE_BOUNDARY_MINIMUM_HEIGHT

Minimum Y height up to which we keep dividing the tree (meaning cells can be half that)

QUADTREE_BOUNDARY_MINIMUM_WIDTH

Minimum X width up to which we keep dividing the tree (meaning cells can be half that)

QUADTREE_CAPACITY

Max amount of player coordinates in a quadtree cell

ROUNDSTART_LOGOUT_REPORT_TIME

Amount of time (in deciseconds) after the rounds starts, that the player disconnect report is issued.

SPLIT_ADMIN_TABS

Splits admin tabs in Statpanel

TOGGLE_WINDOW_SKIN

Window skin types

TRANSITIONEDGE

Distance from edge to move to another z-level.