Files
Cameron Lennox 20a0443b8e Clears unused research var (#19355)
* Removes stack_origin_tech

* Goodbye

* I HATE MAP EDITS
2026-04-14 20:02:43 -04:00

35 lines
1.2 KiB
Plaintext

// These are basically USB data sticks and may be used to transfer files between devices
/obj/item/computer_hardware/hard_drive/portable
name = "basic data crystal"
desc = "Small crystal with imprinted photonic circuits that can be used to store data. Its capacity is 16 GQ."
power_usage = 10
icon_state = "flashdrive_basic"
hardware_size = 1
max_capacity = 16
/obj/item/computer_hardware/hard_drive/portable/advanced
name = "advanced data crystal"
desc = "Small crystal with imprinted high-density photonic circuits that can be used to store data. Its capacity is 64 GQ."
power_usage = 20
icon_state = "flashdrive_advanced"
hardware_size = 1
max_capacity = 64
/obj/item/computer_hardware/hard_drive/portable/super
name = "super data crystal"
desc = "Small crystal with imprinted ultra-density photonic circuits that can be used to store data. Its capacity is 256 GQ."
power_usage = 40
icon_state = "flashdrive_super"
hardware_size = 1
max_capacity = 256
/obj/item/computer_hardware/hard_drive/portable/Initialize(mapload)
. = ..()
stored_files = list()
recalculate_size()
/obj/item/computer_hardware/hard_drive/portable/Destroy()
if(holder2 && (holder2.portable_drive == src))
holder2.portable_drive = null
return ..()