A free mod for Fallout 4, by xatmos.
Loot Detector is a powerful companion for your game, allowing you to take advantage of an already amazing game. With this companion, you can make it easier to find items and loot in the game, as well as make it easier to keep track of what you're carrying.
This mod will highlight corpses, ash/goo piles, unassigned settlers and objects, broken or unpowered objects, friendlies when scoped, creatures sleeping or unconscious, containers, terminals, collectibles, keys, holos, books, doors, weapons, ammo, caps, chems, legendary items. and even synth infiltrators.
You can customize the settings for this mod to match the style of your game.