Beispiel #1
0
 def ApplyAttributes(self, attributes):
     if attributes.isCapital:
         attributes.texturePath = 'res:/ui/Texture/classes/Sov/CapitalStarSelection20.png'
         attributes.hint = GetByLabel('UI/Sovereignty/CurrentCapital')
     else:
         attributes.texturePath = 'res:/UI/Texture/classes/Sov/selectCapitalButton20.png'
         attributes.hint = GetByLabel('UI/Sovereignty/SetAsCapital')
     GlowSprite.ApplyAttributes(self, attributes)
     self.isCapital = attributes.isCapital
     self.solarSystemID = attributes.solarSystemID
Beispiel #2
0
 def ApplyAttributes(self, attributes):
     GlowSprite.ApplyAttributes(self, attributes)
     self.controller = attributes.controller
     self.hintHeader = attributes.hintHeader
     self.serviceName = attributes.serviceName
     self.serviceID = attributes.serviceID
Beispiel #3
0
 def ApplyAttributes(self, attributes):
     GlowSprite.ApplyAttributes(self, attributes)
     self.itemID = attributes.itemID
     self.hint = GetByLabel('UI/Commands/ShowLocationOnMap')
Beispiel #4
0
 def ApplyAttributes(self, attributes):
     GlowSprite.ApplyAttributes(self, attributes)
     self.itemID = attributes.get('itemID', self.default_itemID)
     self.typeID = attributes.get('typeID', self.default_typeID)
     self.abstractinfo = attributes.get('abstractinfo',
                                        self.default_abstractinfo)
Beispiel #5
0
 def ApplyAttributes(self, attributes):
     GlowSprite.ApplyAttributes(self, attributes)
     self.typeID = attributes.typeID
     self.itemID = attributes.itemID
     self.hint = GetByLabel('UI/Commands/ShowInfo')
 def ApplyAttributes(self, attributes):
     GlowSprite.ApplyAttributes(self, attributes)
     self.typeID = attributes.typeID
     self.hint = GetByLabel(
         'UI/Inventory/ItemActions/ViewTypesMarketDetails')