* Show fighter bay resources in fighter pane

* Give fighters a state
* Include some toggled stats on the resources pane
* Add some decent icons for fighter stuff
This commit is contained in:
blitzmann
2016-04-28 00:10:01 -04:00
parent 0ad4f07591
commit b15f9766c1
11 changed files with 177 additions and 36 deletions

View File

@@ -749,6 +749,15 @@ class Fit(object):
self.recalc(fit)
return True
def toggleFighter(self, fitID, i):
fit = eos.db.getFit(fitID)
f = fit.fighters[i]
f.active = not f.active
eos.db.commit()
self.recalc(fit)
return True
def toggleImplant(self, fitID, i):
fit = eos.db.getFit(fitID)
implant = fit.implants[i]