/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/id_cards.dm

WILDCARD_LIMIT_GREYThe order in which these lists are defined matters. When attempting to add a wildcard access to a card and not specifying an explicit wildcard slot in which to include it, the code will iterate over the list and stop at the first wildcard flag that can hold the access.
WILDCARD_LIMIT_SILVERWildcard slot define for Head of Staff silver cards. Can hold 6 common, 2 command and 1 private command.
WILDCARD_LIMIT_GOLDWildcard slot define for Captain gold cards. Can hold infinite of any Captain level wildcard.
WILDCARD_LIMIT_SYNDICATEWildcard slot define for select Syndicate-affiliated cards. Can hold infinite of any Syndicate level wildcard. Syndicate includes all station accesses.
WILDCARD_LIMIT_DEATHSQUADWildcard slot define for Deathsquad black cards. Can hold infinite of any Centcom level wildcard. Centcom includes all station accesses.
WILDCARD_LIMIT_CENTCOMWildcard slot define for Centcom blue cards. Can hold infinite of any Centcom level wildcard. Centcom includes all station accesses.
WILDCARD_LIMIT_PRISONERWildcard slot define for Prisoner orange cards. No wildcard slots.
WILDCARD_LIMIT_CHAMELEONWildcard slot define for Chameleon/Agent ID grey cards. Can hold 6 common, 2 command and 1 captain access.
WILDCARD_LIMIT_ADMINWildcard slot define for admin/debug/weird, special abstract cards. Can hold infinite of any access.
ID_ICON_BORDERSx1, y1, x2, y2 - Represents the bounding box for the ID card's non-transparent portion of its various icon_states. Used to crop the ID card's transparency away when chaching the icon for better use in tgui chat.
HONORIFIC_POSITION_FIRSTHonorific will display next to the first name.
HONORIFIC_POSITION_LASTHonorific will display next to the last name.
HONORIFIC_POSITION_NONEHonorific will not be displayed.
HONORIFIC_POSITION_FIRST_FULLHonorific will be appended to the full name at the start.
HONORIFIC_POSITION_LAST_FULLHonorific will be appended to the full name at the end.

Define Details

HONORIFIC_POSITION_FIRST

Honorific will display next to the first name.

HONORIFIC_POSITION_FIRST_FULL

Honorific will be appended to the full name at the start.

HONORIFIC_POSITION_LAST

Honorific will display next to the last name.

HONORIFIC_POSITION_LAST_FULL

Honorific will be appended to the full name at the end.

HONORIFIC_POSITION_NONE

Honorific will not be displayed.

ID_ICON_BORDERS

x1, y1, x2, y2 - Represents the bounding box for the ID card's non-transparent portion of its various icon_states. Used to crop the ID card's transparency away when chaching the icon for better use in tgui chat.

WILDCARD_LIMIT_ADMIN

Wildcard slot define for admin/debug/weird, special abstract cards. Can hold infinite of any access.

WILDCARD_LIMIT_CENTCOM

Wildcard slot define for Centcom blue cards. Can hold infinite of any Centcom level wildcard. Centcom includes all station accesses.

WILDCARD_LIMIT_CHAMELEON

Wildcard slot define for Chameleon/Agent ID grey cards. Can hold 6 common, 2 command and 1 captain access.

WILDCARD_LIMIT_DEATHSQUAD

Wildcard slot define for Deathsquad black cards. Can hold infinite of any Centcom level wildcard. Centcom includes all station accesses.

WILDCARD_LIMIT_GOLD

Wildcard slot define for Captain gold cards. Can hold infinite of any Captain level wildcard.

WILDCARD_LIMIT_GREY

The order in which these lists are defined matters. When attempting to add a wildcard access to a card and not specifying an explicit wildcard slot in which to include it, the code will iterate over the list and stop at the first wildcard flag that can hold the access.

The lower level the access, the earlier in the list it should be so that low level wildcards get added to the lowest wildcard flag that can take them.

A limit of -1 means infinite slots. The system is designed to reject a wildcard when the slot limit explicitly equal 0 for all compatible wildcard slots. Wildcard slot define for basic grey cards. Only hold 4 common wildcards.

WILDCARD_LIMIT_PRISONER

Wildcard slot define for Prisoner orange cards. No wildcard slots.

WILDCARD_LIMIT_SILVER

Wildcard slot define for Head of Staff silver cards. Can hold 6 common, 2 command and 1 private command.

WILDCARD_LIMIT_SYNDICATE

Wildcard slot define for select Syndicate-affiliated cards. Can hold infinite of any Syndicate level wildcard. Syndicate includes all station accesses.