extended functions to map between R'n'D and BD cave and game elements