In-Game DefinitionsGlobalsScripting FunctionsRoomLogicHasTraitOnLootOn this pageHasTraitOnLoot Function name in RoomLogic.lua Usage HasTraitOnLoot(loot, traitName) Parameters loot, traitName Returns bool