mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
26 lines
509 B
Plaintext
26 lines
509 B
Plaintext
/obj/machinery/door/unpowered
|
|
autoclose = 0
|
|
var/locked = 0
|
|
|
|
/obj/machinery/door/unpowered/Bumped(atom/AM)
|
|
if(src.locked)
|
|
return
|
|
..()
|
|
return
|
|
|
|
/obj/machinery/door/unpowered/attackby(obj/item/I as obj, mob/user as mob)
|
|
if(istype(I, /obj/item/melee/energy/blade)) return
|
|
if(src.locked) return
|
|
..()
|
|
return
|
|
|
|
/obj/machinery/door/unpowered/emag_act()
|
|
return -1
|
|
|
|
/obj/machinery/door/unpowered/shuttle
|
|
icon = 'icons/turf/shuttle_white.dmi'
|
|
name = "door"
|
|
icon_state = "door1"
|
|
opacity = 1
|
|
density = TRUE
|