Changes

no edit summary
Line 282: Line 282:  
end
 
end
 
if row_data.stars == self._improvement_brackets[#self._improvement_brackets] and row_data.product then
 
if row_data.stars == self._improvement_brackets[#self._improvement_brackets] and row_data.product then
local product = Equipment(row_data.product)
+
    local productName = string.gsub(row_data.product, '*', '')
local stars = row_data.item:improvement_product_initial_level(row_data.product)
+
local product = Equipment(productName)
 +
local stars = row_data.item:improvement_product_initial_level(productName)
 
table.insert(result, format{self._produced_equipment_label,  
 
table.insert(result, format{self._produced_equipment_label,  
 
icon = Formatting:format_image{Formatting:format_equipment_icon_simple(product:icon()), size = self._small_icon_size},  
 
icon = Formatting:format_image{Formatting:format_equipment_icon_simple(product:icon()), size = self._small_icon_size},  
cssedit, gkautomate
7,060

edits