From a2d6d4561c341a38c60287ea1f95fba79893a204 Mon Sep 17 00:00:00 2001 From: sarcoph <83266791+sarcoph@users.noreply.github.com> Date: Sat, 14 May 2022 02:39:06 -0800 Subject: [PATCH] makes ipc organs craftable --- code/modules/surgery/organs/stomach.dm | 2 +- .../research/designs/medical_designs.dm | 69 +++++++++++++++++++ tgstation.dme | 2 + 3 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 hyperstation/code/modules/research/designs/medical_designs.dm diff --git a/code/modules/surgery/organs/stomach.dm b/code/modules/surgery/organs/stomach.dm index a4f2041f0..1c45d5df6 100644 --- a/code/modules/surgery/organs/stomach.dm +++ b/code/modules/surgery/organs/stomach.dm @@ -122,7 +122,7 @@ /obj/item/organ/stomach/synthliz - name = "synthetic lizardperson stomach" + name = "synthliz stomach" icon_state = "stomach-ipc" // ipc power cell from oracle diff --git a/hyperstation/code/modules/research/designs/medical_designs.dm b/hyperstation/code/modules/research/designs/medical_designs.dm new file mode 100644 index 000000000..825bcd2a2 --- /dev/null +++ b/hyperstation/code/modules/research/designs/medical_designs.dm @@ -0,0 +1,69 @@ +/datum/design/ipc_liver + name = "IPC Reagent Processor" + id = "ipc_liver" + build_type = PROTOLATHE + materials = list(MAT_METAL = 2000, MAT_GLASS = 1000) + build_path = /obj/item/organ/liver/ipc + category = list("Medical Designs") + departmental_flags = DEPARTMENTAL_FLAG_MEDICAL + construction_time = 100 + +/datum/design/ipc_eyes + name = "IPC Eyes" + id = "ipc_eyes" + build_type = PROTOLATHE + materials = list(MAT_METAL = 1000, MAT_GLASS = 2000) + build_path = /obj/item/organ/eyes/ipc + category = list("Medical Designs") + departmental_flags = DEPARTMENTAL_FLAG_MEDICAL + construction_time = 100 + +/datum/design/ipc_tongue + name = "Positronic Voicebox" + id = "ipc_tongue" + build_type = PROTOLATHE + materials = list(MAT_METAL = 2000, MAT_GLASS = 1000) + build_path = /obj/item/organ/tongue/robot/ipc + category = list("Medical Designs") + departmental_flags = DEPARTMENTAL_FLAG_MEDICAL + construction_time = 100 + +/datum/design/ipc_stomach + name = "Micro-cell" + id = "ipc_stomach" + build_type = PROTOLATHE + materials = list(MAT_METAL = 2000, MAT_GLASS = 1000, MAT_PLASMA = 200) + build_path = /obj/item/organ/stomach/cell + category = list("Medical Designs") + departmental_flags = DEPARTMENTAL_FLAG_MEDICAL + construction_time = 100 + +/datum/design/synthliz_stomach + name = "Synthetic Lizardperson Stomach" + id = "synthliz_stomach" + build_type = PROTOLATHE + materials = list(MAT_METAL = 2000, MAT_GLASS = 1000) + build_path = /obj/item/organ/stomach/synthliz + category = list("Medical Designs") + departmental_flags = DEPARTMENTAL_FLAG_MEDICAL + construction_time = 100 + +/datum/design/power_cord + name = "IPC Power Cord" + id = "power_cord" + build_type = PROTOLATHE + materials = list(MAT_METAL = 2000, MAT_GLASS = 1000) + build_path = /obj/item/organ/cyberimp/arm/power_cord + category = list("Medical Designs") + departmental_flags = DEPARTMENTAL_FLAG_MEDICAL + construction_time = 100 + + +/datum/techweb_node/ipc_organs + id = "ipc_organs" + display_name = "IPC Parts" + description = "We have the technology to replace him." + prereq_ids = list("cyber_organs","robotics") + design_ids = list("ipc_liver", "ipc_eyes", "ipc_tongue", "ipc_stomach", "synthliz_stomach", "power_cord") + research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 1500) + export_price = 5000 diff --git a/tgstation.dme b/tgstation.dme index 749acf8a4..cb46d68cd 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -3185,6 +3185,7 @@ #include "hyperstation\code\modules\mob\living\status_indicators.dm" #include "hyperstation\code\modules\mob\living\carbon\carbon.dm" #include "hyperstation\code\modules\mob\living\carbon\human\cosmetic_part_handler.dm" +#include "hyperstation\code\modules\mob\living\carbon\human\species_types\ipc.dm" #include "hyperstation\code\modules\mob\living\silicon\robot\robot.dm" #include "hyperstation\code\modules\mob\living\silicon\robot\robot_modules.dm" #include "hyperstation\code\modules\mob\living\simple_animal\friendly\chicken_types.dm" @@ -3200,6 +3201,7 @@ #include "hyperstation\code\modules\reagents\chemistry\reagents\hydroponics_reactions.dm" #include "hyperstation\code\modules\reagents\chemistry\reagents\medicine_reagents.dm" #include "hyperstation\code\modules\reagents\chemistry\recipes\medicine.dm" +#include "hyperstation\code\modules\research\designs\medical_designs.dm" #include "hyperstation\code\modules\resize\resize_action.dm" #include "hyperstation\code\modules\resize\resizing.dm" #include "hyperstation\code\modules\resize\sizechems.dm"