mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Add two new IPC implants, an EMP resist and a Defensive implant (#30911)
* add two new IPC implants * make EMP resisted IPCs take less body damage but more organ damage * oops
This commit is contained in:
@@ -1049,7 +1049,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
|
||||
if(HAS_TRAIT(src, TRAIT_EMP_IMMUNE))
|
||||
return
|
||||
if(HAS_TRAIT(src, TRAIT_EMP_RESIST))
|
||||
severity = clamp(severity, EMP_LIGHT, EMP_WEAKENED)
|
||||
severity = clamp(severity, EMP_RESIST_ORGAN, EMP_WEAKENED)
|
||||
for(var/X in internal_organs)
|
||||
var/obj/item/organ/internal/O = X
|
||||
O.emp_act(severity)
|
||||
|
||||
@@ -273,7 +273,7 @@ emp_act
|
||||
if(HAS_TRAIT(src, TRAIT_EMP_IMMUNE))
|
||||
return
|
||||
if(HAS_TRAIT(src, TRAIT_EMP_RESIST))
|
||||
severity = clamp(severity, EMP_LIGHT, EMP_WEAKENED)
|
||||
severity = clamp(severity, EMP_RESIST_BODY, EMP_WEAKENED)
|
||||
for(var/X in bodyparts)
|
||||
var/obj/item/organ/external/L = X
|
||||
L.emp_act(severity)
|
||||
|
||||
Reference in New Issue
Block a user