struct DotPrison::Prison::CalamityRewards

Defined in:

dot_prison/prison/calamity_rewards.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 counter_damage : Int32 #

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

[View source]
def counter_health : Int32 #

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

[View source]
def counter_security : Int32 #

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

[View source]
def highest_weather_level : Int32 #

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

[View source]
def rat_infestation_level : Int32 #

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

[View source]

TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


TODO Change this to an array or something


def table : DotPrison::Table #

def time_prison_powered : Float64 #

[View source]
def time_prison_powered=(v : Number) #

[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 unconsumed_tree : Array(Tuple(String, String)) #

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


def weather_start_time : Float64 #

[View source]
def weather_start_time=(v : Number) #

[View source]