This commit is contained in:
Zuhayr
2014-12-23 13:23:35 +10:30
parent 056d2c1584
commit 7c2407c21c
2 changed files with 12 additions and 2 deletions
+9
View File
@@ -2,6 +2,15 @@
/obj/machinery/door/airlock/multi_tile
width = 2
/obj/machinery/door/airlock/multi_tile/New()
..()
if(dir in list(EAST, WEST))
bound_width = width * world.icon_size
bound_height = world.icon_size
else
bound_width = world.icon_size
bound_height = width * world.icon_size
/obj/machinery/door/airlock/multi_tile/glass
name = "Glass Airlock"
icon = 'icons/obj/doors/Door2x1glass.dmi'
@@ -223,7 +223,7 @@
user << "<span class='notice'>There was nothing to remove.</span>"
src.state = 1
return
playsound(src.loc, 'sound/items/Crowbar.ogg', 100, 1)
user.visible_message("[user] removes the electronics from the airlock assembly.", "You start to remove the electronics from the airlock assembly.")
@@ -271,7 +271,8 @@
else
path = text2path("/obj/machinery/door/airlock[airlock_type]")
new path(src.loc, src)
var/obj/machinery/door/new_airlock = new path(src.loc, src)
new_airlock.dir = src.dir
del(src)
else
..()