Revert "Adds more customization to robotic internal organs (#12994)" (#13065)

This commit is contained in:
Matt Atlas
2022-02-02 19:46:57 +01:00
committed by GitHub
parent 567da024d0
commit 3225711e67
29 changed files with 60 additions and 121 deletions
+3 -21
View File
@@ -1,5 +1,4 @@
var/global/list/all_robolimbs = list()
var/global/list/internal_robolimbs = list()
var/global/list/chargen_robolimbs = list()
var/global/list/fabricator_robolimbs = list()
var/global/datum/robolimb/basic_robolimb
@@ -13,8 +12,6 @@ var/global/datum/robolimb/basic_robolimb
chargen_robolimbs[R.company] = R
if(R.fabricator_available)
fabricator_robolimbs[R.company] = R
if(R.allows_internal)
internal_robolimbs[R.company] = R
/datum/robolimb
var/company = "Unbranded" // Shown when selecting the limb.
@@ -42,9 +39,6 @@ var/global/datum/robolimb/basic_robolimb
var/brute_mod = 0.9 //how resistant is this mode to brute damage
var/burn_mod = 1.1 //how resistant is this mode to burn damage
var/fabricator_available = FALSE //if you can print this limb in the robotics fabricator
var/internal_organ_suffix = "prosthetic" //this is used to define the icon
var/list/allowed_internal_organs = list(BP_HEART, BP_EYES, BP_LUNGS, BP_LIVER, BP_KIDNEYS, BP_STOMACH)//what organs can be augmented by this brand
var/allows_internal = TRUE
/datum/robolimb/proc/malfunctioning_check()
return FALSE
@@ -55,7 +49,6 @@ var/global/datum/robolimb/basic_robolimb
icon = 'icons/mob/human_races/ipc/r_ind_bishop.dmi'
linked_frame = SPECIES_IPC_BISHOP
fabricator_available = TRUE
allows_internal = FALSE
/datum/robolimb/hesphaistos
company = PROSTHETIC_HI
@@ -63,7 +56,6 @@ var/global/datum/robolimb/basic_robolimb
icon = 'icons/mob/human_races/ipc/r_ind_hephaestus.dmi'
linked_frame = SPECIES_IPC_G2
fabricator_available = TRUE
allows_internal = FALSE
/datum/robolimb/zenghu
company = PROSTHETIC_ZH
@@ -71,7 +63,6 @@ var/global/datum/robolimb/basic_robolimb
icon = 'icons/mob/human_races/ipc/r_ind_zenghu.dmi'
linked_frame = SPECIES_IPC_ZENGHU
fabricator_available = TRUE
allows_internal = FALSE
/datum/robolimb/xion
company = PROSTHETIC_XMG
@@ -79,7 +70,6 @@ var/global/datum/robolimb/basic_robolimb
icon = 'icons/mob/human_races/ipc/r_ind_xion.dmi'
linked_frame = SPECIES_IPC_XION
fabricator_available = TRUE
allows_internal = FALSE
/datum/robolimb/ipc
company = PROSTHETIC_IPC
@@ -89,7 +79,6 @@ var/global/datum/robolimb/basic_robolimb
paintable = 1
linked_frame = SPECIES_IPC
fabricator_available = TRUE
allows_internal = FALSE
/datum/robolimb/industrial
company = PROSTHETIC_IND
@@ -98,14 +87,12 @@ var/global/datum/robolimb/basic_robolimb
unavailable_at_chargen = 1
linked_frame = SPECIES_IPC_G1
fabricator_available = TRUE
allows_internal = FALSE
/datum/robolimb/terminator
company = PROSTHETIC_HK
desc = "A ludicrously expensive and EMP shielded component, these types of limbs are best suited for highly specialized cyborgs."
icon = 'icons/mob/human_races/ipc/r_terminator.dmi'
unavailable_at_chargen = TRUE
allows_internal = FALSE
unavailable_at_chargen = 1
/datum/robolimb/human
company = PROSTHETIC_SYNTHSKIN
@@ -116,23 +103,19 @@ var/global/datum/robolimb/basic_robolimb
fabricator_available = TRUE
paintable = TRUE
lifelike = TRUE
allows_internal = FALSE
/datum/robolimb/autakh
company = PROSTHETIC_AUTAKH
desc = "This limb has been designed by the Aut'akh unathi sect."
icon = 'icons/mob/human_races/unathi/r_autakh.dmi'
species_can_use = list(SPECIES_UNATHI)
paintable = TRUE
allows_internal = FALSE
paintable = 1
/datum/robolimb/tesla
company = PROSTHETIC_TESLA
desc = "A limb designed to be used by the People's Republic of Adhomai Tesla Brigade. This civilian version is issued to disabled veterans and civilians."
icon = 'icons/mob/human_races/tajara/tesla_limbs.dmi'
species_can_use = list(SPECIES_TAJARA, SPECIES_TAJARA_ZHAN, SPECIES_TAJARA_MSAI)
internal_organ_suffix = "tesla"
allowed_internal_organs = list(BP_HEART, BP_EYES, BP_LUNGS, BP_LIVER, BP_KIDNEYS, BP_STOMACH, BP_APPENDIX)
/datum/robolimb/tesla/malfunctioning_check(var/mob/living/carbon/human/H)
var/obj/item/organ/internal/augment/tesla/T = H.internal_organs_by_name[BP_AUG_TESLA]
@@ -145,5 +128,4 @@ var/global/datum/robolimb/basic_robolimb
company = PROSTHETIC_VAURCA
desc = "This limb design is from old Sedantis, still manufactured by the Hives when providing maintenace to most of the basic Vaurcesian bioforms."
icon = 'icons/mob/human_races/vaurca/r_vaurcalimbs.dmi'
species_can_use = list(SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR)
allows_internal = FALSE
species_can_use = list(SPECIES_VAURCA_WORKER, SPECIES_VAURCA_WARRIOR)