forked from yogstation13/Yogstation
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
modular_dripstation/code/modules/surgery/organs/augments_internal.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)) |