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