Files
eveship.fit.data/patches/droneActive.yaml
Patric Stout 82a9749ae7 feat: move hard-coded attributes to YAML patches (#63)
This allows for easier modification of how attributes are calculated, and doesn't require a new dogma-engine for any attribute change.
2024-07-06 11:57:25 +00:00

47 lines
933 B
YAML

description: |
Patch in an attribute to indicate how much drones are active and how much
bandwidth they consume.
attributes:
- new:
name: droneActive
published: true
defaultValue: 0
highIsGood: true
stackable: true
- new:
name: droneUsage
published: true
defaultValue: 1
highIsGood: true
stackable: true
effects:
- new:
name: droneActive
effectCategory: active
electronicChance: false
isAssistance: false
isOffensive: false
isWarpSafe: true
propulsionChance: false
rangeChance: false
modifierInfo:
- domain: shipID
func: ItemModifier
modifiedAttribute: droneActive
modifyingAttribute: droneUsage
operation: modAdd
- domain: shipID
func: ItemModifier
modifiedAttribute: droneBandwidthLoad
modifyingAttribute: droneBandwidthUsed
operation: modAdd
typeDogma:
- patch:
- category: Drone
dogmaEffects:
- effect: droneActive
isDefault: false