Migrate PAI data cable to the new attack chain. (#32213)

* Migrate PAI data cable to the new attack chain.

* Include paradise.dme.

* Apply suggestions from CRUNCH review

Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

* Apply suggestion from CRUNCH review

Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
Signed-off-by: Alan <alfalfascout@users.noreply.github.com>

---------

Signed-off-by: Alan <alfalfascout@users.noreply.github.com>
Co-authored-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
This commit is contained in:
Alan
2026-07-17 06:20:36 +00:00
committed by GitHub
co-authored by CRUNCH
parent 3410d6dd2d
commit 3a9d3522b0
4 changed files with 28 additions and 20 deletions
-11
View File
@@ -1,11 +0,0 @@
/obj/item/pai_cable/proc/plugin(obj/machinery/M as obj, mob/user as mob)
if(isairlock(M) || istype(M, /obj/machinery/camera))
user.visible_message("[user] inserts [src] into a data port on [M].", "You insert [src] into a data port on [M].", "You hear the satisfying click of a wire jack fastening into place.")
user.drop_item()
src.loc = M
src.machine = M
else
user.visible_message("[user] dumbly fumbles to find a place on [M] to plug in [src].", "There aren't any ports on [M] that match the jack belonging to [src].")
/obj/item/pai_cable/attack__legacy__attackchain(obj/machinery/M as obj, mob/user as mob)
src.plugin(M, user)
@@ -12,7 +12,6 @@
Kidan Globe
Lightning
Newton Cradle
PAI cable
Red Phone
Popsicle Sticks
*/
@@ -229,13 +228,6 @@
icon_state = "newton"
desc = "A device bored paper pushers use to remind themselves that time did not stop yet. Contains gravity."
/obj/item/pai_cable
name = "data cable"
desc = "A flexible coated cable with a universal jack on one end."
icon = 'icons/obj/power.dmi'
icon_state = "wire1"
var/obj/machinery/machine
/obj/item/phone
name = "red phone"
desc = "Should anything ever go wrong..."