KMGeneratorSetting - Qkrisi/ktanemodkit GitHub Wiki

KMGeneratorSetting

[Serializable]
public class KMGeneratorSetting

Stores information used to generate a bomb (Not a Unity component!)


public float TimeLimit;

Initial value for the timer when the bomb is activated, in seconds.


public int NumStrikes;

The number of strikes at which the bomb explodes.


public int TimeBeforeNeedyActivation;

Time, in seconds, which must elapse before any unactivated Needy modules are automatically activated.


public bool FrontFaceOnly;

When set to true, modules will only spawn on the front face of the bomb (same face as the timer).


public int OptionalWidgetCount;

Indicates how many optional widgets should be placed on the bomb.


public List<KMComponentPool> ComponentPools;

The pools of modules that will be used when generating a bomb.


public int GetComponentCount()

Returns the total count of modules that will be added according to the component pools.