id

"Retro" ID card that renders itself as the icon state with no overlays.
Vars | |
access | Access levels held by this card. |
---|---|
assignment | The job name registered on the card (for example: Assistant). Set by template usually. |
blood_type | Registered owner's blood type. |
cached_flat_icon | Cached icon that has been built for this card. Intended for use in chat. |
dna_hash | Registered owner's dna hash. |
fingerprint | Registered owner's fingerprint. |
is_intern | Boolean value. If TRUE, the [Intern] tag gets prepended to this ID card when the label is updated. |
label | The name used in the ID UI. See update_label() |
mining_points | How many magical mining Disney Dollars this card has for spending at the mining equipment vendors. |
registered_account | Linked bank account. |
registered_age | Registered owner's age. |
registered_name | The name registered on the card (for example: Dr Bryan See) |
template | Template datum associated with the card. Controls which job icon is displayed on the card. |
Procs | |
add_access | Adds a list of accesses to the ID's access |
can_use_id | Helper proc. Can the user interact with the ID? |
clear_access | Clears all accesses from the ID card. |
clear_account | Clears the economy account from the ID card. |
get_cached_flat_icon | If no cached_flat_icon exists, this proc creates it and crops it. This proc then returns the cached_flat_icon. Intended only for use displaying ID card icons in chat. |
get_template_assignment | Returns the template assignment name. |
get_template_sechud_icon_state | Returns the template sechud icon state. |
remove_access | Removes the given list of accesses from the card |
set_access | Sets the access to the given list, removing any previous accesses. |
set_icon | Sets the UI icon of the ID to their datacore entry, or their current appearance if no record is found. |
set_new_account | Attempts to set a new bank account on the ID card. |
update_label | Updates the name based on the card's vars and state. |
Var Details
access

Access levels held by this card.
assignment

The job name registered on the card (for example: Assistant). Set by template usually.
blood_type

Registered owner's blood type.
cached_flat_icon

Cached icon that has been built for this card. Intended for use in chat.
dna_hash

Registered owner's dna hash.
fingerprint

Registered owner's fingerprint.
is_intern

Boolean value. If TRUE, the [Intern] tag gets prepended to this ID card when the label is updated.
label

The name used in the ID UI. See update_label()
mining_points

How many magical mining Disney Dollars this card has for spending at the mining equipment vendors.
registered_account

Linked bank account.
registered_age

Registered owner's age.
registered_name

The name registered on the card (for example: Dr Bryan See)
template

Template datum associated with the card. Controls which job icon is displayed on the card.
Proc Details
add_access
Adds a list of accesses to the ID's access
can_use_id
Helper proc. Can the user interact with the ID?
clear_access
Clears all accesses from the ID card.
clear_account
Clears the economy account from the ID card.
get_cached_flat_icon
If no cached_flat_icon exists, this proc creates it and crops it. This proc then returns the cached_flat_icon. Intended only for use displaying ID card icons in chat.
get_template_assignment
Returns the template assignment name.
get_template_sechud_icon_state
Returns the template sechud icon state.
remove_access
Removes the given list of accesses from the card
set_access
Sets the access to the given list, removing any previous accesses.
set_icon
Sets the UI icon of the ID to their datacore entry, or their current appearance if no record is found.
set_new_account
Attempts to set a new bank account on the ID card.
update_label
Updates the name based on the card's vars and state.