Skip to content

Commit

Permalink
emergency maintenance mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusLarsson421 committed Jul 23, 2024
1 parent f492e20 commit fab5094
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/machinery/doors/airlock_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@
icon = 'icons/obj/doors/airlocks/station/maintenance.dmi'
assemblytype = /obj/structure/door_assembly/door_assembly_mai
normal_integrity = 250
maintenance = TRUE

/obj/machinery/door/airlock/maintenance/external
name = "external airlock access"
icon = 'icons/obj/doors/airlocks/station/maintenanceexternal.dmi'
assemblytype = /obj/structure/door_assembly/door_assembly_extmai
maintenance = TRUE

/obj/machinery/door/airlock/mining
name = "mining airlock"
Expand Down Expand Up @@ -428,6 +430,7 @@
note_attachment = "ul"
panel_attachment = "dr"
allow_repaint = FALSE
maintenance = TRUE

//////////////////////////////////
/*
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/doors/door.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
var/red_alert_access = FALSE //if TRUE, this door will always open on red alert
var/unres_sides = 0 //Unrestricted sides. A bitflag for which direction (if any) can open the door with no access
var/open_speed = 5
var/maintenance = FALSE //whether or not the door should be affected by emergency maintenance mode

/obj/machinery/door/examine(mob/user)
. = ..()
Expand Down

0 comments on commit fab5094

Please sign in to comment.