Category:Carrier-based Night Aircraft hardcode, more to come tomorrow
Line 75:
Line 75:
table.insert(self._categories, format{"Category:Aircraft with 7+ ASW stat"})
table.insert(self._categories, format{"Category:Aircraft with 7+ ASW stat"})
end
end
+
end
+
--equip ID category hardcode section
+
local equipment_id = self._equipment:id()
+
if equipment_id == 154 or equipment_id == 242 or equipment_id == 243 or equipment_id == 244 or equipment_id == 244 or equipment_icon == 45 or equipment_icon == 46 then
+
table.insert(self._categories, format{"Category:Carrier-based Night Aircraft"})