• 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
no edit summary
Line 612: Line 612:  
return Ship:create_from_reference(self:remodel_from(), self):availability()
 
return Ship:create_from_reference(self:remodel_from(), self):availability()
 
else
 
else
    local availability = self._availability or {}
+
    return self._availability
    local buildable = false
  −
    if self:buildable() then
  −
        buildable = true
  −
        availability.buildable = availability.buildable or {}
  −
        availability.buildable.normal = true
  −
    end
  −
    if self:buildable_lsc() then
  −
        buildable = true
  −
        availability.buildable = availability.buildable or {}
  −
        availability.buildable.lsc = true
  −
    end
  −
    if buildable then
  −
        table.insert(availability, 1, "buildable")
  −
    end
  −
    if #availability == 0 then
  −
        return self._availability
  −
    end
  −
        return availability
   
end
 
end
 
end
 
end
Anonymous user

Navigation menu