modalWarning = function (termPrefix) {
				const title = termPrefix + "Title", message = termPrefix + "Message";
				if (KC3SortieManager.isOnSortie()) {
					KC3Network.trigger("ModalBox", {
						title: KC3Meta.term(title),
						message: KC3Meta.term(message),
					});
				}
			}
@return
  i: index of test (>= 0) matches test and morale
 -1: matches a test but not morale
 -2: matches a test but not equips
 -3: does not match any test

Eg: if(checkGunFitsRequirements(ship) < 0) continue;