mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Makes blast doors/shutters and blast door controllers buildable and deconstructible (#56486)
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
if(id)
|
||||
. += "<span class='notice'>Its channel ID is '[id]'.</span>"
|
||||
|
||||
/obj/item/assembly/control/multitool_act(mob/living/user)
|
||||
var/change_id = input("Set the shutters/blast door/blast door controllers ID. It must be a number between 1 and 100.", "ID", id) as num|null
|
||||
if(change_id)
|
||||
id = clamp(round(change_id, 1), 1, 100)
|
||||
to_chat(user, "<span class='notice'>You change the ID to [id].</span>")
|
||||
|
||||
/obj/item/assembly/control/activate()
|
||||
var/openclose
|
||||
if(cooldown)
|
||||
|
||||
@@ -1203,3 +1203,11 @@
|
||||
materials = list(/datum/material/iron = 75)
|
||||
build_path = /obj/item/chisel
|
||||
category = list("initial","Tools")
|
||||
|
||||
/datum/design/control
|
||||
name = "Blast Door Controller"
|
||||
id = "blast"
|
||||
build_type = AUTOLATHE
|
||||
materials = list(/datum/material/iron = 100, /datum/material/glass = 50)
|
||||
build_path = /obj/item/assembly/control
|
||||
category = list("initial","Misc")
|
||||
|
||||
Reference in New Issue
Block a user