mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Adds EMP weakness to welding shield eyes (#22928)
* malicious ontological theological horticulture * Update code/modules/surgery/organs/eyes.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Fixes CI + undefines defines --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
co-authored by
Contrabang
DGamerL
parent
8e6defe682
commit
4bde2cf18d
@@ -112,6 +112,7 @@
|
||||
desc = "An electronic device designed to mimic the functions of a pair of human eyes. It has no benefits over organic eyes, but is easy to produce."
|
||||
origin_tech = "biotech=4"
|
||||
status = ORGAN_ROBOT
|
||||
var/flash_intensity = 1
|
||||
|
||||
/obj/item/organ/internal/eyes/cybernetic/emp_act(severity)
|
||||
if(!owner || emp_proof)
|
||||
@@ -119,7 +120,7 @@
|
||||
if(prob(10 * severity))
|
||||
return
|
||||
to_chat(owner, "<span class='warning'>Static obfuscates your vision!</span>")
|
||||
owner.flash_eyes(visual = TRUE)
|
||||
owner.flash_eyes(flash_intensity, visual = TRUE)
|
||||
..()
|
||||
|
||||
/obj/item/organ/internal/eyes/cybernetic/meson
|
||||
@@ -204,9 +205,7 @@
|
||||
flash_protect = FLASH_PROTECTION_WELDER
|
||||
eye_color = "#101010"
|
||||
origin_tech = "materials=4;biotech=3;engineering=4;plasmatech=3"
|
||||
|
||||
/obj/item/organ/internal/eyes/cybernetic/shield/emp_act(severity)
|
||||
return
|
||||
flash_intensity = 3
|
||||
|
||||
#define INTACT 0
|
||||
#define ONE_SHATTERED 1
|
||||
@@ -358,3 +357,7 @@
|
||||
icon_state = "shield_reversed"
|
||||
duration = 2 SECONDS
|
||||
invisibility = INVISIBILITY_LEVEL_TWO
|
||||
|
||||
#undef INTACT
|
||||
#undef ONE_SHATTERED
|
||||
#undef BOTH_SHATTERED
|
||||
|
||||
Reference in New Issue
Block a user