mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Adds RSG immune back to MODsuits that lost it (#25669)
* Adds RSG immune to Dsquad MODsuits * Updates string * Adds trait to Gamma MODsuits for Sec and Medical
This commit is contained in:
@@ -823,6 +823,9 @@
|
||||
if(HAS_TRAIT(src, TRAIT_PIERCEIMMUNE))
|
||||
. = FALSE
|
||||
|
||||
if(wear_suit && HAS_TRAIT(wear_suit, TRAIT_RSG_IMMUNE))
|
||||
return FALSE
|
||||
|
||||
var/obj/item/organ/external/affecting = get_organ(target_zone)
|
||||
var/fail_msg
|
||||
if(!affecting)
|
||||
@@ -831,8 +834,10 @@
|
||||
else if(affecting.is_robotic())
|
||||
. = FALSE
|
||||
fail_msg = "That limb is robotic."
|
||||
if(wear_suit && !HAS_TRAIT(wear_suit, TRAIT_PUNCTURE_IMMUNE) && piercing)
|
||||
|
||||
if(piercing)
|
||||
return TRUE
|
||||
|
||||
if(target_zone == "head")
|
||||
if((head?.flags & THICKMATERIAL) && !penetrate_thick)
|
||||
. = FALSE
|
||||
|
||||
Reference in New Issue
Block a user