- Automatically equip 'Chef's Hat' if the Chef enters the kitchen (Cooking TradeSkill).
- Remembers your old hat before you entered the kitchen. If you leave the kitchen your old ugly hat is equiped again (with it's visiblity setting).
btw there is no need to search through all your bags to find an item if you do not need to know where exactly it is
you can replace your WhereIsThisDamnedHat function with:
local function WhereIsThisDamnedHat()
local NumberOfChefsHats = GetItemCount(TheChefsHat)
if NumberOfChefsHats > 0 then
local _, OhhhhhTheHat = GetItemInfo(TheChefsHat)
not tested but thats what i have done in the past (don't have a DamnedHat yet /sigh)
I second the long-ago request to temporarily change the title to "Chef" while wearing the hat and having the Cooking menu open, but totally understand if you'd rather not. Appreciate the recent update to the mod.. Was looking for something like this since the patch.