mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
50 lines
2.0 KiB
Plaintext
50 lines
2.0 KiB
Plaintext
#define IC_INPUT "I"
|
|
#define IC_OUTPUT "O"
|
|
#define IC_ACTIVATOR "A"
|
|
|
|
// Pin functionality.
|
|
#define DATA_CHANNEL "data channel"
|
|
#define PULSE_CHANNEL "pulse channel"
|
|
|
|
// Methods of obtaining a circuit.
|
|
#define IC_SPAWN_DEFAULT 1 // If the circuit comes in the default circuit box and is able to be printed in the IC printer.
|
|
#define IC_SPAWN_RESEARCH 2 // If the circuit design will be available in the IC printer after upgrading it.
|
|
|
|
// Categories that help differentiate circuits that can do different types of actions
|
|
#define IC_ACTION_MOVEMENT (1<<0) // If the circuit can move the assembly
|
|
#define IC_ACTION_COMBAT (1<<1) // If the circuit can cause harm
|
|
#define IC_ACTION_LONG_RANGE (1<<2) // If the circuit communicate with something outside of the assembly
|
|
|
|
// Displayed along with the pin name to show what type of pin it is.
|
|
#define IC_FORMAT_ANY "\<ANY\>"
|
|
#define IC_FORMAT_STRING "\<TEXT\>"
|
|
#define IC_FORMAT_CHAR "\<CHAR\>"
|
|
#define IC_FORMAT_COLOR "\<COLOR\>"
|
|
#define IC_FORMAT_NUMBER "\<NUM\>"
|
|
#define IC_FORMAT_DIR "\<DIR\>"
|
|
#define IC_FORMAT_BOOLEAN "\<BOOL\>"
|
|
#define IC_FORMAT_REF "\<REF\>"
|
|
#define IC_FORMAT_LIST "\<LIST\>"
|
|
#define IC_FORMAT_INDEX "\<INDEX\>"
|
|
|
|
#define IC_FORMAT_PULSE "\<PULSE\>"
|
|
|
|
// Used inside input/output list to tell the constructor what pin to make.
|
|
#define IC_PINTYPE_ANY /datum/integrated_io
|
|
#define IC_PINTYPE_STRING /datum/integrated_io/string
|
|
#define IC_PINTYPE_CHAR /datum/integrated_io/char
|
|
#define IC_PINTYPE_COLOR /datum/integrated_io/color
|
|
#define IC_PINTYPE_NUMBER /datum/integrated_io/number
|
|
#define IC_PINTYPE_DIR /datum/integrated_io/dir
|
|
#define IC_PINTYPE_BOOLEAN /datum/integrated_io/boolean
|
|
#define IC_PINTYPE_REF /datum/integrated_io/ref
|
|
#define IC_PINTYPE_LIST /datum/integrated_io/lists
|
|
#define IC_PINTYPE_INDEX /datum/integrated_io/index
|
|
#define IC_PINTYPE_SELFREF /datum/integrated_io/selfref
|
|
|
|
#define IC_PINTYPE_PULSE_IN /datum/integrated_io/activate
|
|
#define IC_PINTYPE_PULSE_OUT /datum/integrated_io/activate/out
|
|
|
|
// Data limits.
|
|
#define IC_MAX_LIST_LENGTH 500
|