AreaBuffProvider
< Modding | ComponentsModding/Components/AreaBuffProvider
Jump to navigation
Jump to search
.rules
file/node location: Cosmoteer.Ships.Parts.Buffs.PartAreaBuffProviderRules
Stores rules for a buff provider that provides a buff to a specific rectangular area relative to the current part.
Inherits from BasePartBuffProvider.
Name | Type | Required? | Buffable? | Default value | Description |
---|---|---|---|---|---|
BuffArea | IntRect | Yes | - | - | The area in which the buff is applied. The numbers are x, y, width and height. |
Criteria | RelativePartCriteria?
meaning : A criteria block of code |
- | - | - | Filters what parts receive the buff. |
BuffsSelf | bool | - | - | - | Whether or not the buff also applies to the part it's from. |
Notes
- Unlike other multi-part buff providers, this one doesn't have the Falloff parameter.
Examples
This subsection is currently work-in-progress: Some things may be missing.
Feel free to contribute to make it better!