Changes
no edit summary
table.remove(ships, index)
table.remove(ships, index)
end
end
for _, stars in ipairs(self._improvement_brackets) do
for _, stars in ipairs(item:improvement_brackets(product)) do
table.insert(result, {item = item, product = product, stars = stars, ships = ships, ship_data = ship_data, availability = availability, resources = item:improvement_resources(false, product, stars), resources_x = item:improvement_resources(true, product, stars)})
table.insert(result, {item = item, product = product, stars = stars, ships = ships, ship_data = ship_data, availability = availability, resources = item:improvement_resources(false, product, stars), resources_x = item:improvement_resources(true, product, stars)})
end
end
end
end
else
else
table.insert(result, {item = item, stars = nil})
end
end
end
end