profectus-docs/assets/guide_creating-your-project_project-info.md.c56eeb0f.js

2 lines
10 KiB
JavaScript
Raw Permalink Normal View History

import{_ as e,c as a,o,N as t}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Project Info","description":"","frontmatter":{},"headers":[],"relativePath":"guide/creating-your-project/project-info.md","lastUpdated":1685337378000}'),i={name:"guide/creating-your-project/project-info.md"},l=t('<h1 id="project-info" tabindex="-1">Project Info <a class="header-anchor" href="#project-info" aria-label="Permalink to &quot;Project Info&quot;"></a></h1><p>This is a JSON file containing information that describes your project and configures parts of how Profectus should represent it.</p><p>It is stored at <code>/src/data/projInfo.json</code>.</p><h2 id="basic-config" tabindex="-1">Basic Config <a class="header-anchor" href="#basic-config" aria-label="Permalink to &quot;Basic Config&quot;"></a></h2><h3 id="title" tabindex="-1">title <a class="header-anchor" href="#title" aria-label="Permalink to &quot;title&quot;"></a></h3><ul><li>Type: <code>string</code></li><li>Default: <code>Profectus</code></li></ul><p>The name of the project, which will appear in the info tab and the header, if enabled. The page title will also be set to this value.</p><h3 id="description" tabindex="-1">description <a class="header-anchor" href="#description" aria-label="Permalink to &quot;description&quot;"></a></h3><ul><li>Type: <code>string</code></li><li>Default: <code>A project made in Profectus</code></li></ul><p>A description of the project, which will be used when the project is installed as a Progressive Web Application.</p><h3 id="id" tabindex="-1">id <a class="header-anchor" href="#id" aria-label="Permalink to &quot;id&quot;"></a></h3><ul><li>Type: <code>string</code></li><li>Default: <code>&quot;&quot;</code></li></ul><p>This is a unique ID used when saving player data. Changing this will effectively erase all save data for all players.</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>This ID MUST be unique to your project, and should not be left as the default value. Otherwise, your project may use the save data from another project and cause issues for both projects.</p></div><h3 id="author" tabindex="-1">author <a class="header-anchor" href="#author" aria-label="Permalink to &quot;author&quot;"></a></h3><ul><li>Type: <code>string</code></li><li>Default: <code>&quot;&quot;</code></li></ul><p>The author of the project, which will appear in the info tab.</p><h3 id="discordname" tabindex="-1">discordName <a class="header-anchor" href="#discordname" aria-label="Permalink to &quot;discordName&quot;"></a></h3><ul><li>Type: <code>string</code></li><li>Default: <code>The Paper Pilot Community</code></li></ul><p>The text to display for the discord server to point users to. This will appear when hovering over the discord icon, inside the info tab, the game over screen, as well as the NaN detected screen.</p><p>By default, this is The Paper Pilot Community, which can act as a catch-all for any Profectus projects without their own servers. If you change the discord server with your own, The Paper Pilot Community will still display underneath the custom server when hovering over the discord icon and within the info tab. Those places will also contain a link to the Modding Tree discord server.</p><h3 id="discordlink" tabindex="-1">discordLink <a class="header-anchor" href="#discordlink" aria-label="Permalink to &quot;discordLink&quot;"></a></h3><ul><li>Type: <code>string</code></li><li>Default: <code>https://discord.gg/yJ4fjnjU54</code></li></ul><p>The link for the discord server to point users to. See <a href="#discordname">discordName</a> for more details.</p><h2 id="version-config" tabindex="-1">Version Config <a class="header-anchor" href="#version-config" aria-label="Permalink to &quot;Version Config&quot;"></a></h2><h3 id="versionnumber" tabindex="-1">versionNumber <a class="header-anchor" href="#versionnumber" aria-label="Permalink to &quot;versionNumber&quot;"></a></h3><ul><li>Type: <code>string</code></li><li>Default: <code>0.0</code></li></ul><p>The current version of th