Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions code/modules/surgery/organs/augments_internal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/autosurgeon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions code/modules/uplink/uplink_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down