Changes
no edit summary
local EnemyShip = require('Module:EnemyShip')
local EnemyShip = require('Module:EnemyShip')
local ShipCapabilities = require('Module:ShipCapabilities')
local ShipCapabilities = require('Module:ShipCapabilities')
local ShipGraphicKai = require('Module:ShipGraphicKai')
local ShipInfoKai = require('Module:ShipInfoKai')
local ShipInfoKai = require('Module:ShipInfoKai')
local Formatting = require('Module:Formatting')
local Formatting = require('Module:Formatting')
local Tabber = require('Module:Tabber')
local format = require('Module:StringInterpolation').format
local format = require('Module:StringInterpolation').format
function EnemyShipInfoKai:image()
function EnemyShipInfoKai:image()
self._vars.image = Formatting:format_image{self._ship:cg(), size = self._args.cg_size or self._cg_size}
self._vars.image = ShipGraphicKai:get{ship = self._ship, size = self._args.cg_size or self._cg_size}
if self._ship:can_debuff() then
local tabber = Tabber()
tabber:add_tab("Normal", ShipGraphicKai:get{ship = self._ship})
tabber:add_tab("Armor Broken", ShipGraphicKai:get{ship = self._ship, damaged = true})
self._vars.image = tostring(tabber)
end
end
end