The Epic Construction Update (#5976)

How to build machine blueprints!

Use steel sheets like normal, then rotate the frame how you like it using the directional arrow. From here use a Multitool to finalize it and then wire it up like you would before.
This commit is contained in:
Lady Fowl
2019-09-10 22:07:46 +03:00
committed by Erki
parent abd926b14a
commit d6ff38ef96
164 changed files with 2571 additions and 1055 deletions
@@ -262,7 +262,7 @@
else
density = 1 // We don't want disposal bins or outlets to go density 0
to_chat(user, "You attach the [nicetype] to the underfloor.")
playsound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)
playsound(src.loc, I.usesound, 100, 1)
update()
else if(I.iswelder())
@@ -271,7 +271,7 @@
if(W.remove_fuel(0,user))
playsound(src.loc, 'sound/items/Welder2.ogg', 100, 1)
to_chat(user, "Welding the [nicetype] in place.")
if(do_after(user, 20))
if(do_after(user, 20/W.toolspeed))
if(!src || !W.isOn()) return
to_chat(user, "The [nicetype] has been welded in place!")
update() // TODO: Make this neat
+8 -8
View File
@@ -60,12 +60,12 @@
return
if(mode==0) // It's off but still not unscrewed
mode=-1 // Set it to doubleoff l0l
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(src.loc, I.usesound, 50, 1)
to_chat(user, "You remove the screws around the power connection.")
return
else if(mode==-1)
mode=0
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(src.loc, I.usesound, 50, 1)
to_chat(user, "You attach the screws around the power connection.")
return
else if(I.iswelder() && mode==-1)
@@ -77,7 +77,7 @@
playsound(src.loc, 'sound/items/Welder2.ogg', 100, 1)
to_chat(user, "You start slicing the floorweld off the disposal unit.")
if(do_after(user,20))
if(do_after(user,20/W.toolspeed))
if(!src || !W.isOn()) return
to_chat(user, "You sliced the floorweld off the disposal unit.")
var/obj/structure/disposalconstruct/C = new (src.loc)
@@ -867,7 +867,7 @@
playsound(src.loc, 'sound/items/Welder2.ogg', 100, 1)
// check if anything changed over 3 seconds
to_chat(user, "Slicing the disposal pipe...")
if (do_after(user, 3 SECONDS, act_target = src))
if (do_after(user, 3/W.toolspeed SECONDS, act_target = src))
if(!src || !W.isOn()) return
welded()
else
@@ -1339,7 +1339,7 @@
playsound(src.loc, 'sound/items/Welder2.ogg', 100, 1)
// check if anything changed over 3 seconds
to_chat(user, "Slicing the disposal pipe.")
if (do_after(user, 3 SECONDS, act_target = src))
if (do_after(user, 3/W.toolspeed SECONDS, act_target = src))
if(!src || !W.isOn()) return
welded()
else
@@ -1492,12 +1492,12 @@
if(I.isscrewdriver())
if(mode==0)
mode=1
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(src.loc, I.usesound, 50, 1)
to_chat(user, "You remove the screws around the power connection.")
return
else if(mode==1)
mode=0
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(src.loc, I.usesound, 50, 1)
to_chat(user, "You attach the screws around the power connection.")
return
else if(I.iswelder() && mode==1)
@@ -1505,7 +1505,7 @@
if(W.remove_fuel(0,user))
playsound(src.loc, 'sound/items/Welder2.ogg', 100, 1)
to_chat(user, "You start slicing the floorweld off the disposal outlet.")
if(do_after(user,20))
if(do_after(user,20/W.toolspeed))
if(!src || !W.isOn()) return
to_chat(user, "You slice the floorweld off the disposal outlet.")
var/obj/structure/disposalconstruct/C = new (src.loc)
+3 -3
View File
@@ -342,19 +342,19 @@
if(I.isscrewdriver())
if(c_mode==0)
c_mode=1
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(src.loc, I.usesound, 50, 1)
to_chat(user, "You remove the screws around the power connection.")
return
else if(c_mode==1)
c_mode=0
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(src.loc, I.usesound, 50, 1)
to_chat(user, "You attach the screws around the power connection.")
return
else if(I.iswelder() && c_mode==1)
var/obj/item/weapon/weldingtool/W = I
if(W.remove_fuel(1,user))
to_chat(user, "You start slicing the floorweld off the delivery chute.")
if(do_after(user,20))
if(do_after(user,20/W.toolspeed))
playsound(src.loc, 'sound/items/Welder2.ogg', 100, 1)
if(!src || !W.isOn()) return
to_chat(user, "You sliced the floorweld off the delivery chute.")