Changes

no edit summary
Line 422: Line 422:  
return eq_type == 5 -- Torpedo
 
return eq_type == 5 -- Torpedo
 
or eq_type == 32 -- Submarine Torpedo
 
or eq_type == 32 -- Submarine Torpedo
 +
end
 +
 +
function EquipmentData:is_radar()
 +
local eq_type = self:type()
 +
return eq_type == 12 -- Small Radar
 +
or eq_type == 13 -- Large Radar
 +
or eq_type == 93 -- Large Radar (II)
 
end
 
end
  
cssedit, gkautomate
7,064

edits