MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / getStoreLimitForDrone

Method getStoreLimitForDrone

eos/saveddata/fit.py:1816–1822  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

1814 return int(bw / volume)
1815
1816 def getStoreLimitForDrone(self, item):
1817 if not item.isDrone:
1818 return 0
1819 bayTotal = round(self.ship.getModifiedItemAttr("droneCapacity"))
1820 bayUsed = round(self.droneBayUsed)
1821 volume = item.attribsWithOverrides['volume'].value
1822 return int((bayTotal - bayUsed) / volume)
1823
1824 def getSystemSecurity(self):
1825 secstatus = self.systemSecurity

Callers

nothing calls this directly

Calls 1

getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected