struct DotPrison::Prison::Finance

Defined in:

dot_prison/prison/finance.cr

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 bank_credit_rating : Float64 #

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

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

[View source]
def bank_loan : Int32 #

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

[View source]
def daily_exports : Float64 #

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

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

[View source]
def daily_prisoner_wages : Float64 #

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

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

[View source]
def daily_shop_revenue : Float64 #

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

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

[View source]
def daily_staff_food : Float64 #

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

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

[View source]
def last_day : Int32 #

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

[View source]
def last_hour : Int32 #

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

[View source]
def ownership : Int32 #

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

[View source]
def sale_price : Int32 #

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

[View source]
def staff_pay_modifier : Float64 #

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

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

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

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 warden_cut : Float64 #

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

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

[View source]
def yesterday_exports : Int32 #

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

[View source]
def yesterday_prisoner_wages : Int32 #

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

[View source]
def yesterday_shop_revenue : Int32 #

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

[View source]
def yesterday_staff_food : Int32 #

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

[View source]