code/__DEFINES/id_cards.dm
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. |
Define Details
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.