Basic gun code in place.