Components! TGUI uplinks! Oh god! (#30641)

* components

* tgui uplink

* Components! TGUI uplinks! Oh god!

* yeah

* this too
This commit is contained in:
DamianX
2021-09-09 14:44:13 +02:00
committed by GitHub
parent 46a32d8b45
commit 95cb0d4d23
34 changed files with 634 additions and 476 deletions

View File

@@ -243,7 +243,7 @@
/obj/item/device/radio/headset/attackby(obj/item/weapon/W, mob/user)
// ..()
if(hidden_uplink && hidden_uplink.active && hidden_uplink.refund(user, W))
if(invoke_event(/event/attackby, list("attacker" = user, "item" = W)))
return
user.set_machine(src)
if (!( W.is_screwdriver(user) || (istype(W, /obj/item/device/encryptionkey/ ))))