struct
DotPrison::Prison
- DotPrison::Prison
- DotPrison::Consumer
- Struct
- Value
- Object
Defined in:
dot_prison/prison.cr:1dot_prison/prison.cr:7
Constructors
Instance Method Summary
- #adviser_system : DotPrison::Prison::AdviserSystem
- #balance : Float64
- #balance=(v : Number)
- #bio_version : Int32
- #bio_version=(v : Int)
- #block_land_expansion : Bool
- #block_land_expansion=(v : Bool)
-
#bridge_data : DotPrison::Table
TODO Empty
- #calamity_rewards : DotPrison::Prison::CalamityRewards
-
#calamity_surface : DotPrison::Table
TODO Empty
- #centre_aligned : Bool
- #centre_aligned=(v : Bool)
- #ceo_letter_read : Bool
- #ceo_letter_read=(v : Bool)
-
#civilian_customer : DotPrison::Table
TODO Empty
-
#climate : DotPrison::Table
TODO Empty
- #construction : DotPrison::Prison::Construction
- #contraband : DotPrison::Prison::Contraband
- #coverage_plan : DotPrison::Prison::CoveragePlan
- #criminally_insane_enabled : Bool
- #criminally_insane_enabled=(v : Bool)
- #crisis_sector_data : DotPrison::GridTable(DotPrison::Prison::CrisisSector)
- #decay_enabled : Bool
- #decay_enabled=(v : Bool)
- #deployment_schedule : DotPrison::Prison::DeploymentSchedule
- #desc_dir : DotPrison::Prison::DescDir
- #desert_plot : Bool
- #desert_plot=(v : Bool)
-
#electricity : DotPrison::GridTable(DotPrison::Prison::ElectricityTile)
TODO Awkward
- #electricity_enabled : Bool
- #electricity_enabled=(v : Bool)
- #entity_version : Int32
- #entity_version=(v : Int)
- #escape_plans_enabled : Bool
- #escape_plans_enabled=(v : Bool)
- #events : DotPrison::Prison::Events
- #execution : DotPrison::Prison::Execution
- #failure_conditions_enabled : Bool
- #failure_conditions_enabled=(v : Bool)
- #finance : DotPrison::Prison::Finance
- #first_death_row_notice : Bool
- #first_death_row_notice=(v : Bool)
-
#first_time_built_object : DotPrison::Table
TODO Implement this, maybe?
-
#first_time_built_room : DotPrison::Table
TODO Implement this, maybe?
- #food_enabled : Bool
- #food_enabled=(v : Bool)
- #food_quantity : Int32
- #food_quantity=(v : Int)
- #food_variation : Int32
- #food_variation=(v : Int)
- #game_speed : Float64
- #game_speed=(v : Number)
- #generate_forests : Bool
- #generate_forests=(v : Bool)
- #generate_lakes : Bool
- #generate_lakes=(v : Bool)
-
#grants : DotPrison::Table
TODO Unknown format
- #immediate_materials : Bool
- #immediate_materials=(v : Bool)
- #informants : DotPrison::Prison::Informants
- #intake : DotPrison::Prison::Intake
- #intake_enabled : Bool
- #intake_enabled=(v : Bool)
- #island_bridge : Bool
- #island_bridge=(v : Bool)
- #island_plot : Bool
- #island_plot=(v : Bool)
- #jungle_plot : Bool
- #jungle_plot=(v : Bool)
- #lethal_force_enabled : Bool
- #lethal_force_enabled=(v : Bool)
- #misconduct : DotPrison::Prison::Misconduct
- #misconduct_enabled : Bool
- #misconduct_enabled=(v : Bool)
- #mutator_system : DotPrison::Prison::MutatorSystem
- #needs_library : DotPrison::Prison::NeedsLibrary
- #needs_version : Int32
- #needs_version=(v : Int)
- #next_id : Int32
- #next_id=(v : Int)
- #objectives : DotPrison::Prison::Objectives
- #objects : DotPrison::IndexedTable(DotPrison::Prison::Object)
- #origin_pos : Tuple(Int32, Int32)
- #origin_pos=(v : Tuple(Number, Number))
- #origin_size : Tuple(Int32, Int32)
- #origin_size=(v : Tuple(Number, Number))
-
#patrols : DotPrison::Table
TODO Unknown format, Store name is xy coordinates followed by 0.
- #penalties : DotPrison::Prison::Penalties
- #playtime : Int32
- #playtime=(v : Int)
- #policy_data : DotPrison::Prison::PolicyData
-
#production : DotPrison::Prison::Production
TODO Nicer object
- #punishment_by_sector_enabled : Bool
- #punishment_by_sector_enabled=(v : Bool)
- #reform : DotPrison::Prison::Reform
- #regime : DotPrison::Prison::Regime
- #reoffend : Int32
- #reoffend=(v : Int)
- #research : DotPrison::Prison::Research
- #road_delivery_stop : DotPrison::Prison::RoadDeliveryStop
-
#rooms : DotPrison::IndexedTable(DotPrison::Prison::Room)
TODO Does not separate depending on room type
- #script_zones : DotPrison::Prison::ScriptZones
- #sectors : DotPrison::Prison::Sectors
- #seed : Int32
- #seed=(v : Int)
- #selected_guard_companion : Int32
- #selected_guard_companion=(v : Int)
- #sentences_data : DotPrison::Prison::SentencesData
- #size : Tuple(Int32, Int32)
- #size=(v : Tuple(Number, Number))
-
#squads : DotPrison::Table
TODO Unknown format
-
#staff_alerts : DotPrison::Table
TODO Empty
- #stats_tracker : DotPrison::Prison::StatsTracker
- #supply_chain : DotPrison::Prison::SupplyChain
- #table : DotPrison::Table
- #thermometer : DotPrison::Prison::Thermometer
- #tiles : DotPrison::GridTable(DotPrison::Prison::Tile)
- #time : Float64
- #time=(v : Number)
- #time_warp : Float64
- #time_warp=(v : Number)
- #to_prison(io)
- #transfer_data : DotPrison::Prison::TransferData
- #transfers_enabled : Bool
- #transfers_enabled=(v : Bool)
- #tunnels : DotPrison::Prison::Tunnels
-
#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
- #uniform_colour : DotPrison::Prison::UniformColour
- #uniform_colour_death_row : DotPrison::Colour | String
- #uniform_colour_death_row=(v)
- #uniform_colour_insane : DotPrison::Colour | String
- #uniform_colour_insane=(v)
- #uniform_colour_max_sec : DotPrison::Colour | String
- #uniform_colour_max_sec=(v)
- #uniform_colour_min_sec : DotPrison::Colour | String
- #uniform_colour_min_sec=(v)
-
#uniform_colour_none : DotPrison::Colour | String
TODO This may all have moved to
#uniform_colour -
#uniform_colour_none=(v)
TODO This may all have moved to
#uniform_colour - #uniform_colour_normal : DotPrison::Colour | String
- #uniform_colour_normal=(v)
- #uniform_colour_protected : DotPrison::Colour | String
- #uniform_colour_protected=(v)
- #uniform_colour_super_max : DotPrison::Colour | String
- #uniform_colour_super_max=(v)
- #uniform_colour_transfer_prisoner : DotPrison::Colour | String
- #uniform_colour_transfer_prisoner=(v)
- #unlimited_funds : Bool
- #unlimited_funds=(v : Bool)
- #use_cell_quality : Bool
- #use_cell_quality=(v : Bool)
- #version : String
- #version=(v : String)
- #version_number : Int32
- #version_number=(v : Int)
- #victory : DotPrison::Prison::Victory
- #visibility : DotPrison::GridTable(DotPrison::Prison::Visibility)
- #visibility_enabled : Bool
- #visibility_enabled=(v : Bool)
- #visitation : DotPrison::Prison::Visitation
- #wardens : DotPrison::Prison::Wardens
-
#water : DotPrison::GridTable(DotPrison::Prison::WaterTile)
TODO Needs to be custom to consume OffValves, don't know what that is though...
- #water_enabled : Bool
- #water_enabled=(v : Bool)
- #weather_enabled : Bool
- #weather_enabled=(v : Bool)
- #weather_map : DotPrison::Prison::WeatherMap
- #work_queue : DotPrison::Prison::WorkQueue
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
TODO Awkward
TODO Unknown format, Store name is xy coordinates followed by 0. Does 0 mean something?
TODO Does not separate depending on room type
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
TODO This may all have moved to #uniform_colour
TODO Needs to be custom to consume OffValves, don't know what that is though...