In-Game DefinitionsGlobalsScripting FunctionsUpgradeChoiceLogicGetPriorityTraitsOn this pageGetPriorityTraits Function name in UpgradeChoiceLogic.lua Usage GetPriorityTraits(traitNames, lootData, args) Parameters traitNames, lootData, args Returns any