mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
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:
@@ -75,7 +75,7 @@ obj/structure/windoor_assembly/Destroy()
|
||||
user.visible_message("[user] dissassembles the windoor assembly.", "You start to dissassemble the windoor assembly.")
|
||||
playsound(src.loc, 'sound/items/Welder2.ogg', 50, 1)
|
||||
|
||||
if(do_after(user, 40))
|
||||
if(do_after(user, 40/W.toolspeed))
|
||||
if(!src || !WT.isOn()) return
|
||||
to_chat(user, "<span class='notice'>You dissasembled the windoor assembly!</span>")
|
||||
new /obj/item/stack/material/glass/reinforced(get_turf(src), 5)
|
||||
@@ -88,10 +88,10 @@ obj/structure/windoor_assembly/Destroy()
|
||||
|
||||
//Wrenching an unsecure assembly anchors it in place. Step 4 complete
|
||||
if(W.iswrench() && !anchored)
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)
|
||||
playsound(src.loc, W.usesound, 100, 1)
|
||||
user.visible_message("[user] secures the windoor assembly to the floor.", "You start to secure the windoor assembly to the floor.")
|
||||
|
||||
if(do_after(user, 40))
|
||||
if(do_after(user, 40/W.toolspeed))
|
||||
if(!src) return
|
||||
to_chat(user, "<span class='notice'>You've secured the windoor assembly!</span>")
|
||||
src.anchored = 1
|
||||
@@ -102,10 +102,10 @@ obj/structure/windoor_assembly/Destroy()
|
||||
|
||||
//Unwrenching an unsecure assembly un-anchors it. Step 4 undone
|
||||
else if(W.iswrench() && anchored)
|
||||
playsound(src.loc, 'sound/items/Ratchet.ogg', 100, 1)
|
||||
playsound(src.loc, W.usesound, 100, 1)
|
||||
user.visible_message("[user] unsecures the windoor assembly to the floor.", "You start to unsecure the windoor assembly to the floor.")
|
||||
|
||||
if(do_after(user, 40))
|
||||
if(do_after(user, 40/W.toolspeed))
|
||||
if(!src) return
|
||||
to_chat(user, "<span class='notice'>You've unsecured the windoor assembly!</span>")
|
||||
src.anchored = 0
|
||||
@@ -122,7 +122,7 @@ obj/structure/windoor_assembly/Destroy()
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You start to reinforce the windoor with rods.</span>")
|
||||
|
||||
if(do_after(user,40) && !secure)
|
||||
if(do_after(user,40/W.toolspeed) && !secure)
|
||||
if (R.use(4))
|
||||
to_chat(user, "<span class='notice'>You reinforce the windoor.</span>")
|
||||
src.secure = "secure_"
|
||||
@@ -136,7 +136,7 @@ obj/structure/windoor_assembly/Destroy()
|
||||
user.visible_message("[user] wires the windoor assembly.", "You start to wire the windoor assembly.")
|
||||
|
||||
var/obj/item/stack/cable_coil/CC = W
|
||||
if(do_after(user, 40))
|
||||
if(do_after(user, 40/W.toolspeed))
|
||||
if (CC.use(1))
|
||||
to_chat(user, "<span class='notice'>You wire the windoor!</span>")
|
||||
src.state = "02"
|
||||
@@ -154,7 +154,7 @@ obj/structure/windoor_assembly/Destroy()
|
||||
playsound(src.loc, 'sound/items/Wirecutter.ogg', 100, 1)
|
||||
user.visible_message("[user] cuts the wires from the airlock assembly.", "You start to cut the wires from airlock assembly.")
|
||||
|
||||
if(do_after(user, 40))
|
||||
if(do_after(user, 40/W.toolspeed))
|
||||
if(!src) return
|
||||
|
||||
to_chat(user, "<span class='notice'>You cut the windoor wires.!</span>")
|
||||
@@ -184,10 +184,10 @@ obj/structure/windoor_assembly/Destroy()
|
||||
|
||||
//Screwdriver to remove airlock electronics. Step 6 undone.
|
||||
else if(W.isscrewdriver() && src.electronics)
|
||||
playsound(src.loc, 'sound/items/Screwdriver.ogg', 100, 1)
|
||||
playsound(src.loc, W.usesound, 100, 1)
|
||||
user.visible_message("[user] removes the electronics from the airlock assembly.", "You start to uninstall electronics from the airlock assembly.")
|
||||
|
||||
if(do_after(user, 40))
|
||||
if(do_after(user, 40/W.toolspeed))
|
||||
if(!src || !src.electronics) return
|
||||
to_chat(user, "<span class='notice'>You've removed the airlock electronics!</span>")
|
||||
if(src.secure)
|
||||
@@ -207,7 +207,7 @@ obj/structure/windoor_assembly/Destroy()
|
||||
playsound(src.loc, 'sound/items/Crowbar.ogg', 100, 1)
|
||||
user.visible_message("[user] pries the windoor into the frame.", "You start prying the windoor into the frame.")
|
||||
|
||||
if(do_after(user, 40))
|
||||
if(do_after(user, 40/W.toolspeed))
|
||||
|
||||
if(!src) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user