Refactor non-projected fighter commands

This commit is contained in:
DarkPhoenix
2019-04-13 01:27:26 +03:00
parent 36c19fe6e8
commit 6174bf8a0b
12 changed files with 123 additions and 95 deletions

View File

@@ -1069,9 +1069,12 @@ class Fit(object):
for f in self.fighters:
if f.active:
amount += 1
return amount
@property
def fighterTubesTotal(self):
return self.ship.getModifiedItemAttr("fighterTubes")
@property
def cargoBayUsed(self):
amount = 0