diff --git a/code/modules/surgery/organs/augments_internal.dm b/code/modules/surgery/organs/augments_internal.dm index c8309b104e89..ea25c2c22dda 100644 --- a/code/modules/surgery/organs/augments_internal.dm +++ b/code/modules/surgery/organs/augments_internal.dm @@ -143,6 +143,30 @@ clear_stuns() organ_flags &= ~ORGAN_FAILING +/obj/item/organ/cyberimp/brain/anti_stun/syndicate + name = "syndicate CNS rebooter implant" + desc = "This implant will automatically give you back control over your central nervous system, reducing downtime when stunned." + syndicate_implant = TRUE + stun_cap_amount = 3 SECONDS + +/obj/item/organ/cyberimp/brain/anti_stun/syndicate/Insert() + ..() + if(ishuman(owner)) + var/mob/living/carbon/human/H = owner + H.physiology.stamina_mod *= 0.8 + H.physiology.stun_mod *= 0.8 + +/obj/item/organ/cyberimp/brain/anti_stun/syndicate/Remove(mob/living/carbon/M, special) + . = ..() + if(ishuman(M)) + var/mob/living/carbon/human/H = owner + H.physiology.stamina_mod *= 1.25 + H.physiology.stun_mod *= 1.25 + +/obj/item/organ/cyberimp/brain/anti_stun/syndicate/on_life() + ..() // makes stamina damage decay over time + owner.adjustStaminaLoss(owner.getStaminaLoss() / -10) + //[[[[MOUTH]]]] /obj/item/organ/cyberimp/mouth zone = BODY_ZONE_PRECISE_MOUTH diff --git a/code/modules/surgery/organs/autosurgeon.dm b/code/modules/surgery/organs/autosurgeon.dm index e20965ff34c8..fb71e867a8d7 100644 --- a/code/modules/surgery/organs/autosurgeon.dm +++ b/code/modules/surgery/organs/autosurgeon.dm @@ -118,7 +118,7 @@ starting_organ = /obj/item/organ/eyes/robotic/xray/syndicate /obj/item/autosurgeon/anti_stun - starting_organ = /obj/item/organ/cyberimp/brain/anti_stun + starting_organ = /obj/item/organ/cyberimp/brain/anti_stun/syndicate /obj/item/autosurgeon/reviver starting_organ = /obj/item/organ/cyberimp/chest/reviver diff --git a/code/modules/uplink/uplink_items.dm b/code/modules/uplink/uplink_items.dm index a8131bbce830..121d61b161fc 100644 --- a/code/modules/uplink/uplink_items.dm +++ b/code/modules/uplink/uplink_items.dm @@ -1954,10 +1954,12 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item)) player_minimum = 25 /datum/uplink_item/implants/antistun - name = "CNS Rebooter Implant" - desc = "This implant will help you get back up on your feet faster after being stunned. Comes with an autosurgeon." + name = "Upgraded CNS Rebooter Implant" + desc = "This implant will help you get back up on your feet faster after being stunned. \ + This version is modified to help reduce exhaustion during combat. \ + Comes with an autosurgeon." item = /obj/item/autosurgeon/anti_stun - cost = 12 + cost = 8 surplus = 0 /datum/uplink_item/implants/freedom