13 lines
320 B
Python
13 lines
320 B
Python
# modeVelocityPostDiv
|
|
#
|
|
# Used by:
|
|
# Modules named like: Propulsion Mode (3 of 3)
|
|
type = "passive"
|
|
def handler(fit, module, context):
|
|
fit.ship.multiplyItemAttr(
|
|
"maxVelocity",
|
|
1 / module.getModifiedItemAttr("modeVelocityPostDiv"),
|
|
stackingPenalties=True,
|
|
penaltyGroup="postDiv"
|
|
)
|