Files
Bubberstation/code/game/objects/items/stacks/telecrystal.dm
SkyratBot 894a61e048 [MIRROR] Material Resprites by Imaginos & PestoVerde [MDB IGNORE] (#18674)
* Material Resprites by Imaginos & PestoVerde (#72652)

imageadd: New material and ore sprites by PestoVerde & Imaginos

* Material Resprites by Imaginos & PestoVerde

* So long aesthetics folder

I fucking hated you.

Co-authored-by: Wallem <66052067+Wallemations@users.noreply.github.com>
Co-authored-by: Halcyon <81479835+Ebin-Halcyon@users.noreply.github.com>
2023-01-12 18:04:55 -08:00

31 lines
1.0 KiB
Plaintext

/obj/item/stack/telecrystal//SKYRAT EDIT - ICON OVERRIDEN BY AESTHETICS - SEE MODULE
name = "telecrystal"
desc = "It seems to be pulsing with suspiciously enticing energies."
singular_name = "telecrystal"
icon = 'icons/obj/telescience.dmi'
icon_state = "telecrystal"
dye_color = DYE_SYNDICATE
w_class = WEIGHT_CLASS_TINY
max_amount = 50
item_flags = NOBLUDGEON
merge_type = /obj/item/stack/telecrystal
novariants = FALSE
/obj/item/stack/telecrystal/attack(mob/target, mob/user)
if(target == user) //You can't go around smacking people with crystals to find out if they have an uplink or not.
for(var/obj/item/implant/uplink/I in target)
if(I?.imp_in)
var/datum/component/uplink/hidden_uplink = I.GetComponent(/datum/component/uplink)
if(hidden_uplink)
hidden_uplink.add_telecrystals(amount)
use(amount)
to_chat(user, span_notice("You press [src] onto yourself and charge your hidden uplink."))
else
return ..()
/obj/item/stack/telecrystal/five
amount = 5
/obj/item/stack/telecrystal/twenty
amount = 20