mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-25 00:22:39 +00:00
## About The Pull Request Further continous organizing and cleaning the Icons folder. There are still some minior nitpicks left to do, but I reached my daily sanity expenses limit again, and the faster these get in the less issues for both me and others later. Also cleans some mess I caused by my blindness last PR. ## Why It's Good For The Game Saner spriters = better sprites
19 lines
671 B
Plaintext
19 lines
671 B
Plaintext
/obj/item/pai_cable
|
|
desc = "A flexible coated cable with a universal jack on one end."
|
|
name = "data cable"
|
|
icon = 'icons/obj/stack_objects.dmi'
|
|
icon_state = "wire1"
|
|
item_flags = NOBLUDGEON
|
|
var/obj/machinery/machine //what machine we're currently hacking.
|
|
|
|
/obj/item/pai_cable/Destroy()
|
|
machine = null
|
|
return ..()
|
|
|
|
|
|
/obj/item/pai_cable/proc/plugin(obj/machinery/M, mob/living/user)
|
|
if(!user.transferItemToLoc(src, M))
|
|
return
|
|
user.visible_message(span_notice("[user] inserts [src] into a data port on [M]."), span_notice("You insert [src] into a data port on [M]."), span_hear("You hear the satisfying click of a wire jack fastening into place."))
|
|
machine = M
|