profectus-docs/assets/api_game_requirements_functions_maxRequirementsMet.md.C_NwwmVG.lean.js

1 line
2.2 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as a,c as t,a0 as r,o as n}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Function: maxRequirementsMet()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/requirements/functions/maxRequirementsMet.md","filePath":"api/game/requirements/functions/maxRequirementsMet.md","lastUpdated":null}'),i={name:"api/game/requirements/functions/maxRequirementsMet.md"};function s(u,e,m,o,c,l){return n(),t("div",null,e[0]||(e[0]=[r('<p><a href="./../../../">Profectus</a> / <a href="./../">game/requirements</a> / maxRequirementsMet</p><h1 id="function-maxrequirementsmet" tabindex="-1">Function: maxRequirementsMet() <a class="header-anchor" href="#function-maxrequirementsmet" aria-label="Permalink to &quot;Function: maxRequirementsMet()&quot;"></a></h1><blockquote><p><strong>maxRequirementsMet</strong>(<code>requirements</code>): <a href="./../../../util/bignum/type-aliases/DecimalSource"><code>DecimalSource</code></a></p></blockquote><p>Calculates the maximum number of levels that could be acquired with the current requirement states. True/false requirements will be counted as Infinity or 0.</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 check</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/bignum/type-aliases/DecimalSource"><code>DecimalSource</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#L296" target="_blank" rel="noreferrer">profectus/src/game/requirements.tsx:296</a></p>',12)]))}const q=a(i,[["render",s]]);export{h as __pageData,q as default};