import{_ as t,c as a,a0 as r,o}from"./chunks/framework.P9qPzDnn.js";const l=JSON.parse('{"title":"Function: createCostRequirement()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/requirements/functions/createCostRequirement.md","filePath":"api/game/requirements/functions/createCostRequirement.md","lastUpdated":null}'),n={name:"api/game/requirements/functions/createCostRequirement.md"};function s(i,e,c,u,m,d){return o(),a("div",null,e[0]||(e[0]=[r('

Profectus / game/requirements / createCostRequirement

Function: createCostRequirement()

createCostRequirement<T>(optionsFunc): object & object

Lazily creates a requirement with the given options, that is based on meeting an amount of a resource.

Type Parameters

T extends CostRequirementOptions

Parameters

optionsFunc

() => T

Cost requirement options.

Returns

object & object

Defined in

profectus/src/game/requirements.tsx:124

',14)]))}const h=t(n,[["render",s]]);export{l as __pageData,h as default};