Fix Scram effect to turn off MWDs. Fixes #70
This commit is contained in:
@@ -4,5 +4,13 @@
|
||||
# Variations of module: Warp Scrambler I (19 of 19)
|
||||
runTime = "early"
|
||||
type = "projected", "active"
|
||||
|
||||
from eos.types import State
|
||||
|
||||
def handler(fit, module, context):
|
||||
pass
|
||||
if "projected" not in context:
|
||||
return
|
||||
# this is such a dirty hack
|
||||
for mod in fit.modules:
|
||||
if not mod.isEmpty and mod.item.requiresSkill("High Speed Maneuvering") and mod.state > State.ONLINE:
|
||||
mod.state = State.ONLINE
|
||||
|
||||
Reference in New Issue
Block a user