---
# System prepended metadata

title: ID card design
tags: [' Access', Design, ' Cards']

---

---
tags: Design, Access, Cards
title: ID card design
---
# ID card design
[toc]

# Maintainer Design Flows
:::warning
This section describes design flows that are meant to be upheld in the PR process. **PRs that go against this section are subject to closing.** Please do not edit this section unless you are a maintainer. Comments via sidebar are welcomed.
:::

---

## Justification / Outcomes wanted
Right, so right now if a single generous person gets access to the captains card or the spare, everyone and their dog can end up with all access and there's very little way to tell when someone has all access, or their card is modified beyond the default permissions.

I feel that the decision of getting access to large parts of the station should have commensurate increases in how stealthy you appear to the crew. That is, as you gain more and more access, up to and including all access, the type of ID card you have to carry becomes more and more conspicious and roving security, detectives and random busybodies are more likely to spot your elevated access levels.

Furthermore, when getting access to the Access console and selecting roles as an Antag or a greytider or whoever, I feel you should be forced to make tradeoff decisions about what areas you choose to get extra access too, dependent on the type of gear you've managed to acquire.

I want it such that even if the captains spare leaks, or the captain's actual card is also lost to greytide or antags, this does not result in eveyrone having all access, instead, those ID cards are still highly desired for their all access properties.

Finally I want it such that players with all access or lots of access are forced to confront hard decisions about what accesses they can give out to other members of their group and how quickly they can do that.

The outcomes here are that
* People who plan ahead and gather more ID cards are rewarded
* People are forced to make difficult and meaningful decisions about what areas of the station they get access to on their cards
* Granting yourself large amounts of accesses increases the visibility and your risk profile to other staff and security members

The general way in which I hope to acheive this is to make access flag slots and the cards themselves a limited resource with modifiers that lead to player's making strategic decisions.

**Note, some of the limits are literally made up from my brain based on guesswork and subject to change as we thrash out this idea**

## Card levels
Cards are assigned a number of wildcard, and predefined slots based on the Colour of the card and the Trim.

They also have a maximum flag level per wildcard slot that determines the highest level of acces category that specific slot can support.

This means that basic ID cards can only carry a small number of accesses, which means, even with a wallet, you have to make decisions about what accesses you actually grant yourself, or hustle and grind to get yourself access to the higher tier cards, with commensurate increases in your visibility and risk taking.

### Wildcard slots
These slots can have any access assigned to them, up to the maximum allowed by the card type and up to the maximum level allowed to the card.

### Predefined slots
These are slots for specific types of access on the card, they may not be toggled on but the card supports these specific ones if you can turn them on and turning them on does not count towards your wildcard slots.

There are a higher more of these on each card to support departmental accesses, but predefined slots will only grant access to specific types of area.

### Flag levels
Access flags are categorised into levels of access

First the station categories
* Common (Departmental/general/common area accesses)
* Command (Command staff/secure accesses, think bridge/armoury, AI upload, notably access to modify ID cards themselves)
* Private Command (Private head of staff offices, usually only granted to most cards by trimming)
* Captain level (Captains private rooms.)

Now some misc categories
* Centcomm Level (Centcomm area stuff)
* Syndicate level (Syndicate areas off station)

## Types of card
* Grey - The basic card, this has only two wildcard slots, in addition to this, it can only carry common level access flags.
* Silver - The head's card of choice, this has five wildcard slots for extra accesses and can carry up to five common and up to two command level access flags.
* Gold - The card of choice for all access, this can take any/all permission roles it can take Common/Command/Private Command/Captain level flags.
* Centcomm - A gold card that also has centcomm category support.
* Syndicate - A gold card that also has syndicate category support, status item!!
* Deathsquad - Centcomm card but cooler
* Prisoner - No levels of access, predefined prisoner access flags only

#### Disguised chameleon/Agent ID 
This will probably be the most controversial aspect of the changes so I've split it out into it's own section as there's a bit to unpack.

* This card can only hold five wildcard slots 
* One at captain level or command/common
* One at command level or common
* The remaining three at common level.

This ties back to the justifications and outcomes presented in the start of the document. Having lots of access should be something that raises your profile, so having a disguised ID should limit the number of slots available so you have to make trade off decisions about amount of access VS stealth level.

It also means you have to decide what accesses you want to target which areas of the station to better achieve your objectives, rather than just the blanket, give myself all areas and not have to confront any hard tactical decisions now or later

When you click on a card to clone it, you will only get access to it's flags, and you have a UI to decide which flags you clone.

### Trims
The "Trim" of the card modifies the predefined slots available - this is so department cards can get the relevant department slots without interfering with wildcard slots

