First iteration of the drone view, as well as a bunch of other related changes

This commit is contained in:
cncfanatics
2010-09-04 23:25:02 +02:00
parent 53b89496d8
commit 48293cdf8b
8 changed files with 97 additions and 36 deletions

View File

@@ -29,7 +29,7 @@ class DroneNameAmount(ViewColumn):
self.columnText = "Name"
def getText(self, drone):
return "%dX %s (%d Active)" % (drone.amount, stuff.item.name, drone.amountActive)
return "%dx %s (%d Active)" % (drone.amount, drone.item.name, drone.amountActive)
def getImageId(self, mod):
return -1