Miners hat

A proof of concept: a miners hat. Probably still has some bugs where worn items are threaten different than items in the inventory.