BasePartBuffProvider
.rules
file/node location: Cosmoteer.Ships.Parts.Buffs.BasePartBuffProviderRules
Stores rules common to all buff provider components.
This is an abstract class, made only for inheritance. Don't try to use it directly, pick an inheritor instead.
Itself inherits from OperationalPartComponent.
Inherited by :
Name | Type | Required? | Buffable? | Default value | Description |
---|---|---|---|---|---|
BuffType | BuffType
meaning : string |
Yes | - | - | (This parameter isn't serialized?) Name of the buff. |
BuffAmount | float | - | Yes | 1 | Influences the strength of the buff's effect.
The exact formula seems to be arbitrary, written by yourself.
|
BuffMultiplier | ID<PartComponentRules>?
meaning : a path to a component |
- | - | - | Influences the strength of the buff's effect.
The exact formula seems to be arbitrary, written by yourself.
|
ShowBuffRange | bool | - | - | false (effectively) | ?? |
BlueprintsOnly | bool | - | - | false (effectively) | If true, this buff does nothing outside of Blueprint mode.
Used for buffs that only convey information useful for placing the part.
|
ChainsFromBuffType | BuffType?
meaning : Name of a buff. |
Yes | - | - | Establishes a continuation of the buff between different parts.
Used by |
Notes
BuffAmount
being buffable itself has interesting implications.