diff --git a/code/datums/status_effects/buffs.dm b/code/datums/status_effects/buffs.dm index 95d573a3d8283..7d8e81b5d5088 100644 --- a/code/datums/status_effects/buffs.dm +++ b/code/datums/status_effects/buffs.dm @@ -548,6 +548,7 @@ status_type = STATUS_EFFECT_REPLACE alert_type = /atom/movable/screen/alert/status_effect/regenerative_core var/power = 1 + var/duration_mod = 1 var/alreadyinfected = FALSE /datum/status_effect/regenerative_core/on_apply() @@ -557,10 +558,11 @@ alreadyinfected = TRUE ADD_TRAIT(owner, TRAIT_IGNOREDAMAGESLOWDOWN, "legion_core_trait") ADD_TRAIT(owner, TRAIT_NECROPOLIS_INFECTED, "legion_core_trait") - if(owner.z == 5) - power = 2 - owner.adjustBruteLoss(-50 * power) - owner.adjustFireLoss(-50 * power) + if(is_mining_level(owner.z)) + power = 5 + duration_mod = 2 + owner.adjustBruteLoss(-20 * power) + owner.adjustFireLoss(-20 * power) owner.cure_nearsighted() owner.ExtinguishMob() owner.fire_stacks = 0 @@ -572,7 +574,7 @@ var/mob/living/carbon/human/humi = owner humi.coretemperature = humi.get_body_temp_normal() owner.restoreEars() - duration = rand(150, 450) * power + duration = rand(150, 450) * duration_mod return TRUE /datum/status_effect/regenerative_core/on_remove() diff --git a/code/modules/mining/equipment/regenerative_core.dm b/code/modules/mining/equipment/regenerative_core.dm index 7f4a590afece6..e42ce4a9ce4c5 100644 --- a/code/modules/mining/equipment/regenerative_core.dm +++ b/code/modules/mining/equipment/regenerative_core.dm @@ -15,7 +15,9 @@ if(C.preserved) to_chat(user, "[M] is already stabilised.") return - + if(C.inert) + to_chat(user, "[M] is inert, it's not worth it to stabilize a nonfunctional one.") + return C.preserved() to_chat(user, "You inject [M] with the stabilizer. It will no longer go inert.") qdel(src) @@ -42,7 +44,6 @@ go_inert() /obj/item/organ/regenerative_core/proc/preserved(implanted = 0) - inert = FALSE preserved = TRUE update_icon() desc = "All that remains of a hivelord. It is preserved, allowing you to use it to heal completely without danger of decay."