Ship-mounted weaponry in the Star Wars universe is often found on combat craft, though some merchant vessels and other non-combat spacecraft may have armaments to deter pirates.
星球大战宇宙中的舰载武器常在太空战斗中出现，而一些商船和其他非战斗飞船也能武装以对抗海盗。