Skip to content

Commit

Permalink
bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
BaraBarax committed Jan 30, 2024
1 parent 6b20c94 commit 82c250c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions code/game/objects/structures/secure_door_assembly.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
anchored = FALSE
density = TRUE
obj_flags = OBJ_FLAG_ANCHORABLE
var/state = STATE_EMPTY
var/state = STATE_UNANCHORED
var/obj/item/device/assembly/signaler/signaler = null
var/base_icon = null
var/material_path = null
Expand Down Expand Up @@ -38,26 +38,30 @@
if(STATE_UNANCHORED)
if(isWelder(W))
deconstruct_assembly(W, user)
return
return

if(STATE_EMPTY)
if(isCoil(W))
add_cable(W, user)
return
return

if(STATE_WIRED)
if(isWirecutter(W))
remove_cable(user)
return

if(istype(W, /obj/item/device/assembly/signaler))
add_signaler(W, user)
return
return

if(STATE_SIGNALLER)
if(isCrowbar(W))
remove_signaler(user)
return

if(isScrewdriver(W))
finish_assembly(user)
return
return

return ..()

Expand Down

0 comments on commit 82c250c

Please sign in to comment.