• 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
m
Reverted edits by Chocolatecravinghobo (talk) to last version by IloveSuiseiseki
Line 59: Line 59:     
function ShipCategoriesKai:create_remodel_categories()
 
function ShipCategoriesKai:create_remodel_categories()
local remodel_development_material, remodel_construction_material, remodel_blueprint, remodel_catapult, remodel_report, remodel_gunmat, remodel_airmat = self._ship:remodel_development_material(), self._ship:remodel_construction_material(), self._ship:remodel_blueprint(), self._ship:remodel_catapult(), self._ship:remodel_report(), self._ship:remodel_gunmat(), self._ship:remodel_airmat()
+
local remodel_blueprint = self._ship:remodel_blueprint()
if remodel_development_material then
  −
table.insert(self._categories, format{"Category:Ships that consume Development Material during remodeling"})
  −
end
  −
if remodel_construction_material then
  −
table.insert(self._categories, format{"Category:Ships that consume Instant Construction Material during remodeling"})
  −
end
   
if remodel_blueprint then
 
if remodel_blueprint then
table.insert(self._categories, format{"Category:Ships that consume Blueprint during remodeling"})
+
table.insert(self._categories, format{"Category:Ships that require a blueprint for remodelling"})
end
  −
if remodel_catapult then
  −
table.insert(self._categories, format{"Category:Ships that consume Prototype Flight Deck Catapult during remodeling"})
  −
end
  −
if remodel_report then
  −
table.insert(self._categories, format{"Category:Ships that consume Action Report during remodeling"})
  −
end
  −
if remodel_gunmat then
  −
table.insert(self._categories, format{"Category:Ships that consume New Model Gun Mount Improvement Material during remodeling"})
  −
end
  −
if remodel_airmat then
  −
table.insert(self._categories, format{"Category:Ships that consume New Model Aerial Armament Material during remodeling"})
   
end
 
end
 
end
 
end
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,372

edits

Navigation menu