Pass in weapon name to component。