Changes

no edit summary
Line 101: Line 101:  
icon = Formatting:format_image{Formatting:format_equipment_icon(item:icon())},  
 
icon = Formatting:format_image{Formatting:format_equipment_icon(item:icon())},  
 
name = Formatting:format_link(item:link()),  
 
name = Formatting:format_link(item:link()),  
resources = Formatting:format_resources(item:improvement_resources() or {devmat = false, screw = false}),  
+
resources = Formatting:format_resources(item:improvement_resources() or {devmat = false, conmat = false, screw = false}),  
 
edit_link = edit_link,
 
edit_link = edit_link,
 
}, row = {classes = {}}} --The classes table will be mutated by this item's various rows as a set of css classes for the multi toggle.
 
}, row = {classes = {}}} --The classes table will be mutated by this item's various rows as a set of css classes for the multi toggle.
Line 462: Line 462:  
function ImprovementTableKai:create_header()
 
function ImprovementTableKai:create_header()
 
if self._single_item then
 
if self._single_item then
self._header_icons.resources = self._basic_resources_label .. Formatting:format_resources(self._items[1].item:improvement_resources() or {devmat = false, screw = false})
+
self._header_icons.resources = self._basic_resources_label .. Formatting:format_resources(self._items[1].item:improvement_resources() or {devmat = false, conmat = false, screw = false})
 
else
 
else
 
self._header_icons.resources = ""
 
self._header_icons.resources = ""
cssedit, gkautomate
7,060

edits