Implants and boosters in Multibuy export

This commit is contained in:
petosorus
2016-09-15 08:19:21 +02:00
parent 54c950f951
commit 8338b6adb3

View File

@@ -893,6 +893,14 @@ class Port(object):
for cargo in fit.cargo:
export += "%s x%s\n" % (cargo.item.name, cargo.amount)
if len(fit.implants) > 0:
for implant in fit.implants:
export += "%s\n" % implant.item.name
if len(fit.boosters) > 0:
for booster in fit.boosters:
export += "%s\n" % booster.item.name
if export[-1] == "\n":
export = export[:-1]