import{_ as a,c as o,a0 as t,o as r}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Variable: default","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/player/variables/default.md","filePath":"api/game/player/variables/default.md","lastUpdated":null}'),n={name:"api/game/player/variables/default.md"};function l(i,e,d,s,c,p){return r(),o("div",null,e[0]||(e[0]=[t('

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

layers: Record<string, LayerData<unknown>>

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.

Defined in

profectus/src/game/player.ts:63

',45)]))}const b=a(n,[["render",l]]);export{u as __pageData,b as default};