struct
DotPrison::Prison::Object::Prisoner::Bio
Defined in:
dot_prison/prison/object/prisoner.crConstructors
Instance Method Summary
- #age : Float64
- #age=(v : Number)
-
#body_type : Int32
TODO Int Enum?
-
#body_type=(v : Int)
TODO Int Enum?
- #clemency_chance : Float64
- #clemency_chance=(v : Number)
- #convictions : DotPrison::IndexedTable(DotPrison::Prison::Object::Prisoner::Bio::Conviction)
-
#drug_addiction : String
TODO May be an array somewhere?
-
#drug_addiction=(v : String)
TODO May be an array somewhere?
- #family : DotPrison::IndexedTable(DotPrison::Prison::Object::Prisoner::Bio::FamilyMember)
- #forename : String
- #forename=(v : String)
- #head_type : DotPrison::Prison::Object::Prisoner::Bio::HeadType | String
- #head_type=(v : DotPrison::Prison::Object::Prisoner::Bio::HeadType)
- #next_parole : DotPrison::Prison::Object::Prisoner::Bio::NextParole | String
- #next_parole=(v : DotPrison::Prison::Object::Prisoner::Bio::NextParole)
- #original_category : DotPrison::Prison::Object::Prisoner::Category | String
- #original_category=(v : DotPrison::Prison::Object::Prisoner::Category)
- #reputation_revealed : Bool
- #reputation_revealed=(v : Bool)
- #sentence : Int32
- #sentence=(v : Int)
- #served : Float64
- #served=(v : Number)
- #skin_colour : DotPrison::Colour | String
- #skin_colour=(v)
- #surname : String
- #surname=(v : String)
- #table : DotPrison::Table
-
#traits : Array(String)
TODO New consumer, Array(Enum) kind of thing
-
#unconsumed : Array(String)
Keys for the associated table that have not been consumed
-
#unconsumed_tree : Array(Tuple(String, String))
Returns a recursive array of the {class name, key} that have not been consumed
Instance methods inherited from struct DotPrison::Consumer
initialize
initialize,
table : DotPrison::Table
table
Constructor methods inherited from struct DotPrison::Consumer
new
new
Instance methods inherited from class Object
to_prison
to_prison
Constructor Detail
Instance Method Detail
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
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