In-Game DefinitionsGlobalsScripting FunctionsTraitLogicSetTraitsOnLootOn this pageSetTraitsOnLoot Function name in TraitLogic.lua Usage SetTraitsOnLoot(lootData, args) Parameters lootData, args Returns any