/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/modular_computer.dm

PROGRAM_ALLcan_run_on_flags bitflags Used by programs to tell what type of ModPC it can run on. Everything a program can run on needs valid icons for each individual one. Runs on everything.
PROGRAM_CONSOLECan run on Modular PC Consoles
PROGRAM_LAPTOPCan run on Laptops.
PROGRAM_PDACan run on PDAs.
PROGRAM_REQUIRES_NTNETprogram_flags Used by programs to tell the ModPC any special functions it has. If the program requires NTNet to be online for it to work.
PROGRAM_ON_NTNET_STOREThe program can be downloaded from the default NTNet downloader store.
PROGRAM_ON_SYNDINET_STOREThe program can only be downloaded from the Syndinet store, usually nukie/emagged pda.
PROGRAM_UNIQUE_COPYThe program is unique and will delete itself upon being transferred to ensure only one copy exists.
PROGRAM_HEADERThe program is a header and will show up at the top of the ModPC's UI.
PROGRAM_RUNS_WITHOUT_POWERThe program will run despite the ModPC not having any power in it.
PROGRAM_CIRCUITS_RUN_WHEN_CLOSEDThe circuit ports of this program can be triggered even if the program is not open
PROGRAM_BASIC_CELL_USEThe default amount a program should take in cell use.
DETOMATIX_RESIST_MINORThis app grants a minor protection against being PDA bombed if installed. (can sometimes prevent it from being sent, while wasting a PDA bomb from the sender).
DETOMATIX_RESIST_MAJORThis app grants a larger protection against being PDA bombed if installed. (can sometimes prevent it from being sent, while wasting a PDA bomb from the sender).
DETOMATIX_RESIST_MALUSThis app gives a diminished protection against being PDA bombed if installed.
NTNETSPEED_LOWSIGNALNTNet transfer speeds, used when downloading/uploading a file/program. The define is how fast it will download an app every program's process_tick. Used for wireless devices with low signal.
NTNETSPEED_HIGHSIGNALUsed for wireless devices with high signal.
NTNETSPEED_ETHERNETUsed for laptops with a high signal, or computers, which is connected regardless of z level.
NTNET_NO_SIGNALNTNet connection signals Used to calculate the defines above from NTNet Downloader, this is how good a ModPC's signal is. When you're away from the station/mining base and not on a console, you can't access the internet.
NTNET_LOW_SIGNALLow signal, so away from the station, but still connected
NTNET_GOOD_SIGNALOn station with good signal.
NTNET_ETHERNET_SIGNALUsing a Computer or Laptop with good signal, ethernet-connected.
MESSENGER_RINGTONE_DEFAULTThe default ringtone of the Messenger app.
MESSENGER_RINGTONE_MAX_LENGTHThe maximum length of the ringtone of the Messenger app.
PDA_THEME_NTOSPDA Themes For these to work, the defines must be defined in tgui/styles/themes/[define].scss Default NtOS PDA theme
PDA_THEME_SYNDICATEEmagged/Syndicate NtOS (SyndiOS) PDA theme

Define Details

DETOMATIX_RESIST_MAJOR

This app grants a larger protection against being PDA bombed if installed. (can sometimes prevent it from being sent, while wasting a PDA bomb from the sender).

DETOMATIX_RESIST_MALUS

This app gives a diminished protection against being PDA bombed if installed.

DETOMATIX_RESIST_MINOR

This app grants a minor protection against being PDA bombed if installed. (can sometimes prevent it from being sent, while wasting a PDA bomb from the sender).

MESSENGER_RINGTONE_DEFAULT

The default ringtone of the Messenger app.

MESSENGER_RINGTONE_MAX_LENGTH

The maximum length of the ringtone of the Messenger app.

NTNETSPEED_ETHERNET

Used for laptops with a high signal, or computers, which is connected regardless of z level.

NTNETSPEED_HIGHSIGNAL

Used for wireless devices with high signal.

NTNETSPEED_LOWSIGNAL

NTNet transfer speeds, used when downloading/uploading a file/program. The define is how fast it will download an app every program's process_tick. Used for wireless devices with low signal.

NTNET_ETHERNET_SIGNAL

Using a Computer or Laptop with good signal, ethernet-connected.

NTNET_GOOD_SIGNAL

On station with good signal.

NTNET_LOW_SIGNAL

Low signal, so away from the station, but still connected

NTNET_NO_SIGNAL

NTNet connection signals Used to calculate the defines above from NTNet Downloader, this is how good a ModPC's signal is. When you're away from the station/mining base and not on a console, you can't access the internet.

PDA_THEME_NTOS

PDA Themes For these to work, the defines must be defined in tgui/styles/themes/[define].scss Default NtOS PDA theme

PDA_THEME_SYNDICATE

Emagged/Syndicate NtOS (SyndiOS) PDA theme

PROGRAM_ALL

can_run_on_flags bitflags Used by programs to tell what type of ModPC it can run on. Everything a program can run on needs valid icons for each individual one. Runs on everything.

PROGRAM_BASIC_CELL_USE

The default amount a program should take in cell use.

PROGRAM_CIRCUITS_RUN_WHEN_CLOSED

The circuit ports of this program can be triggered even if the program is not open

PROGRAM_CONSOLE

Can run on Modular PC Consoles

PROGRAM_HEADER

The program is a header and will show up at the top of the ModPC's UI.

PROGRAM_LAPTOP

Can run on Laptops.

PROGRAM_ON_NTNET_STORE

The program can be downloaded from the default NTNet downloader store.

PROGRAM_ON_SYNDINET_STORE

The program can only be downloaded from the Syndinet store, usually nukie/emagged pda.

PROGRAM_PDA

Can run on PDAs.

PROGRAM_REQUIRES_NTNET

program_flags Used by programs to tell the ModPC any special functions it has. If the program requires NTNet to be online for it to work.

PROGRAM_RUNS_WITHOUT_POWER

The program will run despite the ModPC not having any power in it.

PROGRAM_UNIQUE_COPY

The program is unique and will delete itself upon being transferred to ensure only one copy exists.