Interface IGeneratorBalanceData
A set of IGeneratorEntity balance properties used for a specific IGeneratorEntity.
Inherited Members
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
public interface IGeneratorBalanceData : IBaseCollectorBalanceData, IModifierDataCollection, IData
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[] |