mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
flag split
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
/mob/living/carbon/human/adjustCloneLoss(var/amount)
|
||||
..()
|
||||
|
||||
if(species.flags & (NO_DNA_RAD))
|
||||
if(species.flags & (NO_DNA))
|
||||
cloneloss = 0
|
||||
return
|
||||
|
||||
|
||||
@@ -845,7 +845,7 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
|
||||
//the analgesic effect wears off slowly
|
||||
analgesic = max(0, analgesic - 1)
|
||||
|
||||
if(hallucination && !(species.flags & NO_DNA_RAD))
|
||||
if(hallucination)
|
||||
spawn()
|
||||
handle_hallucinations()
|
||||
|
||||
|
||||
@@ -496,7 +496,7 @@
|
||||
|
||||
passive_temp_gain = 10 //this should cause IPCs to stabilize at ~80 C in a 20 C environment.
|
||||
|
||||
flags = IS_WHITELISTED | NO_BREATHE | NO_SCAN | NO_BLOOD | NO_PAIN | NO_DNA_RAD | NO_POISON
|
||||
flags = IS_WHITELISTED | NO_BREATHE | NO_SCAN | NO_BLOOD | NO_PAIN | NO_DNA | NO_POISON | RADIMMUNE
|
||||
clothing_flags = HAS_SOCKS
|
||||
bodyflags = HAS_SKIN_COLOR
|
||||
dietflags = 0 //IPCs can't eat, so no diet
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
return 1
|
||||
|
||||
/mob/living/carbon/human/apply_effect(var/effect = 0, var/effecttype = STUN, var/blocked = 0, var/negate_armor = 0)
|
||||
if((effecttype == IRRADIATE) && (species.flags & NO_DNA_RAD))
|
||||
if((effecttype == IRRADIATE) && (species.flags & RADIMMUNE))
|
||||
return 0
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user