mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +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:
@@ -389,7 +389,7 @@
|
||||
|
||||
if(8)
|
||||
if(W.isscrewdriver())
|
||||
playsound(src.loc, 'sound/items/Screwdriver.ogg', 100, 1)
|
||||
playsound(src.loc, W.usesound, 100, 1)
|
||||
var/turf/T = get_turf(user)
|
||||
to_chat(user, "<span class='notice'>Now attaching the gun to the frame...</span>")
|
||||
sleep(40)
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
user.visible_message("<span class='danger'>\The [user] begins to slit [src]'s throat with \the [W]!</span>")
|
||||
|
||||
user.next_move = world.time + 20 //also should prevent user from triggering this repeatedly
|
||||
if(!do_after(user, 20))
|
||||
if(!do_after(user, 20/W.toolspeed))
|
||||
return 0
|
||||
if(!(G && G.assailant == user && G.affecting == src)) //check that we still have a grab
|
||||
return 0
|
||||
|
||||
@@ -1563,6 +1563,13 @@
|
||||
/mob/living/carbon/human/get_metabolism(metabolism)
|
||||
return ..() * (species ? species.metabolism_mod : 1)
|
||||
|
||||
|
||||
/mob/living/carbon/human/proc/isonlifesupport()
|
||||
if (buckled && istype(buckled, /obj/machinery/optable/lifesupport))
|
||||
var/obj/machinery/optable/lifesupport/A = buckled
|
||||
return A.onlifesupport()
|
||||
else
|
||||
return 0
|
||||
/mob/living/carbon/human/is_clumsy()
|
||||
if(CLUMSY in mutations)
|
||||
return TRUE
|
||||
|
||||
@@ -983,7 +983,7 @@
|
||||
else //ALIVE. LIGHTS ARE ON
|
||||
updatehealth() //TODO
|
||||
|
||||
if(health <= config.health_threshold_dead || (species.has_organ["brain"] && !has_brain()))
|
||||
if(health <= config.health_threshold_dead || (species.has_organ["brain"] && !has_brain() && !isonlifesupport()))
|
||||
death()
|
||||
blinded = 1
|
||||
silent = 0
|
||||
|
||||
@@ -700,7 +700,7 @@ var/list/ai_verbs_default = list(
|
||||
else if(W.iswrench())
|
||||
if(anchored)
|
||||
user.visible_message("<span class='notice'>\The [user] starts to unbolt \the [src] from the plating...</span>")
|
||||
if(!do_after(user,40))
|
||||
if(!do_after(user,40/W.toolspeed))
|
||||
user.visible_message("<span class='notice'>\The [user] decides not to unbolt \the [src].</span>")
|
||||
return
|
||||
user.visible_message("<span class='notice'>\The [user] finishes unfastening \the [src]!</span>")
|
||||
@@ -708,7 +708,7 @@ var/list/ai_verbs_default = list(
|
||||
return
|
||||
else
|
||||
user.visible_message("<span class='notice'>\The [user] starts to bolt \the [src] to the plating.</span>..")
|
||||
if(!do_after(user,40))
|
||||
if(!do_after(user,40/W.toolspeed))
|
||||
user.visible_message("<span class='notice'>\The [user] decides not to bolt \the [src].</span>")
|
||||
return
|
||||
user.visible_message("<span class='notice'>\The [user] finishes fastening down \the [src]!</span>")
|
||||
|
||||
@@ -613,7 +613,7 @@
|
||||
if(opened)
|
||||
if(cell)
|
||||
user.visible_message("<span class='notice'>\The [user] begins clasping shut \the [src]'s maintenance hatch.</span>", "<span class='notice'>You begin closing up \the [src].</span>")
|
||||
if(do_after(user, 50, src))
|
||||
if(do_after(user, 50/W.toolspeed, src))
|
||||
to_chat(user, "<span class='notice'>You close \the [src]'s maintenance hatch.</span>")
|
||||
opened = 0
|
||||
updateicon()
|
||||
@@ -624,7 +624,7 @@
|
||||
return
|
||||
|
||||
user.visible_message("<span class='notice'>\The [user] begins ripping [mmi] from [src].</span>", "<span class='notice'>You jam the crowbar into the robot and begin levering [mmi].</span>")
|
||||
if(do_after(user, 50, src))
|
||||
if(do_after(user, 50/W.toolspeed, src))
|
||||
to_chat(user, "<span class='notice'>You damage some parts of the chassis, but eventually manage to rip out [mmi]!</span>")
|
||||
var/obj/item/robot_parts/robot_suit/C = new/obj/item/robot_parts/robot_suit(loc)
|
||||
C.l_leg = new/obj/item/robot_parts/l_leg(C)
|
||||
@@ -664,7 +664,7 @@
|
||||
to_chat(user, "The cover is locked and cannot be opened.")
|
||||
else
|
||||
user.visible_message("<span class='notice'>\The [user] begins prying open \the [src]'s maintenance hatch.</span>", "<span class='notice'>You start opening \the [src]'s maintenance hatch.</span>")
|
||||
if(do_after(user, 50, src))
|
||||
if(do_after(user, 50/W.toolspeed, src))
|
||||
to_chat(user, "<span class='notice'>You open \the [src]'s maintenance hatch.</span>")
|
||||
opened = 1
|
||||
updateicon()
|
||||
|
||||
@@ -356,6 +356,7 @@ var/global/list/robot_modules = list(
|
||||
/obj/item/weapon/robot_module/engineering/construction/New()
|
||||
..()
|
||||
src.modules += new /obj/item/device/flash(src)
|
||||
src.modules += new /obj/item/powerdrill(src)
|
||||
src.modules += new /obj/item/borg/sight/meson(src)
|
||||
src.modules += new /obj/item/weapon/extinguisher(src)
|
||||
src.modules += new /obj/item/weapon/rcd/borg(src)
|
||||
|
||||
Reference in New Issue
Block a user