Add limit to repeatables and dimensions

This commit is contained in:
thepaperpilot 2023-05-12 17:53:26 -05:00
parent 946ecaebcd
commit 12a68c02fa

View file

@ -437,6 +437,7 @@ export function createPlane(
showAmount: false
}),
visibility: repeatableVisibility,
limit: 100,
bonusAmount: () =>
Decimal.gt(repeatable.amount.value, 0)
? isEmpowered("dirtRelic")
@ -774,6 +775,7 @@ export function createPlane(
},
effect,
dimensions,
limit: 100,
energy: j === 0 ? energy : undefined,
requirements: createCostRequirement(() => ({
resource: noPersist(resource),