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

crew

Crew record datum

Vars

citationsList of citations
crimesList of crimes
lock_refUnique ID generated that is used to fetch lock record
major_disabilitiesNames of major disabilities
major_disabilities_descFancy description of major disabilities
medical_notesList of medical notes
mental_statusMental status of this person in medical records.
minor_disabilitiesNames of minor disabilities
minor_disabilities_descFancy description of minor disabilities
physical_statusPhysical status of this person in medical records.
quirk_notesPositive and neutral quirk strings
record_photosPhoto used for records, which we store here so we don't have to constantly make more of.
security_noteSecurity note
wanted_statusCurrent arrest status

Procs

delete_photosDeletes the existing photo for field_name
get_front_photoA helper proc to get the front photo of a character from the record. Handles calling get_photo(), read its documentation for more information.
get_photoYou shouldn't be calling this directly, use get_front_photo() or get_side_photo() instead.
get_rapsheetReturns a paper printout of the current record's crime data.
get_side_photoA helper proc to get the side photo of a character from the record. Handles calling get_photo(), read its documentation for more information.
make_photomake_photo
recreate_manifest_photosA helper proc to recreate all photos of a character from the record.

Var Details

citations

List of citations

crimes

List of crimes

lock_ref

Unique ID generated that is used to fetch lock record

major_disabilities

Names of major disabilities

major_disabilities_desc

Fancy description of major disabilities

medical_notes

List of medical notes

mental_status

Mental status of this person in medical records.

minor_disabilities

Names of minor disabilities

minor_disabilities_desc

Fancy description of minor disabilities

physical_status

Physical status of this person in medical records.

quirk_notes

Positive and neutral quirk strings

record_photos

Photo used for records, which we store here so we don't have to constantly make more of.

security_note

Security note

wanted_status

Current arrest status

Proc Details

delete_photos

Deletes the existing photo for field_name

get_front_photo

A helper proc to get the front photo of a character from the record. Handles calling get_photo(), read its documentation for more information.

get_photo

You shouldn't be calling this directly, use get_front_photo() or get_side_photo() instead.

This is the proc that handles either fetching (if it was already generated before) or generating (if it wasn't) the specified photo from the specified record. This is only intended to be used by records that used to try to access fields["photo_front"] or fields["photo_side"], and will return an empty icon if there isn't any of the necessary fields.

Arguments:

Returns an empty /icon if there was no character_appearance entry in the fields list, returns the generated/cached photo otherwise.

get_rapsheet

Returns a paper printout of the current record's crime data.

get_side_photo

A helper proc to get the side photo of a character from the record. Handles calling get_photo(), read its documentation for more information.

make_photo

make_photo

Called if the person doesn't already have a photo, this will make a photo of the person, then make a picture out of it, then finally create a new photo.

recreate_manifest_photos

A helper proc to recreate all photos of a character from the record.