OperationalChainablePartComponent

From Cosmoteer Wiki
< Modding‎ | ComponentsModding/Components/OperationalChainablePartComponent
Jump to navigation Jump to search
Code location (what's this?): Cosmoteer.Ships.Parts.OperationalChainablePartComponent

Extends the ChainablePartComponent base class to implement on/off "operational" functionality common to many components.

"Chained to" means components that follow the position of a part, or somewhere offset : a place that doesn't move relative to that part (as opposed to the background).

Inherits from ChainablePartComponent.

This is an abstract class, made to share functionality with its inheritors. Don't use it directly, choose one of them.

Inheritor(s) :

Parameters (Complete list)
Name Type Required? Buffable? Default value Description
OperationalToggle ID<PartComponentRules>? - - - Reference to the part component used as a toggle for this component.
InvertOperationalToggle bool - - false

(effectively)

Makes the toggle trigger when Off and vice-versa.
DisableWhenDeconstructing bool - - - Presumably makes this component not do anything while the part it's on is being deconstructed.

Notes

Nothing yet.

See also