Redefine scrambler operation.

If we are projecting effects, modify warpScrambleStatus all the time, and turn off modules requiring 'High Speed Maneuvering' (MWDs) or "Micro Jump Drive Operation" (MJD etc) if a scrambling script is loaded.
This commit is contained in:
Neugeniko
2018-03-07 15:29:31 +11:00
committed by GitHub
parent 0994158abd
commit 04c62aabea

View File

@@ -18,3 +18,5 @@ def handler(fit, module, context):
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
if not mod.isEmpty and mod.item.requiresSkill("Micro Jump Drive Operation") and mod.state > State.ONLINE:
mod.state = State.ONLINE