mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 15:32:25 +00:00
Borgs can activate the emergency tesla beacon (#14255)
This commit is contained in:
@@ -117,20 +117,17 @@
|
||||
if(user)
|
||||
to_chat(user, "<span class='notice'>You deactivate the beacon.</span>")
|
||||
|
||||
|
||||
/obj/machinery/power/singularity_beacon/attack_ai(mob/user as mob)
|
||||
/obj/machinery/power/singularity_beacon/attack_ai(mob/user)
|
||||
return
|
||||
|
||||
|
||||
/obj/machinery/power/singularity_beacon/attack_hand(var/mob/user as mob)
|
||||
/obj/machinery/power/singularity_beacon/attack_hand(mob/user)
|
||||
if(anchored)
|
||||
return active ? Deactivate(user) : Activate(user)
|
||||
else
|
||||
to_chat(user, "<span class='danger'>You need to screw the beacon to the floor first!</span>")
|
||||
return
|
||||
|
||||
|
||||
/obj/machinery/power/singularity_beacon/attackby(obj/item/W as obj, mob/user as mob)
|
||||
/obj/machinery/power/singularity_beacon/attackby(obj/item/W, mob/user)
|
||||
if(W.isscrewdriver())
|
||||
if(active)
|
||||
to_chat(user, "<span class='danger'>You need to deactivate the beacon first!</span>")
|
||||
@@ -171,3 +168,9 @@
|
||||
/obj/machinery/power/singularity_beacon/emergency
|
||||
name = "emergency singularity beacon"
|
||||
desc = "A beacon that is designed to be used as last resort to contain Singularity or Tesla Engine. A one time use device."
|
||||
|
||||
/obj/machinery/power/singularity_beacon/emergency/attack_ai(mob/user)
|
||||
if(Adjacent(user))
|
||||
return attack_hand(user)
|
||||
else
|
||||
to_chat(user, SPAN_WARNING("You need to be adjacent to \the [src] to activate it!"))
|
||||
Reference in New Issue
Block a user