mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
[MIRROR] Adds basic cybernetic eyes to the medical protolathe/exofabricator (#3735)
* Adds basic cybernetic eyes to the medical protolathe/exofabricator (#57245) * Makes the basic cybereyes flash vulnerable, puts the equal to normal eyes in the cybernetic organ node, makes the normal cybereyes prone to fizzling upon being emp'd * Adds basic cybernetic eyes to the medical protolathe/exofabricator Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
This commit is contained in:
co-authored by
necromanceranne
parent
ad679bd5db
commit
537ac5e245
@@ -671,6 +671,23 @@
|
||||
category = list("Cybernetics", "Medical Designs")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_MEDICAL
|
||||
|
||||
/datum/design/cybernetic_eyes
|
||||
name = "Basic Cybernetic Eyes"
|
||||
desc = "A basic pair of cybernetic eyes."
|
||||
id = "cybernetic_eyes"
|
||||
build_type = PROTOLATHE | MECHFAB
|
||||
construction_time = 30
|
||||
materials = list(/datum/material/iron = 250, /datum/material/glass = 400)
|
||||
build_path = /obj/item/organ/eyes/robotic/basic
|
||||
category = list("Cybernetics", "Medical Designs")
|
||||
departmental_flags = DEPARTMENTAL_FLAG_MEDICAL
|
||||
|
||||
/datum/design/cybernetic_eyes/improved
|
||||
name = "Cybernetic Eyes"
|
||||
desc = "A pair of cybernetic eyes."
|
||||
id = "cybernetic_eyes_improved"
|
||||
build_path = /obj/item/organ/eyes/robotic
|
||||
|
||||
/////////////////////
|
||||
///Surgery Designs///
|
||||
/////////////////////
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
starting_node = TRUE
|
||||
display_name = "Basic Medical Equipment"
|
||||
description = "Basic medical tools and equipment."
|
||||
design_ids = list("cybernetic_liver", "cybernetic_heart", "cybernetic_lungs","cybernetic_stomach", "scalpel",
|
||||
design_ids = list("cybernetic_liver", "cybernetic_heart", "cybernetic_lungs","cybernetic_stomach", "cybernetic_eyes", "scalpel",
|
||||
"blood_filter", "circular_saw", "bonesetter", "surgicaldrill", "retractor", "cautery", "hemostat",
|
||||
"stethoscope", "surgical_drapes", "hospital_gown", "syringe", "plumbing_rcd", "beaker", "large_beaker", "xlarge_beaker",
|
||||
"dropper", "defibmountdefault", "surgical_tape", "portable_chem_mixer") //SKYRAT EDIT ADDITION: added "surgical_drapes"
|
||||
@@ -459,7 +459,7 @@
|
||||
display_name = "Cybernetic Organs"
|
||||
description = "We have the technology to rebuild him."
|
||||
prereq_ids = list("biotech")
|
||||
design_ids = list("cybernetic_ears", "cybernetic_heart_tier2", "cybernetic_liver_tier2", "cybernetic_lungs_tier2", "cybernetic_stomach_tier2")
|
||||
design_ids = list("cybernetic_ears", "cybernetic_heart_tier2", "cybernetic_liver_tier2", "cybernetic_lungs_tier2", "cybernetic_stomach_tier2", "cybernetic_eyes_improved")
|
||||
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 1000)
|
||||
|
||||
/datum/techweb_node/cyber_organs_upgraded
|
||||
|
||||
@@ -160,6 +160,22 @@
|
||||
to_chat(owner, "<span class='warning'>Static obfuscates your vision!</span>")
|
||||
owner.flash_act(visual = 1)
|
||||
|
||||
/obj/item/organ/eyes/robotic/basic
|
||||
name = "basic robotic eyes"
|
||||
desc = "A pair of basic cybernetic eyes that restore vision, but at some vulnerability to light."
|
||||
eye_color = "5500ff"
|
||||
flash_protect = FLASH_PROTECTION_SENSITIVE
|
||||
|
||||
/obj/item/organ/eyes/robotic/basic/emp_act(severity)
|
||||
. = ..()
|
||||
if(. & EMP_PROTECT_SELF)
|
||||
return
|
||||
if(prob(10 * severity))
|
||||
damage += 20 * severity
|
||||
to_chat(owner, "<span class='warning'>Your eyes start to fizzle in their sockets!</span>")
|
||||
do_sparks(2, TRUE, owner)
|
||||
owner.emote("scream")
|
||||
|
||||
/obj/item/organ/eyes/robotic/xray
|
||||
name = "\improper X-ray eyes"
|
||||
desc = "These cybernetic eyes will give you X-ray vision. Blinking is futile."
|
||||
|
||||
Reference in New Issue
Block a user