Merge remote-tracking branch 'origin/Remote_Repair_Pane_v2' into Remote_Repair_Pane_v2
# Conflicts: # eos/saveddata/fit.py
This commit is contained in:
@@ -1169,14 +1169,11 @@ class Fit(object):
|
|||||||
return self.__remoteReps
|
return self.__remoteReps
|
||||||
|
|
||||||
for module in self.modules:
|
for module in self.modules:
|
||||||
# Skip empty modules
|
# Skip empty and non-Active modules
|
||||||
if module.isEmpty:
|
if module.isEmpty or module.state < State.ACTIVE:
|
||||||
continue
|
|
||||||
|
|
||||||
# Skip modules that aren't online
|
|
||||||
if getattr(module, "state", 0) < 1:
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# Covert cycleTime to seconds
|
||||||
duration = module.cycleTime / 1000
|
duration = module.cycleTime / 1000
|
||||||
|
|
||||||
# Skip modules with no duration.
|
# Skip modules with no duration.
|
||||||
|
|||||||
@@ -83,10 +83,10 @@ class OutgoingViewFull(StatsView):
|
|||||||
# If we did anything intresting, we'd update our labels to reflect the new fit's stats here
|
# If we did anything intresting, we'd update our labels to reflect the new fit's stats here
|
||||||
|
|
||||||
stats = [
|
stats = [
|
||||||
("labelRemoteArmor", lambda: fit.remoteReps["Armor"], 3, 0, 0, u"%s HP/s", None),
|
("labelRemoteArmor", lambda: fit.armorRR, 3, 0, 0, u"%s HP/s", None),
|
||||||
("labelRemoteShield", lambda: fit.remoteReps["Shield"], 3, 0, 0, u"%s HP/s", None),
|
("labelRemoteShield", lambda: fit.shieldRR, 3, 0, 0, u"%s HP/s", None),
|
||||||
("labelRemoteHull", lambda: fit.remoteReps["Hull"], 3, 0, 0, u"%s HP/s", None),
|
("labelRemoteHull", lambda: fit.hullRR, 3, 0, 0, u"%s HP/s", None),
|
||||||
("labelRemoteCapacitor", lambda: fit.remoteReps["Capacitor"], 3, 0, 0, u"%s GJ/s", None),
|
("labelRemoteCapacitor", lambda: fit.capTransfer, 3, 0, 0, u"%s GJ/s", None),
|
||||||
]
|
]
|
||||||
|
|
||||||
counter = 0
|
counter = 0
|
||||||
|
|||||||
@@ -83,10 +83,10 @@ class OutgoingViewFull(StatsView):
|
|||||||
# If we did anything intresting, we'd update our labels to reflect the new fit's stats here
|
# If we did anything intresting, we'd update our labels to reflect the new fit's stats here
|
||||||
|
|
||||||
stats = [
|
stats = [
|
||||||
("labelRemoteArmor", lambda: fit.remoteReps["Armor"], 3, 0, 0, u"%s HP/s", None),
|
("labelRemoteArmor", lambda: fit.armorRR, 3, 0, 0, u"%s HP/s", None),
|
||||||
("labelRemoteShield", lambda: fit.remoteReps["Shield"], 3, 0, 0, u"%s HP/s", None),
|
("labelRemoteShield", lambda: fit.shieldRR, 3, 0, 0, u"%s HP/s", None),
|
||||||
("labelRemoteHull", lambda: fit.remoteReps["Hull"], 3, 0, 0, u"%s HP/s", None),
|
("labelRemoteHull", lambda: fit.hullRR, 3, 0, 0, u"%s HP/s", None),
|
||||||
("labelRemoteCapacitor", lambda: fit.remoteReps["Capacitor"], 3, 0, 0, u"%s GJ/s", None),
|
("labelRemoteCapacitor", lambda: fit.capTransfer, 3, 0, 0, u"%s GJ/s", None),
|
||||||
]
|
]
|
||||||
|
|
||||||
counter = 0
|
counter = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user