Changes

no edit summary
Line 441: Line 441:  
return eq_type == 25 -- Autogyro
 
return eq_type == 25 -- Autogyro
 
or eq_type == 26 -- Anti-submarine Patrol Aircraft
 
or eq_type == 26 -- Anti-submarine Patrol Aircraft
 +
end
 +
 +
function EquipmentData:is_extra_armor()
 +
local eq_type = self:type()
 +
return eq_type == 16 -- Extra Armor
 +
or eq_type == 27 -- Extra Armor (Medium)
 +
or eq_type == 28 -- Extra Armor (Large)
 
end
 
end
  
cssedit, gkautomate
7,064

edits