- 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 320:
Line 320:
− +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
no edit summary
self._products_keys = {}
self._products_keys = {}
for key, _ in pairs(self._improvements._products) do
for key, _ in pairs(self._improvements._products) do
table.insert(self._products_keys, key)
if key ~= false then
table.insert(self._products_keys, key)
end
end
end
table.sort(self._products_keys)
table.sort(self._products_keys)
if self._improvements._products[false] then
table.insert(self._products_keys, 1, false)
end
return self._products_keys
return self._products_keys
else
else
self._products_keys = false
self._products_keys = false
end
end
function EquipmentData:improvement_brackets(product)
if self._improvements and self._improvements._products and self._improvements._products[product] then
if self._brackets == nil then
self._brackets = {}
end
for bracket, _ in pairs(self._improvements._products[product]) do
if type(bracket) == "number" then
table.insert(self._brackets, bracket)
end
end
table.sort(self._brackets)
end
end
end
end