Changes

no edit summary
Line 234: Line 234:  
                 season = data._season,
 
                 season = data._season,
 
                 season_suffix = data._season_suffix,
 
                 season_suffix = data._season_suffix,
 +
                battle_card = data._battle_card,
 
             })
 
             })
 
         end
 
         end
Line 248: Line 249:  
             season = data._season,
 
             season = data._season,
 
             season_suffix = data._season_suffix,
 
             season_suffix = data._season_suffix,
 +
            battle_card = data._battle_card,
 
         })
 
         })
 
     end
 
     end
Line 270: Line 272:  
     return format{
 
     return format{
 
         [[<span class="advanced-tooltip">${cg}<div class="tooltip-contents">${card}${battle_card}</div></span>]],
 
         [[<span class="advanced-tooltip">${cg}<div class="tooltip-contents">${card}${battle_card}</div></span>]],
         cg = ShipGraphicKai:Asset({ name, link = "nil", damaged = damaged, size = size, hd = not seasonal }),
+
         cg = ShipGraphicKai:Asset({ name, link = "nil", damaged = damaged, size = size, hd = true }),
         card = ShipCardKai:Asset({ name, link = "nil", damaged = damaged, hd = not seasonal }),
+
         card = ShipCardKai:Asset({ name, link = "nil", damaged = damaged, hd = true }),
 
         battle_card = battle_card and ("<br>" .. ShipBattleCardKai:Asset({ name, link = "nil", damaged = damaged, hd = true })) or ""
 
         battle_card = battle_card and ("<br>" .. ShipBattleCardKai:Asset({ name, link = "nil", damaged = damaged, hd = true })) or ""
 
     }
 
     }
Line 387: Line 389:  
             table.insert(result, "{{!}}-{{!}}" .. title .. "=")
 
             table.insert(result, "{{!}}-{{!}}" .. title .. "=")
 
             if form.normal and form.damaged then
 
             if form.normal and form.damaged then
                 local image = cg(form.seasonal, form.name, false, "300px", not form.seasonal)
+
                 local image = cg(form.seasonal, form.name, false, "300px", form.battle_card or not form.seasonal)
                 local image_damaged = cg(form.seasonal, form.name, true, "300px", not form.seasonal)
+
                 local image_damaged = cg(form.seasonal, form.name, true, "300px", form.battle_card or not form.seasonal)
 
                 table.insert(result, format{
 
                 table.insert(result, format{
 
                     ShipPage._gallery_tabber,
 
                     ShipPage._gallery_tabber,
Line 395: Line 397:  
                 })
 
                 })
 
             elseif form.normal then
 
             elseif form.normal then
                 local image = cg(form.seasonal, form.name, false, "300px", not form.seasonal)
+
                 local image = cg(form.seasonal, form.name, false, "300px", form.battle_card or not form.seasonal)
 
                 table.insert(result, format{
 
                 table.insert(result, format{
 
                     ShipPage._gallery_normal,
 
                     ShipPage._gallery_normal,
Line 401: Line 403:  
                 })
 
                 })
 
             elseif form.damaged then
 
             elseif form.damaged then
                 local image_damaged = cg(form.seasonal, form.name, true, "300px", not form.seasonal)
+
                 local image_damaged = cg(form.seasonal, form.name, true, "300px", form.battle_card or not form.seasonal)
 
                 table.insert(result, format{
 
                 table.insert(result, format{
 
                     ShipPage._gallery_damaged,
 
                     ShipPage._gallery_damaged,
cssedit, gkautomate
7,064

edits