From 16da38037d930611c9eee09a3bdc3f0191bc1219 Mon Sep 17 00:00:00 2001 From: Rykka Date: Fri, 21 Aug 2020 05:26:49 -0400 Subject: [PATCH] Fix incoming merge conflicts with PR #8757 NIF Heatsinks will preserve their behavior of preventing BASE heat increases, but will not be able to compensate for if your NEW heatsink component is damaged or disabled. Robolimb damage remains scalable as the conflict was simply taht the check was indented/nested underneath another. --- code/modules/mob/living/carbon/human/human_powers.dm | 10 +--------- code/modules/mob/living/carbon/human/life.dm | 12 +++--------- code/modules/organs/robolimbs.dm | 6 +----- 3 files changed, 5 insertions(+), 23 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_powers.dm b/code/modules/mob/living/carbon/human/human_powers.dm index 9ce0d7a2c1c..9a9cb2eca24 100644 --- a/code/modules/mob/living/carbon/human/human_powers.dm +++ b/code/modules/mob/living/carbon/human/human_powers.dm @@ -218,25 +218,17 @@ if(isSynthetic()) output += "Current Battery Charge: [nutrition]\n" -<<<<<<< HEAD - for(var/obj/item/organ/external/EO in organs) - if(EO.brute_dam || EO.burn_dam) - output += "[EO.name] - [EO.burn_dam + EO.brute_dam > EO.min_broken_damage ? "Heavy Damage" : "Light Damage"]\n" //VOREStation Edit - Makes robotic limb damage scalable - else - output += "[EO.name] - OK\n" -======= if(isSynthetic()) var/toxDam = getToxLoss() if(toxDam) output += "System Instability: [toxDam > 25 ? "Severe" : "Moderate"]. Seek charging station for cleanup.\n" else output += "System Instability: OK\n" ->>>>>>> 85d1338... FBP Internal Components (#7445) for(var/obj/item/organ/external/EO in organs) if(EO.robotic >= ORGAN_ASSISTED) if(EO.brute_dam || EO.burn_dam) - output += "[EO.name] - [EO.burn_dam + EO.brute_dam > ROBOLIMB_REPAIR_CAP ? "Heavy Damage" : "Light Damage"]\n" + output += "[EO.name] - [EO.burn_dam + EO.brute_dam > EO.min_broken_damage ? "Heavy Damage" : "Light Damage"]\n" //VOREStation Edit - Makes robotic limb damage scalable else output += "[EO.name] - OK\n" diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 13b0a1b218e..d621dbf72f6 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -784,19 +784,13 @@ if (species.body_temperature == null) return //this species doesn't have metabolic thermoregulation -<<<<<<< HEAD - // FBPs will overheat, prosthetic limbs are fine. - if(robobody_count) - if(!nif || !nif.flag_check(NIF_O_HEATSINKS,NIF_FLAGS_OTHER)) //VOREStation Edit - NIF heatsinks - bodytemperature += round(robobody_count*1.75) -======= // FBPs will overheat when alive, prosthetic limbs are fine. if(stat != DEAD && robobody_count) - bodytemperature += round(robobody_count*1.15) + if(!nif || !nif.flag_check(NIF_O_HEATSINKS,NIF_FLAGS_OTHER)) //VOREStation Edit - NIF heatsinks prevent the base heat increase per tick if installed. + bodytemperature += round(robobody_count*1.15) var/obj/item/organ/internal/robotic/heatsink/HS = internal_organs_by_name[O_HEATSINK] - if(!HS || HS.is_broken()) + if(!HS || HS.is_broken()) // However, NIF Heatsinks will not compensate for a core FBP component (your heatsink) being lost. bodytemperature += round(robobody_count*0.5) ->>>>>>> 85d1338... FBP Internal Components (#7445) var/body_temperature_difference = species.body_temperature - bodytemperature diff --git a/code/modules/organs/robolimbs.dm b/code/modules/organs/robolimbs.dm index 82f77eb229f..c8c2b5c6a28 100644 --- a/code/modules/organs/robolimbs.dm +++ b/code/modules/organs/robolimbs.dm @@ -51,12 +51,8 @@ var/const/standard_monitor_styles = "blank=ipc_blank;\ var/skin_tone // If set, applies skin tone rather than part color Overrides color. var/skin_color // If set, applies skin color rather than part color. var/blood_color = "#030303" -<<<<<<< HEAD - var/list/species_cannot_use = list(SPECIES_TESHARI, SPECIES_PROMETHEAN, SPECIES_DIONA, SPECIES_XENOCHIMERA) //VOREStation Edit -======= var/blood_name = "oil" - var/list/species_cannot_use = list(SPECIES_TESHARI, SPECIES_PROMETHEAN, SPECIES_DIONA) ->>>>>>> 85d1338... FBP Internal Components (#7445) + var/list/species_cannot_use = list(SPECIES_TESHARI, SPECIES_PROMETHEAN, SPECIES_DIONA, SPECIES_XENOCHIMERA) //VOREStation Edit var/list/species_alternates = list(SPECIES_TAJ = "Unbranded - Tajaran", SPECIES_UNATHI = "Unbranded - Unathi") //"Species Name" = "Robolimb Company" , List, when initialized, will become "Species Name" = RobolimbDatum, used for alternate species sprites. var/list/monitor_styles //If empty, the model of limbs offers a head compatible with monitors. var/parts = BP_ALL //Defines what parts said brand can replace on a body.