- 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
Line 208:
Line 208:
− +
− +
− elseif self._ship:is_installation() then+
− ship_type = ship_type .. " (Installation)"
+
+
units with 0 speed are treated as installations both internally and apparently (can be shown by KC Kai)
function EnemyShipInfoKai:type()
function EnemyShipInfoKai:type()
local ship_type = Formatting:format_ship_type(self._ship:type())
local ship_type = Formatting:format_ship_type(self._ship:type())
if self._ship:is_pillbox() then
if self._ship:speed() == 0 then
ship_type = ship_type .. " (Pillbox)"
ship_type = ship_type ..
(self._ship:is_pillbox() and " (Pillbox)" or " (Installation)")
end
end
-- automatically make units with 0 speed installations
-- deprecate _installation
self._vars.type = ship_type
self._vars.type = ship_type
end
end