Line 19: |
Line 19: |
| 'Unryuu', 'Uranami', 'Uzuki', 'Warspite', 'Yahagi', 'Yamakaze', 'Yamato', 'Z1', 'Z3', 'Zara', | | 'Unryuu', 'Uranami', 'Uzuki', 'Warspite', 'Yahagi', 'Yamakaze', 'Yamato', 'Z1', 'Z3', 'Zara', |
| 'Hiburi', 'Daitou', 'Gambier Bay', 'Jervis', 'Hamanami', 'Tashkent', 'Intrepid', | | 'Hiburi', 'Daitou', 'Gambier Bay', 'Jervis', 'Hamanami', 'Tashkent', 'Intrepid', |
− |
| |
− | 'None',
| |
| } | | } |
| | | |
Line 163: |
Line 161: |
| if ship and nodes then | | if ship and nodes then |
| local ship_table = Ship:get_table(ship, '') | | local ship_table = Ship:get_table(ship, '') |
− | local noType
| |
− | if ship == "None" then
| |
− | noType = ""
| |
− | ship_table = { _type = "" }
| |
− | end
| |
| if ship_table and ship_table._type then | | if ship_table and ship_table._type then |
| local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship) | | local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship) |
Line 180: |
Line 173: |
| regular = regular, | | regular = regular, |
| ship_color = rarity_colors[ignored][rare], | | ship_color = rarity_colors[ignored][rare], |
− | type = noType and "" or Formatting:format_ship_code(ship_table._type) or '?', | + | type = Formatting:format_ship_code(ship_table._type) or '?', |
| nodes = {}, | | nodes = {}, |
| }) | | }) |