Ejemplo n.º 1
0
 def mayInstall(self, vehicle, slotIdx=None):
     installPossible, reason = FittingItem.mayInstall(
         self, vehicle, slotIdx)
     if not installPossible and reason == 'too heavy':
         return (False, 'too heavy chassis')
     return (installPossible, reason)
Ejemplo n.º 2
0
 def mayInstall(self, vehicle, slotIdx = None):
     installPossible, reason = FittingItem.mayInstall(self, vehicle)
     if not installPossible and reason == 'not for current vehicle':
         return (False, 'need turret')
     return (installPossible, reason)
Ejemplo n.º 3
0
 def mayInstall(self, vehicle, slotIdx=None):
     installPossible, reason = FittingItem.mayInstall(self, vehicle)
     if not installPossible and reason == 'not for current vehicle':
         return (False, 'need turret')
     return (installPossible, reason)
Ejemplo n.º 4
0
 def mayInstall(self, vehicle, slotIdx = None):
     installPossible, reason = FittingItem.mayInstall(self, vehicle, slotIdx)
     if not installPossible and reason == 'too heavy':
         return (False, 'too heavy chassis')
     return (installPossible, reason)