Update_Icon()
overlays = initial(overlays)
icon = null
var/icon/Ship = icon('Ship System.dmi')
Ship.Blend(rgb(0,0,0,255),ICON_ADD)
Ship.Scale(64,64)
var/image/I1 = image(Ship,"[icon_state] 0,0",)
var/image/I2 = image(Ship,"[icon_state] 0,1")
var/image/I3 = image(Ship,"[icon_state] 1,0")
var/image/I4 = image(Ship,"[icon_state] 1,1")
I1.pixel_x = -16
I1.pixel_y = 0
I2.pixel_x = -16
I2.pixel_y = 32
I3.pixel_x = 16
I3.pixel_y = 0
I4.pixel_x = 16
I4.pixel_y = 32
I1.layer = 3
I2.layer = 6
I3.layer = 3
I4.layer = 6
overlays.Add(I1)
overlays.Add(I2)
overlays.Add(I3)
overlays.Add(I4)
Problem description:
It's probably an error on my part but for some reason this makes the icon disappear. I've tried to do a few changes but the result is always the same.