loot now works

the loot function now works and plays a sound if the option is enabled,
otherwise it doesnt. need to set it up so that it checks reagents table.