Changes

no edit summary
Line 2: Line 2:  
local Equipment = require('Module:Equipment')
 
local Equipment = require('Module:Equipment')
 
local Formatting = require('Module:Formatting')
 
local Formatting = require('Module:Formatting')
 +
local EquipmentGraphicKai = require('Module:EquipmentGraphicKai')
 
local StatIcons = require('Module:Data/Asset')
 
local StatIcons = require('Module:Data/Asset')
 
   
 
   
Line 12: Line 13:  
_header_template = [=[! No.
 
_header_template = [=[! No.
 
! Rarity
 
! Rarity
 +
! CG
 
! style="width: 320px" | Name
 
! style="width: 320px" | Name
 
! style="width: 160px" | Type
 
! style="width: 160px" | Type
Line 22: Line 24:  
"id",
 
"id",
 
"rarity",
 
"rarity",
 +
"cg",
 
"name",
 
"name",
 
"equipment_type",
 
"equipment_type",
Line 37: Line 40:  
return {values = {value = Formatting:tooltip(Formatting:format_stars(equipment:stars()), Formatting:format_equipment_rarity(equipment:rarity()), nil, Formatting._display_inline_block_css)}, bg_color = self._transparent, text_align = self._center_align}
 
return {values = {value = Formatting:tooltip(Formatting:format_stars(equipment:stars()), Formatting:format_equipment_rarity(equipment:rarity()), nil, Formatting._display_inline_block_css)}, bg_color = self._transparent, text_align = self._center_align}
 
end
 
end
+
 
 +
function EnemyEquipmentListKai:cg(equipment)
 +
return {values = {value = EquipmentGraphicKai:get{equip = equipment, size = '100px'}}, bg_color = self._transparent, text_align = self._center_align}
 +
end
 +
 
 
function EnemyEquipmentListKai:name(equipment)
 
function EnemyEquipmentListKai:name(equipment)
 
return {values = {name = Formatting:format_link(equipment:link()),  
 
return {values = {name = Formatting:format_link(equipment:link()),  
cssedit, gkautomate
7,064

edits