mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-02-05 13:59:16 +00:00
* Reverts italics-span back to no color. * Cleans up many extra spaces and indents. * Adds 'hear' span class. * Replaces all 'italics' used in heard messages with 'hear'.
14 lines
620 B
Plaintext
14 lines
620 B
Plaintext
/obj/item/pai_cable
|
|
desc = "A flexible coated cable with a universal jack on one end."
|
|
name = "data cable"
|
|
icon = 'icons/obj/power.dmi'
|
|
icon_state = "wire1"
|
|
item_flags = NOBLUDGEON
|
|
var/obj/machinery/machine
|
|
|
|
/obj/item/pai_cable/proc/plugin(obj/machinery/M, mob/living/user)
|
|
if(!user.transferItemToLoc(src, M))
|
|
return
|
|
user.visible_message("<span class='notice'>[user] inserts [src] into a data port on [M].</span>", "<span class='notice'>You insert [src] into a data port on [M].</span>", "<span class='hear'>You hear the satisfying click of a wire jack fastening into place.</span>")
|
|
machine = M
|