mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +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)
|
||||
|
||||
Reference in New Issue
Block a user