Function “resource.tile_source” doesn't work with a string variable as parameter

You can only declare a property once.

Also, the “self” keyword (which usually refers to the script instance) shouldn’t be used outside of a life cycle function.