Added the possibilty to get treasure names at script level.