Changes

no edit summary
Line 713: Line 713:  
     end
 
     end
 
     return air_power
 
     return air_power
 +
end
 +
 +
function ShipData:has_lbas_ha_bomber()
 +
    for i = 1, self:slots_length() or 0 do
 +
        local equipment = self:slot(i)
 +
        if equipment and equipment:is_lbas_ha_bomber() then
 +
            return true
 +
        end
 +
    end
 +
    return false
 
end
 
end
  
cssedit, gkautomate
7,064

edits