If I remember correctly the game uses a parameter of "isgun". Either yes or no to determine under fire morale penalty. Guns have -6 morale deficit and all others -2.