- 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 307:
Line 307:
− +
− local product_info = self._improvements._product[products]
Line 316:
Line 315:
− elseif product_info[stars] then +
− return {+
− devmat = slider and product_info[stars]._development_material_x or product_info[stars]._development_material,+
− screw = slider and product_info[stars]._improvement_material_x or product_info[stars]._improvement_material,+
− equipment = product_info._equipment,+
− } +
+
+
+
+
Fix basic resources
function EquipmentData:improvement_resources(slider, product, stars)
function EquipmentData:improvement_resources(slider, product, stars)
if self._improvements and self._improvements._products and self._improvements._products[product] then
if self._improvements then
if not stars then
if not stars then
return {
return {
bauxite = product_info._bauxite,
bauxite = product_info._bauxite,
}
}
end
if self._improvements._products and self._improvements._products[product] then
local product_info = self._improvements._product[products]
if product_info[stars] then
return {
devmat = slider and product_info[stars]._development_material_x or product_info[stars]._development_material,
screw = slider and product_info[stars]._improvement_material_x or product_info[stars]._improvement_material,
equipment = product_info._equipment,
}
end
end
end
end
end