Changes

m
fix?
Line 59: Line 59:     
function ShipCategoriesKai:create_remodel_categories()
 
function ShipCategoriesKai:create_remodel_categories()
local  
+
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()
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()
   
if remodel_development_material then
 
if remodel_development_material then
 
table.insert(self._categories, format{"Category:Ships that consume Development Material during remodeling"})
 
table.insert(self._categories, format{"Category:Ships that consume Development Material during remodeling"})
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,372

edits