Change airlock assembly deletion cost to 16

Add the ability to delete firelock frames
This commit is contained in:
cacogen
2020-02-18 02:54:16 +13:00
parent fa685bb4be
commit 458b783d3c
2 changed files with 8 additions and 2 deletions
@@ -327,13 +327,13 @@
/obj/structure/door_assembly/rcd_vals(mob/user, obj/item/construction/rcd/the_rcd)
if(the_rcd.mode == RCD_DECONSTRUCT)
return list("mode" = RCD_DECONSTRUCT, "delay" = 50, "cost" = 32)
return list("mode" = RCD_DECONSTRUCT, "delay" = 50, "cost" = 16)
return FALSE
/obj/structure/door_assembly/rcd_act(mob/user, obj/item/construction/rcd/the_rcd, passed_mode)
switch(passed_mode)
if(RCD_DECONSTRUCT)
to_chat(user, "<span class='notice'>You deconstruct the airlock.</span>")
to_chat(user, "<span class='notice'>You deconstruct [src].</span>")
qdel(src)
return TRUE
return FALSE