code/__DEFINES/id_cards.dm ![code/__DEFINES/id_cards.dm0](git.png)
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. |
---|---|
WILDCARD_LIMIT_SILVER | Wildcard slot define for Head of Staff silver cards. Can hold 6 common, 2 command and 1 private command. |
WILDCARD_LIMIT_GOLD | Wildcard slot define for Captain gold cards. Can hold infinite of any Captain level wildcard. |
WILDCARD_LIMIT_SYNDICATE | Wildcard slot define for select Syndicate-affiliated cards. Can hold infinite of any Syndicate level wildcard. Syndicate includes all station accesses. |
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_CENTCOM | Wildcard slot define for Centcom blue cards. Can hold infinite of any Centcom level wildcard. Centcom includes all station accesses. |
WILDCARD_LIMIT_PRISONER | Wildcard slot define for Prisoner orange cards. No wildcard slots. |
WILDCARD_LIMIT_CHAMELEON | Wildcard slot define for Chameleon/Agent ID grey cards. Can hold 6 common, 2 command and 1 captain access. |
WILDCARD_LIMIT_ADMIN | Wildcard slot define for admin/debug/weird, special abstract cards. Can hold infinite of any access. |
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. |
HONORIFIC_POSITION_FIRST | Honorific will display next to the first name. |
HONORIFIC_POSITION_LAST | Honorific will display next to the last name. |
HONORIFIC_POSITION_NONE | Honorific will not be displayed. |
HONORIFIC_POSITION_FIRST_FULL | Honorific will be appended to the full name at the start. |
HONORIFIC_POSITION_LAST_FULL | Honorific will be appended to the full name at the end. |
Define Details
HONORIFIC_POSITION_FIRST ![code/__DEFINES/id_cards.dm 47](git.png)
Honorific will display next to the first name.
HONORIFIC_POSITION_FIRST_FULL ![code/__DEFINES/id_cards.dm 53](git.png)
Honorific will be appended to the full name at the start.
HONORIFIC_POSITION_LAST ![code/__DEFINES/id_cards.dm 49](git.png)
Honorific will display next to the last name.
HONORIFIC_POSITION_LAST_FULL ![code/__DEFINES/id_cards.dm 55](git.png)
Honorific will be appended to the full name at the end.
HONORIFIC_POSITION_NONE ![code/__DEFINES/id_cards.dm 51](git.png)
Honorific will not be displayed.
ID_ICON_BORDERS ![code/__DEFINES/id_cards.dm 44](git.png)
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 ![code/__DEFINES/id_cards.dm 38](git.png)
Wildcard slot define for admin/debug/weird, special abstract cards. Can hold infinite of any access.
WILDCARD_LIMIT_CENTCOM ![code/__DEFINES/id_cards.dm 28](git.png)
Wildcard slot define for Centcom blue cards. Can hold infinite of any Centcom level wildcard. Centcom includes all station accesses.
WILDCARD_LIMIT_CHAMELEON ![code/__DEFINES/id_cards.dm 32](git.png)
Wildcard slot define for Chameleon/Agent ID grey cards. Can hold 6 common, 2 command and 1 captain access.
WILDCARD_LIMIT_DEATHSQUAD ![code/__DEFINES/id_cards.dm 26](git.png)
Wildcard slot define for Deathsquad black cards. Can hold infinite of any Centcom level wildcard. Centcom includes all station accesses.
WILDCARD_LIMIT_GOLD ![code/__DEFINES/id_cards.dm 22](git.png)
Wildcard slot define for Captain gold cards. Can hold infinite of any Captain level wildcard.
WILDCARD_LIMIT_GREY ![code/__DEFINES/id_cards.dm 14](git.png)
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 ![code/__DEFINES/id_cards.dm 30](git.png)
Wildcard slot define for Prisoner orange cards. No wildcard slots.
WILDCARD_LIMIT_SILVER ![code/__DEFINES/id_cards.dm 16](git.png)
Wildcard slot define for Head of Staff silver cards. Can hold 6 common, 2 command and 1 private command.
WILDCARD_LIMIT_SYNDICATE ![code/__DEFINES/id_cards.dm 24](git.png)
Wildcard slot define for select Syndicate-affiliated cards. Can hold infinite of any Syndicate level wildcard. Syndicate includes all station accesses.