4,951
edits
Falterfire (talk | contribs) (Typo fixing) |
Falterfire (talk | contribs) (Moved getEquipmentSlotName to here) |
||
Line 177: | Line 177: | ||
end | end | ||
return nil | return nil | ||
end | |||
function p.getEquipmentSlotName(id) | |||
for slotName, i in Shared.skpairs(ConstantData.equipmentSlot) do | |||
if i == id then | |||
return slotName | |||
end | |||
end | |||
return 'Invalid' | |||
end | end | ||