adding girder mode to RCDs

This commit is contained in:
evilew
2025-01-10 19:43:51 +01:00
parent f6b0d15cdc
commit b14f3fcb71
4 changed files with 14 additions and 2 deletions
+8
View File
@@ -296,6 +296,8 @@
return list("mode" = RCD_DECONSTRUCT, "delay" = 50, "cost" = 33)
if(RCD_WINDOWGRILLE)
return list("mode" = RCD_WINDOWGRILLE, "delay" = 10, "cost" = 4)
if(RCD_GIRDER)
return list("mode" = RCD_GIRDER, "delay" = 20, "cost" = 10) //gs13 - girder mode
if(RCD_MACHINE)
return list("mode" = RCD_MACHINE, "delay" = 20, "cost" = 25)
if(RCD_COMPUTER)
@@ -339,6 +341,12 @@
var/obj/structure/grille/G = new(src)
G.anchored = TRUE
return TRUE
if(RCD_GIRDER) //gs13 - girder mode
if(locate(/obj/structure/girder) in src)
return FALSE
var/obj/structure/girder/R = new(src)
R.anchored = TRUE
return TRUE
if(RCD_MACHINE)
if(locate(/obj/structure/frame/machine) in src)
return FALSE