id_trim ![code/datums/id_trim/_id_trim.dm 2](git.png)
Simple datum that holds the basic information associated with an ID card trim.
Vars | |
access | Accesses that this trim unlocks on a card it is imprinted on. These accesses never take wildcard slots and can be added and removed at will. |
---|---|
assignment | Job/assignment associated with this trim. Can be transferred to ID cards holding this trim. |
department_color | Department color for this trim. Displayed in the box under the trim_state. |
department_state | Department icon state, for differentiating between heads and normal crew and other use cases. |
intern_alt_name | The name of the job for interns. If unset it will default to "[assignment] (Intern)". |
orbit_icon | Icons to be displayed in the orbit ui. Source: FontAwesome v6 Free Edition. |
sechud_icon_state | The icon_state associated with this trim, as it will show on the security HUD. |
subdepartment_color | Subdepartment color for this trim. Displayed as a bar under the trim_state and department_color. |
trim_icon | Icon file for this trim. |
trim_state | Icon state for this trim. Overlayed on advanced ID cards. |
wildcard_access | Accesses that this trim unlocks on a card that require wildcard slots to apply. If a card cannot accept all a trim's wildcard accesses, the card is incompatible with the trim. |
Var Details
access ![code/datums/id_trim/_id_trim.dm 23](git.png)
Accesses that this trim unlocks on a card it is imprinted on. These accesses never take wildcard slots and can be added and removed at will.
assignment ![code/datums/id_trim/_id_trim.dm 14](git.png)
Job/assignment associated with this trim. Can be transferred to ID cards holding this trim.
department_color ![code/datums/id_trim/_id_trim.dm 8](git.png)
Department color for this trim. Displayed in the box under the trim_state.
department_state ![code/datums/id_trim/_id_trim.dm 10](git.png)
Department icon state, for differentiating between heads and normal crew and other use cases.
intern_alt_name ![code/datums/id_trim/_id_trim.dm 16](git.png)
The name of the job for interns. If unset it will default to "[assignment] (Intern)".
orbit_icon ![code/datums/id_trim/_id_trim.dm 20](git.png)
Icons to be displayed in the orbit ui. Source: FontAwesome v6 Free Edition.
sechud_icon_state ![code/datums/id_trim/_id_trim.dm 18](git.png)
The icon_state associated with this trim, as it will show on the security HUD.
subdepartment_color ![code/datums/id_trim/_id_trim.dm 12](git.png)
Subdepartment color for this trim. Displayed as a bar under the trim_state and department_color.
trim_icon ![code/datums/id_trim/_id_trim.dm 4](git.png)
Icon file for this trim.
trim_state ![code/datums/id_trim/_id_trim.dm 6](git.png)
Icon state for this trim. Overlayed on advanced ID cards.
wildcard_access ![code/datums/id_trim/_id_trim.dm 25](git.png)
Accesses that this trim unlocks on a card that require wildcard slots to apply. If a card cannot accept all a trim's wildcard accesses, the card is incompatible with the trim.