import{_ase,cast,oasa,Nasr}from"./chunks/framework.0799945b.js";constu=JSON.parse('{"title":"Module: game/settings","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/game/settings.md","lastUpdated":null}'),o={name:"api/modules/game/settings.md"},n=r('<h1id="module-game-settings"tabindex="-1">Module:game/settings<aclass="header-anchor"href="#module-game-settings"aria-label="Permalink to "Module: game/settings""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><h3id="settings"tabindex="-1">Settings<aclass="header-anchor"href="#settings"aria-label="Permalinkto"Settings""></a></h3><p>•<strong>Settings</strong>:<code>Object</code></p><p>Theplayer'ssettingsobject.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>active</code></td><tdstyle="text-align:left;"><code>string</code></td><tdstyle="text-align:left;">TheIDoftheactivesave.</td></tr><tr><tdstyle="text-align:left;"><code>alignUnits</code></td><tdstyle="text-align:left;"><code>boolean</code></td><tdstyle="text-align:left;">Whethertoalignmodifierstotheunit.</td></tr><tr><tdstyle="text-align:left;"><code>hideChallenges</code></td><tdstyle="text-align:left;"><code>boolean</code></td><tdstyle="text-align:left;">-</td></tr><tr><tdstyle="text-align:left;"><code>msDisplay</code></td><tdstyle="text-align:left;"><ahref="./../features/achievement#achievementdisplay"><code>AchievementDisplay</code></a></td><tdstyle="text-align:left;">-</td></tr><tr><tdstyle="text-align:left;"><code>saves</code></td><tdstyle="text-align:left;"><code>string</code>[]</td><tdstyle="text-align:left;">TheIDsofallcreatedsaves.</td></tr><tr><tdstyle="text-align:left;"><code>showTPS</code></td><tdstyle="text-align:left;"><code>boolean</code></td><tdstyle="text-align:left;">Whetherornottoshowthecurrenttickspersecondinthelowerleftcornerofthepage.</td></tr><tr><tdstyle="text-align:left;"><code>theme</code></td><tdstyle="text-align:left;"><ahref="./../data/themes#themes"><code>Themes</code></a></td><tdstyle="text-align:left;">Thecurrentthemetodisplaythegamein.</td></tr><tr><tdstyle="text-align:left;"><code>unthrottled</code></td><tdstyle="text-align:left;"><code>boolean</code></td><tdstyle="text-align:left;">Whetherornottocaptheprojectat20tickspersecond.</td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/game/settings.ts#L10"target="_blank"rel="noreferrer">profectus/src/game/settings.ts:10</a></p><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/features/achievements/achievement.tsx#L271"target="_blank"rel="noreferrer">profectus/src/features/achievements/achievement.tsx:271</a></p><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/features/challenges/challenge.tsx#L344"target="_blank"rel="noreferrer">profectus/src/features/challenges/challenge.tsx:344</a></p><h2id="variables"tabindex="-1">Variables<aclass="header-anchor"href="#variables"aria-label="Permalinkto"Variables""></a></h2><h3id="default"tabindex="-1">default<aclass="header-anchor"href="#default"aria-label="Permalinkto"default""></a></h3><p>•<strong>default</strong>:<ahref="./settings#settings"><code>Settings</code></a></p><p>Theplayersettingsobject.Storesdatathatpersistsacrossallsaves.AutomaticallysavedtolocalStoragewheneverchanged.</p><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://gith