Changes

no edit summary
Line 416: Line 416:  
return eq_type == 9 -- Carrier-based Reconnaissance Aircraft
 
return eq_type == 9 -- Carrier-based Reconnaissance Aircraft
 
or eq_type == 94 -- Carrier-based Reconnaissance Aircraft (II)
 
or eq_type == 94 -- Carrier-based Reconnaissance Aircraft (II)
 +
end
 +
 +
function EquipmentData:is_torpedo()
 +
local eq_type = self:type()
 +
return eq_type == 5 -- Torpedo
 +
or eq_type == 32 -- Submarine Torpedo
 
end
 
end
  
cssedit, gkautomate
7,064

edits