Give every terrain an own id value in a skill or use http://www.conitec.net/beta/astr_for_entfile.htm

You can get the pointer to the terrain through "mouse_ent".
Then you can use the pointer to get the skill id or the filename.


no science involved