For example, if you have the red security Trim and corresponding software (for the lore nerds), your card will have predefined slots for the security department accesses (security area, brig, break room, prisoner transfer etc).

A silver card with a department trim also gains a pre defined slot to cover that head's private office.

### Trim painter
The head of personnel has a trim painter machine that can repaint a card's trim and reprogram the software, but a card only supports one trim, so a given card can only allow access to one departments flags, and you need to use wildcard slots to access other areas/departments. It's expected this machine can be built by others with a modicum of effort, because note that while it grants the predefined slots, it **does not** toggle them on. So you still need an ID console.


### Concrete examples
A security officer might have a grey card, with security trim, that has the security predefined job flags on, and space for two wild card slots.

If they get access to the ID console, they could choose two more accesses to add to this card, but only common accesses (maybe engineering for example)

The head of security will have a silver card, with the security trim, that has all his accesses and the appropriate command accesses (which take up a wildard slot).

If he gets access to the ID console he can grant himself one extra command level access (maybe he wants AI upload access) and four common accesses, or five common accesses.

The captain has the captains card, it's gold and he can grant any station level accesses to himself. The same for the spare.

## UI
Becuase of the increased complexity presented by this change, it will need to be accompanied by an upgrade in the UI's for viewing accesses and updating cards.
### ID console
This should be merged with the Modular computer app for managing card ID's and all functions centralised into this one UI.

The predefined and wildcard slots should be displayed seperately for the card being operated on.

Clicking on a predefined slot lets you toggle that predefined access off or on (or perhaps a tick/cross selector buttons)

Clicking on a wildcard slot lets you select from the list/map? of all accesses available, up to the maximum level that the card supports for that wildcard slot

You should be able to predefine templates for card types and trims, such that when the card is inserted you can load your predefined template and quickly stamp out the card with set roles and flags. If the template has more roles than the card supports it should only write those it can write and then stop with the higher category accesses being prioritised first.

predefined template slots should *not* use wildcard slots if the predefined slot is not available on the card, it should instead do nothing.

The computer should come preloaded with **all** jobs as templates to minimize job switching change

#### Self defined templates
Users should be able to predefine their own template via a modular pc app, and then write a template disk they take to the HoP who can insert it and use it as a template to write to cards.

This is an extension feature and does not need to be in the initial release.

### Viewing access in game
Current cards have no on mob sprite, new cards should have an on mob sprite whenever they're in the IDcard slot. This sprite should be clearly visible on the mob and show the colour of the card, this makes wearing the gold card as no the captain a higher risk activity.

If they have a wallet, the card with the highest number of command accesses is the one that should be displayed on the on mob sprite

#### Shift clicking
Shift clicking a user should show their id card as a larger image in goonchat, such that you can immediately see the name/access on the card.

If the user has a wallet, the on mob sprite and the examine should default to the highest ranked card on the person


## Access to card base types
Silver and Grey cards should be orderable in cargo, perhaps even constructable.

Gold cards, should not be orderable, they are intended to be rare and highly valuable.

---
# Non-Maintainer Design Flows
:::info
This section describes various design flows that are not yet incorporated into the maintainer-approved design. **Working towards these flows does not guarantee merge, nor does going against these flows guarantee close. Please resort to `##` and below for heading tags, and preferably `Title (Author)` for easy reference. Titles can be set with YAML metadata. Ping Cobby on Discord if you need assistance embedding/generating your note.**
:::

# Question and Answer
:::info
This section is for people to put questions/thoughts and have maintainers reply in line. **Maintainer replies in bold**
:::

## Shift Clicking Sucks
ID cards will need to have an actual distinct on-mob sprite. Probably like doctor ID cards or something, because otherwise everyone is gonna have to shift click all the time and squint at the tiny ass shrunken id card images on the examine readout.

**I have some ideas about UI/usability that I will be expanding on when I have the time**

## I'll just have a box full of wallets full of ID cards
I can just have a fuckton of ID cards like I'm Jason Bourne but with access instead of fake passports, and whip 'em out as they're needed. However, this does involve inventory management, and makes you hella suspicious, so this could be a non-starter issue.

**It raises your risk profile so this is fine, one of the goals**

## High Access Jobs and Low Pop Access
Some jobs require a lot of general department access to do their job effectively or without frustration.
The most prominent example of this is the paramedic, who receives 12 unique accesses on their card at roundstart. The janitor is also often granted similar access to the paramedic, but does not start with it. 

Should these jobs receive 'unique' trims, making them more valuable to steal? Or should their access be curtailed?
 
**They will get unique trims which will be more valued**

## Agent ID Card
Does the chameleon ID replace the agent ID, which can copy access from any card, or is it a lower end version of the agent ID card? 

**It's the same card I just was not sure of the name, document updated**

---

embed notes here

---