Convert implant location change to a command
This commit is contained in:
@@ -424,15 +424,6 @@ class Fit(FitDeprecated):
|
||||
else:
|
||||
return False
|
||||
|
||||
def toggleImplantSource(self, fitID, source):
|
||||
pyfalog.debug("Toggling implant source for fit ID: {0}", fitID)
|
||||
fit = eos.db.getFit(fitID)
|
||||
fit.implantSource = source
|
||||
|
||||
eos.db.commit()
|
||||
self.recalc(fit)
|
||||
return True
|
||||
|
||||
def toggleRestrictionIgnore(self, fitID):
|
||||
pyfalog.debug("Toggling restriction ignore for fit ID: {0}", fitID)
|
||||
fit = eos.db.getFit(fitID)
|
||||
|
||||
@@ -46,6 +46,16 @@ class FitDeprecated(object):
|
||||
eos.db.commit()
|
||||
return old_name, newName
|
||||
|
||||
@deprecated
|
||||
def toggleImplantSource(self, fitID, source):
|
||||
pyfalog.debug("Toggling implant source for fit ID: {0}", fitID)
|
||||
fit = eos.db.getFit(fitID)
|
||||
fit.implantSource = source
|
||||
|
||||
eos.db.commit()
|
||||
self.recalc(fit)
|
||||
return True
|
||||
|
||||
@deprecated
|
||||
def toggleDrone(self, fitID, i):
|
||||
pyfalog.debug("Toggling drones for fit ID: {0}", fitID)
|
||||
|
||||
Reference in New Issue
Block a user