From 97f42eeade1b559feacac6173f418f5cfbebbf7b Mon Sep 17 00:00:00 2001 From: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Date: Fri, 20 Mar 2020 03:40:46 -0400 Subject: [PATCH] =?UTF-8?q?Modular=20computers,=20in=20particular=20tablet?= =?UTF-8?q?s,=20now=20have=20export=20valu=E2=80=A6=20(#49952)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Modular Computer Part Exports * Couple value tweaks. --- code/modules/cargo/exports/parts.dm | 82 +++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/code/modules/cargo/exports/parts.dm b/code/modules/cargo/exports/parts.dm index e6fda5f6b10..2b0a1447b21 100644 --- a/code/modules/cargo/exports/parts.dm +++ b/code/modules/cargo/exports/parts.dm @@ -19,3 +19,85 @@ cost = 2000 unit_name = "deactivated alien deconstruction drone" export_types = list(/obj/item/deactivated_swarmer) + +//Computer Tablets and Parts +/datum/export/modular_part + cost = 15 + unit_name = "miscellaneous computer part" + export_types = list(/obj/item/computer_hardware) + include_subtypes = TRUE + +//Processors. + +/datum/export/modular_part/processor + cost = 40 + unit_name = "computer processor" + export_types = list(/obj/item/computer_hardware/processor_unit) + include_subtypes = FALSE + +/datum/export/modular_part/processor/photoic + cost = 100 + unit_name = "advanced computer processor" + export_types = list(/obj/item/computer_hardware/processor_unit) + include_subtypes = FALSE + +//Batteries. + +/datum/export/modular_part/battery + cost = 40 + unit_name = "computer power cell" + export_types = list(/obj/item/stock_parts/cell/computer/nano) + include_subtypes = FALSE + + +/datum/export/modular_part/battery + cost = 100 + unit_name = "upgraded computer power cell" + export_types = list(/obj/item/stock_parts/cell/computer/micro) + include_subtypes = FALSE + + +/datum/export/modular_part/battery/advanced + cost = 150 + unit_name = "advanced computer power cell" + export_types = list(/obj/item/stock_parts/cell/computer) + include_subtypes = FALSE + +//Hard Drives. + +/datum/export/modular_part/harddrive + cost = 10 + unit_name = "tiny computer harddrive" + export_types = list(/obj/item/computer_hardware/hard_drive/micro) + include_subtypes = TRUE + +/datum/export/modular_part/harddrive/small + cost = 50 + unit_name = "small computer harddrive" + export_types = list(/obj/item/computer_hardware/hard_drive/small) + include_subtypes = FALSE + +/datum/export/modular_part/harddrive/normal + cost = 80 + unit_name = "computer harddrive" + export_types = list(/obj/item/computer_hardware/hard_drive) + include_subtypes = FALSE + +//Networking/Card Parts +/datum/export/modular_part/networkcard + cost = 50 + unit_name = "computer network card" + export_types = list(/obj/item/computer_hardware/network_card) + include_subtypes = TRUE + +/datum/export/modular_part/idcard + cost = 20 + unit_name = "computer ID card slot" + export_types = list(/obj/item/computer_hardware/card_slot) + include_subtypes = TRUE + +/datum/export/modular_part/intellicard + cost = 40 + unit_name = "computer intellicard slot" + export_types = list(/obj/item/computer_hardware/ai_slot) + include_subtypes = TRUE