mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Constructing of glass airlock now actually uses 1 sheet of rglass.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@831 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -206,11 +206,11 @@ obj/door_assembly
|
||||
ae.loc = src.loc
|
||||
else if(istype(W, /obj/item/stack/sheet/rglass) && glass == 0)
|
||||
playsound(src.loc, 'Crowbar.ogg', 100, 1)
|
||||
var/turf/T = get_turf(user)
|
||||
user.visible_message("[user] adds reinforced glass windows to the airlock assembly.", "You start to install reinforced glass windows into the airlock assembly.")
|
||||
sleep(40)
|
||||
if(get_turf(user) == T)
|
||||
var/obj/item/stack/sheet/rglass/G = W
|
||||
if(do_after(user, 40) && G.amount>=1)
|
||||
user << "\blue You installed glass windows the airlock assembly!"
|
||||
G.use(1)
|
||||
src.glass = 1
|
||||
src.doortype = 7
|
||||
src.name = "Near finished Window Airlock Assembly"
|
||||
|
||||
Reference in New Issue
Block a user