profectus-docs/assets/api_game_requirements_functions_payRequirements.md.DYNq1AGP.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 r,a0 as t,o as n}from"./chunks/framework.P9qPzDnn.js";const l=JSON.parse('{"title":"Function: payRequirements()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/requirements/functions/payRequirements.md","filePath":"api/game/requirements/functions/payRequirements.md","lastUpdated":null}'),i={name:"api/game/requirements/functions/payRequirements.md"};function o(s,e,u,c,m,d){return n(),r("div",null,e[0]||(e[0]=[t('<p><a href="./../../../">Profectus</a> / <a href="./../">game/requirements</a> / payRequirements</p><h1 id="function-payrequirements" tabindex="-1">Function: payRequirements() <a class="header-anchor" href="#function-payrequirements" aria-label="Permalink to &quot;Function: payRequirements()&quot;"></a></h1><blockquote><p><strong>payRequirements</strong>(<code>requirements</code>, <code>amount</code>): <code>void</code></p></blockquote><p>Utility function for paying the costs for 1+ requirements</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 pay</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>How many levels to pay for</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>void</code></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#L358" target="_blank" rel="noreferrer">profectus/src/game/requirements.tsx:358</a></p>',15)]))}const h=a(i,[["render",o]]);export{l as __pageData,h as default};