mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-31 20:11:56 +00:00
These are the files with just tiny tweaks. Mostly modify an object's attackby so it does "return ..()" instead of "..()". If there are other things in this commit, the PR's description will explain them.
14 lines
602 B
Plaintext
14 lines
602 B
Plaintext
/obj/item/weapon/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"
|
|
flags = NOBLUDGEON
|
|
var/obj/machinery/machine
|
|
|
|
/obj/item/weapon/pai_cable/proc/plugin(obj/machinery/M, mob/living/user)
|
|
if(!user.drop_item())
|
|
return
|
|
user.visible_message("[user] inserts [src] into a data port on [M].", "<span class='notice'>You insert [src] into a data port on [M].</span>", "<span class='italics'>You hear the satisfying click of a wire jack fastening into place.</span>")
|
|
src.loc = M
|
|
machine = M |