mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Ports Cybernetic Ears (#13438)
* Ports Cybernetic Ears * gosh darn new lines
This commit is contained in:
@@ -398,6 +398,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
|
||||
organ_name = "right hand"
|
||||
if("eyes")
|
||||
organ_name = "eyes"
|
||||
if("ears")
|
||||
organ_name = "ears"
|
||||
if("heart")
|
||||
organ_name = "heart"
|
||||
if("lungs")
|
||||
@@ -1901,7 +1903,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
|
||||
rlimb_data[second_limb] = choice
|
||||
organ_data[second_limb] = "cyborg"
|
||||
if("organs")
|
||||
var/organ_name = input(user, "Which internal function do you want to change?") as null|anything in list("Eyes", "Heart", "Lungs", "Liver", "Kidneys")
|
||||
var/organ_name = input(user, "Which internal function do you want to change?") as null|anything in list("Eyes", "Ears", "Heart", "Lungs", "Liver", "Kidneys")
|
||||
if(!organ_name)
|
||||
return
|
||||
|
||||
@@ -1909,6 +1911,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
|
||||
switch(organ_name)
|
||||
if("Eyes")
|
||||
organ = "eyes"
|
||||
if("Ears")
|
||||
organ = "ears"
|
||||
if("Heart")
|
||||
organ = "heart"
|
||||
if("Lungs")
|
||||
|
||||
@@ -512,6 +512,17 @@
|
||||
build_path = /obj/item/organ/internal/eyes/cybernetic
|
||||
category = list("Medical")
|
||||
|
||||
/datum/design/cybernetic_ears
|
||||
name = "Cybernetic Ears"
|
||||
desc = "A cybernetic pair of ears"
|
||||
id = "cybernetic_ears"
|
||||
req_tech = list("biotech" = 4, "materials" = 4)
|
||||
build_type = PROTOLATHE | MECHFAB
|
||||
materials = list(MAT_METAL = 500, MAT_GLASS = 500)
|
||||
construction_time = 60
|
||||
build_path = /obj/item/organ/internal/ears/cybernetic
|
||||
category = list("Medical")
|
||||
|
||||
/datum/design/cybernetic_liver
|
||||
name = "Cybernetic Liver"
|
||||
desc = "A cybernetic liver"
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
/obj/item/organ/internal/ears/proc/RestoreEars()
|
||||
deaf = 0
|
||||
ear_damage = 0
|
||||
|
||||
|
||||
var/mob/living/carbon/C = owner
|
||||
if(istype(C) && C.disabilities & DEAF)
|
||||
deaf = 1
|
||||
@@ -66,3 +66,15 @@
|
||||
if(ears)
|
||||
ears.MinimumDeafTicks(value)
|
||||
|
||||
/obj/item/organ/internal/ears/cybernetic
|
||||
name = "cybernetic ears"
|
||||
icon_state = "ears-c"
|
||||
desc = "a basic cybernetic designed to mimic the operation of ears."
|
||||
origin_tech = "biotech=4"
|
||||
status = ORGAN_ROBOT
|
||||
|
||||
/obj/item/organ/internal/ears/cybernetic/emp_act(severity)
|
||||
if(emp_proof)
|
||||
return
|
||||
..()
|
||||
AdjustEarDamage(30, 120)
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
/obj/item/organ/internal/eyes/cybernetic
|
||||
name = "cybernetic eyes"
|
||||
icon_state = "eyes-prosthetic"
|
||||
icon_state = "eyes-c"
|
||||
desc = "An electronic device designed to mimic the functions of a pair of human eyes. It has no benefits over organic eyes, but is easy to produce."
|
||||
origin_tech = "biotech=4"
|
||||
status = ORGAN_ROBOT
|
||||
|
||||
Reference in New Issue
Block a user