• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Equipment Icons
Line 32: Line 32:  
function EquipmentData:card(raw)
 
function EquipmentData:card(raw)
 
return self:format_image(self._card, nil, raw)
 
return self:format_image(self._card, nil, raw)
 +
end
 +
 +
function EquipmentData:icon(raw)
 +
return self:format_image(self:format_icon(self._icon, raw), nil, raw)
 
end
 
end
   Line 139: Line 143:  
[35] = "Aviation Personnel",
 
[35] = "Aviation Personnel",
 
[36] = "Anti-Aircraft Fire Director",
 
[36] = "Anti-Aircraft Fire Director",
 +
})
 +
 +
EquipmentData.format_icon = EquipmentData.create_formatter({
 +
[1] = "RedGunLight.png",
 +
[2] = "RedGunMedium.png",
 +
[3] = "RedGunHeavy.png",
 +
[4] = "YellowGun.png",
 +
[5] = "Torpedo.png",
 +
[6] = "GreenPlane.png",
 +
[7] = "RedPlane.png",
 +
[8] = "BluePlane.png",
 +
[9] = "YellowPlane.png",
 +
[10] = "Seaplane.png",
 +
[11] = "Radar.png",
 +
[12] = "GreenAmmo.png",
 +
[13] = "RedAmmo.png",
 +
[14] = "EmergencyRepair.png",
 +
[15] = "GreenGunMG.png",
 +
[16] = "GreenGunDP.png",
 +
[17] = "DepthCharge.png",
 +
[18] = "Sonar.png",
 +
[19] = "Turbine.png",
 +
[20] = "LandingCraft.png",
 +
[21] = "Heli.png",
 +
[22] = "Subplane.png",
 +
[23] = "Expansion Bulge (Medium).png",
 +
[24] = "Searchlight.png",
 +
[25] = "Drum.png",
 +
[26] = "Facility.png",
 +
[27] = "FlareIcon.png",
 +
[28] = "Cf_c.png",
 +
[29] = "Ap_c.png",
 +
[30] = "Aafd_c.png",
 
})
 
})
  
Anonymous user

Navigation menu