struct DotPrison::Prison

Defined in:

dot_prison/prison.cr:1
dot_prison/prison.cr:7

Constructors

Instance Method Summary

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

def self.new(table : DotPrison::Table) #

[View source]

Instance Method Detail

def balance : Float64 #

[View source]
def balance=(v : Float) #

[View source]
def balance=(v : Int) #

[View source]
def bio_version : Int32 #

[View source]
def bio_version=(v : Int) #

[View source]
def bridge_data : DotPrison::Table #

TODO Empty


[View source]
def centre_aligned : Bool #

[View source]
def centre_aligned=(v : Bool) #

[View source]
def ceo_letter_read : Bool #

[View source]
def ceo_letter_read=(v : Bool) #

[View source]
def construction : DotPrison::Prison::Construction #

[View source]
def contraband : DotPrison::Prison::Contraband #

[View source]

[View source]
def decay_enabled : Bool #

[View source]
def decay_enabled=(v : Bool) #

[View source]
def deployment_schedule : DotPrison::Prison::DeploymentSchedule #

[View source]
def desc_dir : DotPrison::Prison::DescDir #

[View source]
def desert_plot : Bool #

[View source]
def desert_plot=(v : Bool) #

[View source]

TODO Awkward


[View source]
def electricity_enabled : Bool #

[View source]
def electricity_enabled=(v : Bool) #

[View source]
def entity_version : Int32 #

[View source]
def entity_version=(v : Int) #

[View source]
def escape_plans_enabled : Bool #

[View source]
def escape_plans_enabled=(v : Bool) #

[View source]

[View source]

[View source]
def failure_conditions_enabled : Bool #

[View source]
def failure_conditions_enabled=(v : Bool) #

[View source]

[View source]
def first_death_row_notice : Bool #

[View source]
def first_death_row_notice=(v : Bool) #

[View source]
def food_enabled : Bool #

[View source]
def food_enabled=(v : Bool) #

[View source]
def grants : DotPrison::Table #

TODO Unknown format


[View source]
def informants : DotPrison::Prison::Informants #

[View source]

[View source]
def misconduct : DotPrison::Prison::Misconduct #

[View source]
def misconduct_enabled : Bool #

[View source]
def misconduct_enabled=(v : Bool) #

[View source]
def mutator_system : DotPrison::Prison::MutatorSystem #

[View source]
def needs_library : DotPrison::Prison::NeedsLibrary #

[View source]
def needs_version : Int32 #

[View source]
def needs_version=(v : Int) #

[View source]
def next_id : Int32 #

[View source]
def next_id=(v : Int) #

[View source]

[View source]
def origin_pos : Tuple(Int32, Int32) #

[View source]
def origin_pos=(v : Tuple(Int32, Int32)) #

[View source]
def origin_size : Tuple(Int32, Int32) #

[View source]
def origin_size=(v : Tuple(Int32, Int32)) #

[View source]
def patrols : DotPrison::Table #

TODO Unknown format, Store name is xy coordinates followed by 0. Does 0 mean something?


[View source]

[View source]
def playtime : Int32 #

[View source]
def playtime=(v : Int) #

[View source]
def policy_data : DotPrison::Prison::PolicyData #

[View source]
def production : DotPrison::Prison::Production #

TODO Nicer object


[View source]

[View source]

[View source]

[View source]

TODO Does not separate depending on room type


[View source]
def script_zones : DotPrison::Prison::ScriptZones #

[View source]

[View source]
def seed : Int32 #

[View source]
def seed=(v : Int) #

[View source]
def selected_guard_companion : Int32 #

[View source]
def selected_guard_companion=(v : Int) #

[View source]
def size : Tuple(Int32, Int32) #

[View source]
def size=(v : Tuple(Int32, Int32)) #

[View source]
def squads : DotPrison::Table #

TODO Unknown format


[View source]
def stats_tracker : DotPrison::Prison::StatsTracker #

[View source]
def supply_chain : DotPrison::Prison::SupplyChain #

[View source]
def table : DotPrison::Table #

def thermometer : DotPrison::Prison::Thermometer #

[View source]

[View source]
def time : Float64 #

[View source]
def time=(v : Float) #

[View source]
def time=(v : Int) #

[View source]
def time_warp : Float64 #

[View source]
def time_warp=(v : Float) #

[View source]
def time_warp=(v : Int) #

[View source]
def to_prison(io) #

[View source]
def transfer_data : DotPrison::Prison::TransferData #

[View source]
def transfers_enabled : Bool #

[View source]
def transfers_enabled=(v : Bool) #

[View source]

[View source]
def unconsumed : Array(String) #

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


[View source]
def unlimited_funds : Bool #

[View source]
def unlimited_funds=(v : Bool) #

[View source]
def use_cell_quality : Bool #

[View source]
def use_cell_quality=(v : Bool) #

[View source]
def version : String #

[View source]
def version=(v : String) #

[View source]
def version_number : Int32 #

[View source]
def version_number=(v : Int) #

[View source]

[View source]
def visitation : DotPrison::Prison::Visitation #

[View source]

[View source]

TODO Needs to be custom to consume OffValves, don't know what that is though...


[View source]
def water_enabled : Bool #

[View source]
def water_enabled=(v : Bool) #

[View source]
def weather_map : DotPrison::Prison::WeatherMap #

[View source]
def work_queue : DotPrison::Prison::WorkQueue #

[View source]