diff --git a/code/__DEFINES/DNA.dm b/code/__DEFINES/DNA.dm index 05338f347020..09dd47d220e2 100644 --- a/code/__DEFINES/DNA.dm +++ b/code/__DEFINES/DNA.dm @@ -203,6 +203,8 @@ //implants #define ORGAN_SLOT_BRAIN_IMPLANT "brain_implant" +#define ORGAN_SLOT_NEURALWARE "neuralware" //dripstation edit +#define ORGAN_SLOT_BATTERY "battery" //dripstation edit #define ORGAN_SLOT_HUD "eye_hud" #define ORGAN_SLOT_BREATHING_TUBE "breathing_tube" #define ORGAN_SLOT_TORSO_IMPLANT "torso_implant" diff --git a/modular_dripstation/code/modules/surgery/organs/augments_arms.dm b/modular_dripstation/code/modules/surgery/organs/augments_arms.dm index cd4bd5b81318..54ff5ea6df1a 100644 --- a/modular_dripstation/code/modules/surgery/organs/augments_arms.dm +++ b/modular_dripstation/code/modules/surgery/organs/augments_arms.dm @@ -46,10 +46,10 @@ /obj/item/organ/cyberimp/arm/flash icon = "modular_dripstation/icons/obj/augments.dmi" - icon_state = "flash" + icon_state = "arm_flash" -/obj/item/assembly/flash/armimplant - icon = "modular_dripstation/icons/obj/augments.dmi" +/obj/item/organ/cyberimp/arm/flash/rev + icon_state = "arm_revflash" /obj/item/organ/cyberimp/arm/baton icon = "modular_dripstation/icons/obj/augments.dmi" diff --git a/modular_dripstation/code/modules/surgery/organs/augments_internal.dm b/modular_dripstation/code/modules/surgery/organs/augments_internal.dm new file mode 100644 index 000000000000..ab768a0a376b --- /dev/null +++ b/modular_dripstation/code/modules/surgery/organs/augments_internal.dm @@ -0,0 +1,31 @@ + +/obj/item/organ/cyberimp + var/status = FALSE + var/complexyty = 1 + + +//[[[[NEURAL]]]] + +/obj/item/organ/cyberimp/neural_link + name = "basic neural link" + desc = "Neural link is critical for linking cybernetics to the central nervous system. Uses nanotech to establish an interface between the module and the nervous system in the body." + icon_state = "brain_implant" + implant_overlay = "brain_implant_overlay" + slot = ORGAN_SLOT_NEURALWARE + zone = BODY_ZONE_HEAD + w_class = WEIGHT_CLASS_TINY + complexyty = 0 + var/complexyty_holding = 5 + +/obj/item/organ/cyberimp/neural_link/emp_act(severity) + . = ..() + if(!owner || . & EMP_PROTECT_SELF) + return + switch severity + if(1) + owner.apply_damage(10, STAMINA) + owner.adjust_confusion(rand(2 SECONDS, 3 SECONDS)) + if(2) + owner.flash_act() + owner.apply_damage(20, STAMINA) + owner.adjust_confusion(rand(4 SECONDS, 6 SECONDS))