Profectus / game/player / default
Variable: default ​
default:
object
Type declaration ​
autosave ​
autosave:
boolean
Whether or not to automatically save every couple of seconds and on tab close.
devSpeed ​
devSpeed:
null
|number
A multiplier for time passing. Set to 0 when the game is paused.
id ​
id:
string
The ID of this save.
keepGoing ​
keepGoing:
boolean
Whether or not to continue playing after data/projEntry.hasWon is true.
layers ​
A dictionary of layer save data.
modID ​
modID:
string
The ID of this project, to make sure saves aren't imported into the wrong project.
modVersion ​
modVersion:
string
The version of the project this save was created by. Used for upgrading saves for new versions.
name ​
name:
string
The display name of this save.
offlineProd ​
offlineProd:
boolean
Whether or not to apply offline time when loading this save.
offlineTime ​
offlineTime:
null
|number
How much offline time has been accumulated and not yet processed.
tabs ​
tabs:
string
[]
The open tabs.
time ​
time:
number
The current time this save was last opened at, in ms since the unix epoch.
timePlayed ​
timePlayed:
number
How long, in ms, this game has been played.