Offslot checkbox behaviour

Made it so the offslot checkbox doesn't show unless a onehander/ring is
placed in it. It now also has category specific text(offhand slot & 2nd
ring slot)
Also replaced the table.foreach with for in pairs loops usage seeing as
it's officially depricated