Changes
Test changing to EquipmentLink
local StatIcons = require('Module:StatIcons')
local StatIcons = require('Module:StatIcons')
local Formatting = require('Module:Formatting')
local Formatting = require('Module:Formatting')
local EquipmentLink = require('Module:EquipmentLink')
local format = require('Module:Utils').format
local format = require('Module:Utils').format
color = equipment:back()
color = equipment:back()
equipment_type = equipment:type()
equipment_type = equipment:type()
equipment = Formatting:format_link(equipment:link())
equipment = EquipmentLink:create(equipment:link())
if eqStars then
if eqStars then
stars = " " .. Formatting:format_slot_stars(eqStars)
stars = " " .. Formatting:format_slot_stars(eqStars)