ID:167455
 
How can I change an overlay's icon state?
An overlay that you are wearing? I dunno if you can, but if you place overlays as objects, or any datum you can define as a variable, use

var/datumtype/F = locate(datumtype) is src.overlays

Then, try to edit it's icon_state, or just change the icon doing something like

F.icon=image(F.icon,desirediconstate)