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
createCostRequirement<
T
>(optionsFunc
):object
&object
Lazily creates a requirement with the given options, that is based on meeting an amount of a resource.
• T extends CostRequirementOptions
() => T
Cost requirement options.
object
& object