GridBuffProvider
< Modding | ComponentsModding/Components/GridBuffProvider
Jump to navigation
Jump to search
.rules
file/node location: Cosmoteer.Ships.Parts.Buffs.PartGridBuffProviderRules
Stores rules for a buff provider that provides buffs to all parts within a grid range.
Inherits from BasePartBuffProvider.
Name | Type | Required? | Buffable? | Default value | Description |
---|---|---|---|---|---|
GridDistance | int | Yes | - | - | How far the buff can be provided, measured on the grid.
|
AllowDiagonals | bool | - | - | - | if this is true, the distance can be counted diagonally, which should increase the effective range. |
Criteria | RelativePartCriteria?
meaning : A criteria block of code |
Yes | - | - | Filters what parts receive the buff. |
BuffsSelf | bool | - | - | - | Whether or not the buff also applies to the part it's from. |
Falloff | float | - | - | 0
(effectively) |
Scales the buff's value down based on the distance between this buffprovider and any receiver. |
Example mods
- (The Cable Age ? or is it radius-based)