KMComponentPool - Qkrisi/ktanemodkit GitHub Wiki
[Serializable]
public class KMComponentPoolUsed on missions to select a random or a specified module. (Not a Unity component, mainly used when creating missions.)
public int Count;Number of modules to appear using this pool
public ComponentSource AllowedSourcesSpecify where should modules be selected from (Default: Base)
public List<ComponentTypeEnum> ComponentTypes;List of vanilla module types.
public SpecialComponentTypeEnum SpecialComponentType;Special type used for module randomization
public List<string> ModTypes;List of module IDs (mainly used for modded modules)
[Flags]
public enum ComponentSourceControls where this pool will draw from.
Values: Base, Mods
public enum SpecialComponentTypeEnumControls whether the modules will be chosen dynamically at runtime from whatever modules are loaded.
Values: None, ALL_SOLVABLE, ALL_NEEDY
Set to None to select specific module types.
public enum ComponentTypeEnumThe module types in the base game.
Values: Empty, Timer, Wires, BigButton, Keypad, Simon, WhosOnFirst, Memory, Morse, Venn, WireSequence, Maze, Password, NeedyVentGas, NeedyCapacitor, NeedyKnob