Changes to antiwarpscramblingpassive.py: Fixed a typo of "warmScrambleStatus" to "warpScrambleStatus" Changes to targetingMiscViewMinimal.py: Extended existing tooltip to include warp core strength. Warp core strength is none for ships that do not have a hull bonus (venture etc.) or do not have any warp core stabs fitted so logic is added to default value to 0. Changes to targetingMiscViewFull.py: As above.
10 lines
251 B
Python
10 lines
251 B
Python
# antiWarpScramblingPassive
|
|
#
|
|
# Used by:
|
|
# Modules from group: Warp Core Stabilizer (8 of 8)
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, module, context):
|
|
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|