function ADVR.onLoad() achievement.unlocksItem = relics.THIEFS_MARK achievement.psvrID = 41 achievement.hideDescription = false achievement.predecessors = {achievements.GOOD_LUCK} achievement.category = "exploration" achievement.showProgressBar = true achievement.hideIfProgressIsBelowNumber = 3 end function ADVR.onRoomEntered(room) if room.type == roomTypes.SECRET then local val = game.LoadInt("errant_entrances_rooms_entered", 0) val = val + 1 game.SaveInt("errant_entrances_rooms_entered", val) if val >= 10 then achievement.Unlock() end end end function GetProgressInfo() local val = game.LoadInt("errant_entrances_rooms_entered", 0) return val, 10 end