mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
13 lines
483 B
Plaintext
13 lines
483 B
Plaintext
/obj/item/computer_hardware/tesla_link
|
|
name = "tesla link"
|
|
desc = "An advanced tesla link that wirelessly recharges connected device from nearby area power controller."
|
|
critical = FALSE
|
|
icon_state = "teslalink"
|
|
hardware_size = 3
|
|
origin_tech = list(TECH_DATA = 2, TECH_POWER = 3, TECH_ENGINEERING = 2)
|
|
var/passive_charging_rate = 250 // W
|
|
|
|
/obj/item/computer_hardware/tesla_link/Destroy()
|
|
if(parent_computer?.tesla_link == src)
|
|
parent_computer.tesla_link = null
|
|
return ..() |