obj/Doors
icon = 'Buildings.dmi'
name = ""
Door_Top_Closed
icon_state = "009"
density = 1
New()
pixel_y = 32
Door_Bottom_Closed
icon_state = "010"
density = 1
var/obj/Doors/Door_Top_Closed/DTC = new
var/open = 0
New()
src.overlays += DTC
Bumped()
src.icon_state = "012"
DTC.icon_state = "011"
src.density = 0
sleep(30)
src.icon_state = "010"
DTC.icon_state = "009"
src.density = 1
Bascilly I want it, so when the bottom is generated, the top is put on as a overlay, that works. I want the Overlay to change to the other states when the door opens or closes.
The bottom opens, and closes fine, the top wont change. So..Anyone got an idea?
Between:
Can be replaced with: