crew
Crew record datum
Vars | |
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 |
Procs | |
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. |
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 |
recreate_manifest_photos | A 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:
- field_name - The name of the key in the
fields
list, of the record itself. - orientation - The direction in which you want the character appearance to be rotated in the outputed photo.
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.