mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +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:
@@ -276,7 +276,7 @@
|
||||
"You hear a welding torch on metal."
|
||||
)
|
||||
playsound(loc, 'sound/items/Welder2.ogg', 50, 1)
|
||||
if (!do_after(user, 2 SECONDS, act_target = src, extra_checks = CALLBACK(src, .proc/is_closed)))
|
||||
if (!do_after(user, 2/W.toolspeed SECONDS, act_target = src, extra_checks = CALLBACK(src, .proc/is_closed)))
|
||||
return
|
||||
if(!WT.remove_fuel(0,user))
|
||||
to_chat(user, "<span class='notice'>You need more welding fuel to complete this task.</span>")
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
"You hear a welding torch on metal."
|
||||
)
|
||||
playsound(loc, 'sound/items/Welder2.ogg', 50, 1)
|
||||
if (!do_after(user, 2 SECONDS, act_target = src, extra_checks = CALLBACK(src, .proc/is_open)))
|
||||
if (!do_after(user, 2/W.toolspeed SECONDS, act_target = src, extra_checks = CALLBACK(src, .proc/is_open)))
|
||||
return
|
||||
if(!WT.remove_fuel(0,user))
|
||||
to_chat(user, "<span class='notice'>You need more welding fuel to complete this task.</span>")
|
||||
@@ -115,33 +115,33 @@
|
||||
else if(W.isscrewdriver() && canbemoved)
|
||||
if(screwed)
|
||||
to_chat(user, "<span class='notice'>You start to unscrew the locker from the floor...</span>")
|
||||
playsound(loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
if (do_after(user, 10 SECONDS, act_target = src))
|
||||
playsound(loc, W.usesound, 50, 1)
|
||||
if (do_after(user, 10/W.toolspeed SECONDS, act_target = src))
|
||||
to_chat(user, "<span class='notice'>You unscrew the locker!</span>")
|
||||
playsound(loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
playsound(loc, W.usesound, 50, 1)
|
||||
screwed = 0
|
||||
else if(!screwed && wrenched)
|
||||
to_chat(user, "<span class='notice'>You start to screw the locker to the floor...</span>")
|
||||
playsound(src, 'sound/items/Welder.ogg', 80, 1)
|
||||
if (do_after(user, 15, act_target = src))
|
||||
if (do_after(user, 15/W.toolspeed SECONDS, act_target = src))
|
||||
to_chat(user, "<span class='notice'>You screw the locker!</span>")
|
||||
playsound(loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
playsound(loc, W.usesound, 50, 1)
|
||||
screwed = 1
|
||||
else if(W.iswrench() && canbemoved)
|
||||
if(wrenched && !screwed)
|
||||
to_chat(user, "<span class='notice'>You start to unfasten the bolts holding the locker in place...</span>")
|
||||
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
if (do_after(user, 15 SECONDS, act_target = src))
|
||||
playsound(loc, W.usesound, 50, 1)
|
||||
if (do_after(user, 15/W.toolspeed SECONDS, act_target = src))
|
||||
to_chat(user, "<span class='notice'>You unfasten the locker's bolts!</span>")
|
||||
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
playsound(loc, W.usesound, 50, 1)
|
||||
wrenched = 0
|
||||
anchored = 0
|
||||
else if(!wrenched)
|
||||
to_chat(user, "<span class='notice'>You start to fasten the bolts holding the locker in place...</span>")
|
||||
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
if (do_after(user, 15, act_target = src))
|
||||
playsound(loc, W.usesound, 50, 1)
|
||||
if (do_after(user, 15/W.toolspeed SECONDS, act_target = src))
|
||||
to_chat(user, "<span class='notice'>You fasten the locker's bolts!</span>")
|
||||
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
|
||||
playsound(loc, W.usesound, 50, 1)
|
||||
wrenched = 1
|
||||
anchored = 1
|
||||
else if(!opened)
|
||||
|
||||
Reference in New Issue
Block a user