Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions code/game/machinery/doors/airlock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,15 @@

var/air_tight = FALSE //TRUE means density will be set as soon as the door begins to close
var/prying_so_hard = FALSE
var/list/bolt_log //yogs - Who can it be bolting all my doors? Go away, don't come down here no more.
var/list/shocking_log //yogs - who electrified this door.

var/static/list/airlock_overlays = list()

/obj/machinery/door/airlock/Initialize()
. = ..()
bolt_log = list() //yogs
shocking_log = list() //yogs
wires = new /datum/wires/airlock(src)
if(frequency)
set_frequency(frequency)
Expand Down Expand Up @@ -1442,12 +1446,15 @@
. = TRUE
if("shock-restore")
shock_restore(usr)
shocking_log += "[key_name(usr)] de-electrified [src] at [gameTimestamp("hh:mm:ss", world.time)]" //yogs
. = TRUE
if("shock-temp")
shock_temp(usr)
shocking_log += "[key_name(usr)] temporarily electrified [src] at [gameTimestamp("hh:mm:ss", world.time)]" //yogs
. = TRUE
if("shock-perm")
shock_perm(usr)
shocking_log += "[key_name(usr)] permanently electrified [src] at [gameTimestamp("hh:mm:ss", world.time)]" //yogs
. = TRUE
if("idscan-on")
if(wires.is_cut(WIRE_IDSCAN))
Expand All @@ -1473,9 +1480,11 @@
. = TRUE
if("bolt-raise")
bolt_raise(usr)
bolt_log += "[key_name(usr)] unbolted [src] at [gameTimestamp("hh:mm:ss", world.time)]" //yogs
. = TRUE
if("bolt-drop")
bolt_drop(usr)
bolt_log += "[key_name(usr)] bolted [src] at [gameTimestamp("hh:mm:ss", world.time)]" //yogs
. = TRUE
if("light-on")
if(wires.is_cut(WIRE_LIGHT))
Expand Down