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

Navigation menu