/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/machines.dm

AREA_USAGE_DYNAMIC_STARTIndex of the first dynamic usage channel
AREA_USAGE_DYNAMIC_ENDIndex of the last dynamic usage channel
AREA_USAGE_STATIC_STARTIndex of the first static usage channel
AREA_USAGE_STATIC_ENDIndex of the last static usage channel
BASE_MACHINE_IDLE_CONSUMPTIONBase global power consumption for idling machines
BASE_MACHINE_ACTIVE_CONSUMPTIONBase global power consumption for active machines. The unit is ambiguous (joules or watts) depending on the use case for dynamic users.
START_PROCESSING_ON_INITBitflags for a machine's preferences on when it should start processing. For use with machinery's processing_flags var. Indicates the machine will automatically start processing right after its Initialize() is ran.
START_PROCESSING_MANUALLYMachines with this flag will not start processing when it's spawned. Use this if you want to manually control when a machine starts processing.
DEFAULT_DOOR_CHECKSWe should go through the door's normal opening procedure, no overrides.
FORCING_DOOR_CHECKSWe're not going through the door's normal opening procedure, we're forcing it open. Can still fail if it's emagged or something. Costs power.
BYPASS_DOOR_CHECKSWe are getting this door open if it has not been physically held shut somehow. Play a special sound to signify this level of opening.
AWAY_LATHEProtolathes for offstation roles. More limited tech tree.
AWAY_IMPRINTERImprinters for offstation roles. More limited tech tree.
COMPONENT_PRINTERFor wiremod/integrated circuits. Uses various minerals.
SYNDIEBOMB_MIN_TIMER_SECONDSWhat's the minimum duration of a syndie bomb (in seconds)
MAX_STATUS_LINE_LENGTHMax length of a status line in the status display
AUTO_ANNOUNCE_ARRIVALDefine for automated system arrival announcement
AUTO_ANNOUNCE_NEWHEADDefine for automated system announcement when a head of staff arrives
AUTO_ANNOUNCE_ARRIVALS_BROKENDefine for automated system announcement for when the arrival shuttle is broken
AUTO_ANNOUNCE_NODEDefine for automated system announcement for researched nodes
SD_BLANKBlank Status Display
SD_EMERGENCYShows the emergency shuttle timer
SD_MESSAGEShows an arbitrary message, user-set
SD_PICTUREShows an alert picture (e.g. red alert, radiation, etc.)

Define Details

AREA_USAGE_DYNAMIC_END

Index of the last dynamic usage channel

AREA_USAGE_DYNAMIC_START

Index of the first dynamic usage channel

AREA_USAGE_STATIC_END

Index of the last static usage channel

AREA_USAGE_STATIC_START

Index of the first static usage channel

AUTO_ANNOUNCE_ARRIVAL

Define for automated system arrival announcement

AUTO_ANNOUNCE_ARRIVALS_BROKEN

Define for automated system announcement for when the arrival shuttle is broken

AUTO_ANNOUNCE_NEWHEAD

Define for automated system announcement when a head of staff arrives

AUTO_ANNOUNCE_NODE

Define for automated system announcement for researched nodes

AWAY_IMPRINTER

Imprinters for offstation roles. More limited tech tree.

AWAY_LATHE

Protolathes for offstation roles. More limited tech tree.

BASE_MACHINE_ACTIVE_CONSUMPTION

Base global power consumption for active machines. The unit is ambiguous (joules or watts) depending on the use case for dynamic users.

BASE_MACHINE_IDLE_CONSUMPTION

Base global power consumption for idling machines

BYPASS_DOOR_CHECKS

We are getting this door open if it has not been physically held shut somehow. Play a special sound to signify this level of opening.

COMPONENT_PRINTER

For wiremod/integrated circuits. Uses various minerals.

DEFAULT_DOOR_CHECKS

We should go through the door's normal opening procedure, no overrides.

FORCING_DOOR_CHECKS

We're not going through the door's normal opening procedure, we're forcing it open. Can still fail if it's emagged or something. Costs power.

MAX_STATUS_LINE_LENGTH

Max length of a status line in the status display

SD_BLANK

Blank Status Display

SD_EMERGENCY

Shows the emergency shuttle timer

SD_MESSAGE

Shows an arbitrary message, user-set

SD_PICTURE

Shows an alert picture (e.g. red alert, radiation, etc.)

START_PROCESSING_MANUALLY

Machines with this flag will not start processing when it's spawned. Use this if you want to manually control when a machine starts processing.

START_PROCESSING_ON_INIT

Bitflags for a machine's preferences on when it should start processing. For use with machinery's processing_flags var. Indicates the machine will automatically start processing right after its Initialize() is ran.

SYNDIEBOMB_MIN_TIMER_SECONDS

What's the minimum duration of a syndie bomb (in seconds)