GameSessionData

GameSessionData

class

Settings and counters of the current save

Fields

NameTypeDescription
infinite_ore boolean Deposits never deplete
all_research_completed boolean Every research starts unlocked
creative_mode boolean Creative mode is active
creative_allowed boolean Creative mode may be switched on
total_game_time number Played time in seconds
total_game_ticks integer Simulated ticks since world creation
seed string World generation seed
version string Game version the save was written with
generator string World generator identifier
save_name string Save folder name
cloud boolean Save is synchronized with the cloud
world_time integer Locked local day-phase ticks in planet space when frozen
world_time_freeze boolean Day phase advances on its own
tick_rate integer Simulation ticks per second
Standard members (4)

Generated for every class of this kind by the game's codegen, not written for GameSessionData.

GameSessionData.cast(object) Trying to cast Object into GameSessionData
GameSessionData.get_class() Return GameSessionData class object
GameSessionData.new(parent, name) Creates a new GameSessionData instance
GameSessionData.new_simple() Creates a new GameSessionData instance
Inherited from Instance (1)
Inherited from Object (3)