extract code that sets item::fridge into separate function
Merge pull request #6147 from BevapDin/fridges

Fixes second part of #6145