struct

DotPrison::Prison::Object::Prisoner::Bio

Inherits DotPrison::Consumer < Struct < Value < Object

Constructors

Instance methods

age=(v : Number)
Source
body_type

TODO: Int Enum?

Source
body_type=(v : Int)

TODO: Int Enum?

Source
clemency_chance
Source
clemency_chance=(v : Number)
Source
convictions
Source
drug_addiction

TODO: May be an array somewhere?

Source
drug_addiction=(v : String)

TODO: May be an array somewhere?

Source
family
Source
forename
Source
forename=(v : String)
Source
head_type
Source
next_parole
Source
original_category
Source
reputation_revealed
Source
reputation_revealed=(v : Bool)
Source
sentence
Source
sentence=(v : Int)
Source
served
Source
served=(v : Number)
Source
skin_colour
Source
skin_colour=(v)
Source
surname
Source
surname=(v : String)
Source
table
traits

TODO: New consumer, Array(Enum) kind of thing

Source
unconsumed

Keys for the associated table that have not been consumed

This may be because they have not been implemented yet, they may have an unknown purpose, or could be part of an unsupported mod

Source
unconsumed_tree

Returns a recursive array of the {class name, key} that have not been consumed

Uses the Consumer::HANDLED_VARIABLES constant, so custom Consumer::consume macro use may not work

Similar to #unconsumed, but travels the whole tree

Nested types