Interface IGeneratorBalanceData
A set of IGeneratorEntity balance properties used for a specific IGeneratorEntity.
Inherited Members
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IGeneratorBalanceData : IBaseCollectorBalanceData, IModifierDataCollection, IStaticData
Properties
automateCurrencyId
The ICurrencyData required to automate the IGeneratorEntity.
Declaration
string automateCurrencyId { get; }
Property Value
Type | Description |
---|---|
String |
baseGeneratorUnitCost
The base amount of ICurrency required to add a single generatorUnit to the IGeneratorEntity. This is the value with no IModifier applied.
Declaration
double baseGeneratorUnitCost { get; }
Property Value
Type | Description |
---|---|
Double |
costToAutomate
The amount of ICurrency required to automate the IGeneratorEntity.
Declaration
double costToAutomate { get; }
Property Value
Type | Description |
---|---|
Double |
generatorUnitCurrencyId
The ICurrency spent to buy units for the IGeneratorEntity.
Declaration
string generatorUnitCurrencyId { get; }
Property Value
Type | Description |
---|---|
String |
rampingCoefficient
A coefficient used to tweak the output of the the formula to determine the IGeneratorEntity unit cost. A higher value will result in the cost of the IGeneratorEntity units increasing more quickly as players buy them.
Declaration
double rampingCoefficient { get; }
Property Value
Type | Description |
---|---|
Double |
upgradeableCurrencyAutomationRequirements
Specifies the IUpgradeableCurrency and respective level required to automate the IGeneratorEntity. Note that the IUpgradeableCurrency is not spent during the upgrade, it only acts as a gate to upgrading. More than one requirement can be specified. If none are specified then the IGeneratorEntity can be upgraded immediately.
Declaration
UpgradeableCurrencyRequirement[] upgradeableCurrencyAutomationRequirements { get; }
Property Value
Type | Description |
---|---|
UpgradeableCurrencyRequirement[] |