profectus-docs/assets/api_game_requirements_functions_displayRequirements.md.41wOUPvC.lean.js

2 lines
2.4 KiB
JavaScript
Raw Normal View History

import{_ as a,c as r,a0 as t,o as i}from"./chunks/framework.P9qPzDnn.js";const p=JSON.parse('{"title":"Function: displayRequirements()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/requirements/functions/displayRequirements.md","filePath":"api/game/requirements/functions/displayRequirements.md","lastUpdated":null}'),n={name:"api/game/requirements/functions/displayRequirements.md"};function s(o,e,u,l,d,c){return i(),r("div",null,e[0]||(e[0]=[t('<p><a href="./../../../">Profectus</a> / <a href="./../">game/requirements</a> / displayRequirements</p><h1 id="function-displayrequirements" tabindex="-1">Function: displayRequirements() <a class="header-anchor" href="#function-displayrequirements" aria-label="Permalink to &quot;Function: displayRequirements()&quot;"></a></h1><blockquote><p><strong>displayRequirements</strong>(<code>requirements</code>, <code>amount</code>): <a href="./../../../util/vue/type-aliases/Renderable"><code>Renderable</code></a></p></blockquote><p>Utility function for display 1+ requirements compactly.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="requirements" tabindex="-1">requirements <a class="header-anchor" href="#requirements" aria-label="Permalink to &quot;requirements&quot;"></a></h3><p><a href="./../type-aliases/Requirements"><code>Requirements</code></a></p><p>The 1+ requirements to display</p><h3 id="amount" tabindex="-1">amount <a class="header-anchor" href="#amount" aria-label="Permalink to &quot;amount&quot;"></a></h3><p><a href="./../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a> = <code>1</code></p><p>The amount of levels earned to be displayed</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><a href="./../../../util/vue/type-aliases/Renderable"><code>Renderable</code></a></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/requirements.tsx#L314" target="_blank" rel="noreferrer">profectus/src/game/requirements.tsx:314</a></p>',15)]))}const h=a(n,[["render",s]]);export{p as __pageData,h as default};