Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)