example:
src.icon = 'blah.dmi'
src.icon_state = "BLAH!!!"
//Everything under this comment I'm making up
//But you can probably figure out what I want
var/icon/O = new("Icon file 2.dmi")
O << //src's icon's icon state of "BLAH!!!"
I'm using this so that when I save a map I only save the icon states I need so that I don't save turfs.dmi with 100 icon states 65000 times on a 150x150x9 map x_x I tried that last month in my quest to do map saving and it took 30 GB to save my map :O! (BUT IT WORKED!)
Also, why are you even saving icons when saving a map to begin with? :O