2022-03-12 01:24:32 +00:00
|
|
|
import{_ as e,c as r,o as a,a as t}from"./app.54d5a277.js";const b='{"title":"Interface: ConversionOptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"baseResource","slug":"baseresource"},{"level":3,"title":"buyMax","slug":"buymax"},{"level":3,"title":"convert","slug":"convert"},{"level":3,"title":"currentGain","slug":"currentgain"},{"level":3,"title":"gainResource","slug":"gainresource"},{"level":3,"title":"nextAt","slug":"nextat"},{"level":3,"title":"roundUpCost","slug":"roundupcost"},{"level":3,"title":"scaling","slug":"scaling"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"modifyGainAmount","slug":"modifygainamount"}],"relativePath":"api/interfaces/features/conversion.ConversionOptions.md"}',n={},o=t('<h1 id="interface-conversionoptions" tabindex="-1">Interface: ConversionOptions <a class="header-anchor" href="#interface-conversionoptions" aria-hidden="true">#</a></h1><p><a href="./../../modules/features/conversion.html">features/conversion</a>.ConversionOptions</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="baseresource" tabindex="-1">baseResource <a class="header-anchor" href="#baseresource" aria-hidden="true">#</a></h3><p>\u2022 <strong>baseResource</strong>: <a href="./resources/resource.Resource"><code>Resource</code></a><<a href="./../../modules/lib/break_eternity.html#decimalsource"><code>DecimalSource</code></a>></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/conversion.ts#L18" target="_blank" rel="noopener noreferrer">profectus/src/features/conversion.ts:18</a></p><hr><h3 id="buymax" tabindex="-1">buyMax <a class="header-anchor" href="#buymax" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>buyMax</strong>: <a href="./../../modules/util/computed.html#computable"><code>Computable</code></a><<code>boolean</code>></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/conversion.ts#L20" target="_blank" rel="noopener noreferrer">profectus/src/features/conversion.ts:20</a></p><hr><h3 id="convert" tabindex="-1">convert <a class="header-anchor" href="#convert" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>convert</strong>: <code>VoidFunction</code></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/conversion.ts#L22" target="_blank" rel="noopener noreferrer">profectus/src/features/conversion.ts:22</a></p><hr><h3 id="currentgain" tabindex="-1">currentGain <a class="header-anchor" href="#currentgain" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>currentGain</strong>: <a href="./../../modules/util/computed.html#computable"><code>Computable</code></a><<a href="./../../modules/lib/break_eternity.html#decimalsource"><code>DecimalSource</code></a>></p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/305946e/src/features/conversion.ts#L16" target="_blank" rel="noopener noreferrer">profectus/src/features/conversion.ts:16</a></p><hr><h3 id="gainresource" tabindex="-1">gainResource <a class="header-anchor" href="#gainresource" aria-hidden="true">#</a></h3><p>\u2022 <strong>gainResource</strong>: <a href="./resources/resource.Resource"><code>Resource</code></a><<a href="./../../modules/lib/break_eternity.html#decimalsource"><code>DecimalSource</code></a>></p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-hidden="true
|