/tg/ Station 13 - Modules - TypesVar Details - Proc Details

id_trim

Simple datum that holds the basic information associated with an ID card trim.

Vars

accessAccesses 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.
assignmentJob/assignment associated with this trim. Can be transferred to ID cards holding this trim.
big_pointerIf true, IDs with this trim will grant wearers with bigger arrows when pointing
department_colorDepartment color for this trim. Displayed in the box under the trim_state.
department_stateDepartment icon state, for differentiating between heads and normal crew and other use cases.
honorific_positionsWhat positions can our honorific take? To prevent names like "Peter Dr."
honorificsWhat honorifics, if any, will we set our wearer's name to when worn?
intern_alt_nameThe name of the job for interns. If unset it will default to "[assignment] (Intern)".
pointer_colorIf set, IDs with this trim will give wearers arrows of different colors when pointing
sechud_icon_stateThe icon_state associated with this trim, as it will show on the security HUD.
subdepartment_colorSubdepartment color for this trim. Displayed as a bar under the trim_state and department_color.
threat_modifierHow threatened does a security bot feel when scanning this ID? A negative value may cause them to forgive things which would otherwise cause aggro.
trim_iconIcon file for this trim.
trim_stateIcon state for this trim. Overlayed on advanced ID cards.
wildcard_accessAccesses 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.

Procs

generate_bounty_listGenerates a list of bounties for use with the civilian bounty pad.
get_random_bounty_typeReturns a /datum/bounty typepath for a given bounty type
has_duplicate_bountyHelper to see if there's a duplicate bounty in a list of bounties

Var Details

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.

big_pointer

If true, IDs with this trim will grant wearers with bigger arrows when pointing

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.

honorific_positions

What positions can our honorific take? To prevent names like "Peter Dr."

honorifics

What honorifics, if any, will we set our wearer's name to when worn?

intern_alt_name

The name of the job for interns. If unset it will default to "[assignment] (Intern)".

pointer_color

If set, IDs with this trim will give wearers arrows of different colors when pointing

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.

threat_modifier

How threatened does a security bot feel when scanning this ID? A negative value may cause them to forgive things which would otherwise cause aggro.

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.

Proc Details

generate_bounty_list

Generates a list of bounties for use with the civilian bounty pad.

@param bounty_types the define taken from a job for selection of a random_bounty() proc. @param bounty_rolls the number of bounties to be selected from. @param assistant_failsafe Do we guarentee one assistant bounty per generated list? Used for non-assistant jobs to give an easier alternative to that job's default bounties.

get_random_bounty_type

Returns a /datum/bounty typepath for a given bounty type

has_duplicate_bounty

Helper to see if there's a duplicate bounty in a list of bounties