Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a new tech node: basic xenology, and synthetic plasma vessels #10360

Merged
merged 3 commits into from
Nov 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions code/modules/mob/living/carbon/alien/organs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@
max_plasma = 100
alien_powers = list(/obj/effect/proc_holder/alien/transfer)

/obj/item/organ/alien/plasmavessel/synthetic
name = "synthetic plasma vessel"
icon_state = "plasma-c"
storedPlasma = 50
max_plasma = 100

/obj/item/organ/alien/plasmavessel/on_life()
//If there are alien weeds on the ground then heal if needed or give some plasma
if(locate(/obj/structure/alien/weeds) in owner.loc)
Expand Down
13 changes: 12 additions & 1 deletion code/modules/research/designs/medical_designs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,17 @@
category = list("Cybernetics", "Medical Designs")
departmental_flags = DEPARTMENTAL_FLAG_MEDICAL

/datum/design/synthetic_plasmavessel
name = "Synthetic Plasma Vessel"
desc = "A complex synthetic construct meant to replicate the effects of a plasma vessel"
id = "synthetic_plasmavessel"
build_type = PROTOLATHE
construction_time = 50
materials = list(/datum/material/iron = 1000, /datum/material/glass = 500, /datum/material/gold = 1250, /datum/material/plasma = 10000, /datum/material/diamond = 1000, /datum/material/bluespace = 2000)
build_path = /obj/item/organ/alien/plasmavessel/synthetic
category = list("Medical Designs")
departmental_flags = DEPARTMENTAL_FLAG_MEDICAL

/////////////////////
///Surgery Designs///
/////////////////////
Expand Down Expand Up @@ -696,4 +707,4 @@
desc = "An experimental surgical procedure that stimulates the growth of a Romerol tumor inside the patient's brain. Requires zombie powder or rezadone."
id = "surgery_zombie"
surgery = /datum/surgery/advanced/necrotic_revival
research_icon_state = "surgery_head"
research_icon_state = "surgery_head"
15 changes: 15 additions & 0 deletions code/modules/research/techweb/all_nodes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,21 @@
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500)
export_price = 5000

/datum/techweb_node/xenology
id = "xenology"
display_name = "Basic Xenology"
description = "Experimental research into replicating organs from the exotic species known commonly as \"xenos\""
prereq_ids = list("cyber_organs_upgraded", "exp_surgery")
design_ids = list("synthetic_plasmavessel")
boost_item_paths = list(/obj/item/weed_extract, /obj/item/xenos_claw, /obj/item/stack/sheet/xenochitin, /obj/item/organ/alien, /obj/item/organ/brain/alien)
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 5000)
export_price = 20000
hidden = TRUE

/datum/techweb_node/xenology/New() //this is faster and more readable than putting them all in
. = ..()
boost_item_paths |= typesof(/obj/item/organ/alien)

/////////////////////////Advanced Surgery/////////////////////////
/datum/techweb_node/imp_wt_surgery
id = "imp_wt_surgery"
Expand Down