Skip to content

Commit

Permalink
[MODULAR] Automatically Closing Firedoors (#994)
Browse files Browse the repository at this point in the history
* Comment out Nova override on firedoors, allows them to auto-close

* Shorten manual override of firedoor to 5 seconds
  • Loading branch information
Floofies authored and StealsThePRs committed Feb 18, 2024
1 parent 30dfd4c commit a1d3e25
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
/obj/machinery/door/proc/try_manual_override(mob/user)
if(density && !welded && !operating)
balloon_alert(user, "opening...")
if(do_after(user, 10 SECONDS, target = src))
if(do_after(user, 5 SECONDS, target = src))
try_to_crowbar(null, user)
return TRUE
return FALSE

// Uncomment this override to disable the auto-close feature of firedoors.
/*
/obj/machinery/door/firedoor/try_to_crowbar(obj/item/used_object, mob/user)
if(welded || operating)
balloon_alert(user, "opening failed!")
Expand All @@ -25,6 +27,7 @@
open()
else
close()
*/

/obj/machinery/door/firedoor/heavy/closed
icon_state = "door_closed"
Expand Down

0 comments on commit a1d3e25

Please sign in to comment.