Changes

improvable category disabled. _improvements = true, causes "Lua error in Module:EquipmentData at line 507: attempt to index field '_improvements' (a boolean value)."
Line 100: Line 100:     
function EquipmentCategoriesKai:create_obtainability_categories()
 
function EquipmentCategoriesKai:create_obtainability_categories()
local buildable, improvable, obtainable_through_upgrade = self._equipment:buildable(), self._equipment:improvement_products(), self._equipment:improvement_from()
+
local buildable, obtainable_through_upgrade = self._equipment:buildable(), self._equipment:improvement_from() --improvable category disabled.  _improvements = true,  causes "Lua error in Module:EquipmentData at line 507: attempt to index field '_improvements' (a boolean value)."
 +
--local buildable, improvable, obtainable_through_upgrade = self._equipment:buildable(), self._equipment:improvement_products(), self._equipment:improvement_from()
 
if buildable then
 
if buildable then
 
table.insert(self._categories, format{"Category:Equipment buildable in Development"})
 
table.insert(self._categories, format{"Category:Equipment buildable in Development"})
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,373

edits