turf
icon = 'turf.dmi'
turf
grass
icon_state = "grass" //conventional way
turf
New()
icon_state = name //maybe...?
Problem description:
I was wondering if the above way of setting an atom's icon state at runtime would be viable, or would it be really really laggy? It'd sure save on a lot of typing though :P all help appreciated.
Try that, not sure if it works, but worth a try.