Shotgun traps work based on the tool cupboard building privilege system (firing at those without it). When players are present and within the 90-degree cone in front of the shotgun trap, the trap will activate and dispense a considerable amount of rapid-fire shotgun ammunition in a frontal cone roughly a foundation square in front of the trap.
Shotgun traps are on the easy side when it comes to baiting and disarming. They are used to deadly effect in several drop-down loot room base designs and trap bases.
The only viable way to destroy turrets, including the shotgun trap, is to damage them from range or utilize some other type of explosive device. For players placing them, they can be picked up to reposition or set elsewhere.