>Is it really a terrible idea to restrict your software from being used to control weaponry?
Seems reasonable until you do something unrelated to offend the licensor and they decide to leverage a very loose definition of weaponry/munitions against you. For example, have a look at what is consider munitions for the purpose of export controls in the USA, and consider what additional items have been regulated as munitions in the past: