Set up commands for adding/removing cargo

This commit is contained in:
blitzmann
2018-07-27 00:43:47 -04:00
parent 7f8ad3885d
commit b724e5bec1
9 changed files with 173 additions and 6 deletions

View File

@@ -672,6 +672,7 @@ class Fit(object):
else:
return None
@deprecated
def moveCargoToModule(self, fitID, moduleIdx, cargoIdx, copyMod=False):
"""
Moves cargo to fitting window. Can either do a copy, move, or swap with current module
@@ -775,6 +776,7 @@ class Fit(object):
eos.db.commit()
self.recalc(fit)
@deprecated
def addCargo(self, fitID, itemID, amount=1, replace=False):
"""
Adds cargo via typeID of item. If replace = True, we replace amount with
@@ -812,6 +814,7 @@ class Fit(object):
return True
@deprecated
def removeCargo(self, fitID, position):
pyfalog.debug("Removing cargo from position ({0}) fit ID: {1}", position, fitID)
if fitID is None: