mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Might fix Vox blindness
This commit is contained in:
@@ -95,14 +95,14 @@ obj/var/phoronproof = 0
|
|||||||
return
|
return
|
||||||
|
|
||||||
//Burn skin if exposed.
|
//Burn skin if exposed.
|
||||||
if(vsc.plc.SKIN_BURNS)
|
if(vsc.plc.SKIN_BURNS && (species.breath_type != "phoron"))
|
||||||
if(!pl_head_protected() || !pl_suit_protected())
|
if(!pl_head_protected() || !pl_suit_protected())
|
||||||
burn_skin(0.75)
|
burn_skin(0.75)
|
||||||
if(prob(20)) src << "<span class='danger'>Your skin burns!</span>"
|
if(prob(20)) src << "<span class='danger'>Your skin burns!</span>"
|
||||||
updatehealth()
|
updatehealth()
|
||||||
|
|
||||||
//Burn eyes if exposed.
|
//Burn eyes if exposed.
|
||||||
if(vsc.plc.EYE_BURNS)
|
if(vsc.plc.EYE_BURNS && (species.breath_type != "phoron"))
|
||||||
if(!head)
|
if(!head)
|
||||||
if(!wear_mask)
|
if(!wear_mask)
|
||||||
burn_eyes()
|
burn_eyes()
|
||||||
@@ -118,22 +118,12 @@ obj/var/phoronproof = 0
|
|||||||
burn_eyes()
|
burn_eyes()
|
||||||
|
|
||||||
//Genetic Corruption
|
//Genetic Corruption
|
||||||
if(vsc.plc.GENETIC_CORRUPTION)
|
if(vsc.plc.GENETIC_CORRUPTION && (species.breath_type != "phoron"))
|
||||||
if(rand(1,10000) < vsc.plc.GENETIC_CORRUPTION)
|
if(rand(1,10000) < vsc.plc.GENETIC_CORRUPTION)
|
||||||
randmutb(src)
|
randmutb(src)
|
||||||
src << "<span class='danger'>High levels of toxins cause you to spontaneously mutate!</span>"
|
src << "<span class='danger'>High levels of toxins cause you to spontaneously mutate!</span>"
|
||||||
domutcheck(src,null)
|
domutcheck(src,null)
|
||||||
|
|
||||||
/mob/living/carbon/human/vox/pl_effects()
|
|
||||||
//Handles all the bad things phoron can do to Vox.
|
|
||||||
|
|
||||||
//Contamination
|
|
||||||
if(vsc.plc.CLOTH_CONTAMINATION) contaminate()
|
|
||||||
|
|
||||||
//Anything else requires them to not be dead.
|
|
||||||
if(stat >= 2)
|
|
||||||
return
|
|
||||||
|
|
||||||
/mob/living/carbon/human/proc/burn_eyes()
|
/mob/living/carbon/human/proc/burn_eyes()
|
||||||
var/obj/item/organ/internal/eyes/E = internal_organs_by_name[O_EYES]
|
var/obj/item/organ/internal/eyes/E = internal_organs_by_name[O_EYES]
|
||||||
if(E)
|
if(E)
|
||||||
|
|||||||
Reference in New Issue
Block a user